Setting Up Ad Hoc Message Communication Generator

Use the Ad Hoc Message Communication Generator to let agency staff generate draft text for ad hoc emails and notifications. Staff enter prompt text on the New ad hoc message page for a transaction and review the generated response, inserting the text into the message body when appropriate.

The AI Assist button can be configured for ad hoc draft messages in these areas:

  • Permits

  • Planning and Zoning

  • Business Licenses and location

  • Code Enforcement cases and incidents

  • Code Enforcement incidents

The generated message is a draft. Agency staff should review and revise the text before sending the communication.

Setup Overview

Let's take a look at setting up the Ad Hoc Message Communication Generator:

  1. Enable AI functionality for each applicable offering.

  2. Complete AI agent security setup.

  3. Copy and publish the delivered Ad Hoc Message Communication Generator template in AI Agent Studio.

  4. Update the applicable communication page in Visual Builder Studio.

  5. Configure the AI agent constant for each offering or area.

Configuring the AI Agent Constant

Use the applicable AI agent constant for each offering or area where the AI Assist button should appear.

Offering or Area

Fragment

AI Agent Constant

Permits

psc-communication-list

COMMUNICATION_MESSAGE_PMT_AGENT

Planning and Zoning

psc-communication-list

COMMUNICATION_MESSAGE_PZ_AGENT

Business Licenses

psc-communication-list

COMMUNICATION_MESSAGE_LIC_AGENT

Code Enforcement case

psc-communication-list

COMMUNICATION_MESSAGE_CE_CASE_AGENT

Code Enforcement incident

psc-communication-list

COMMUNICATION_MESSAGE_CE_INCIDENT_AGENT

Business Entity Location

psc-business-entity-location

COMMUNICATION_MESSAGE_AI_AGENT

For each constant, confirm that:

  • The agent is set to show on the page.

  • The constant uses the agent code or agent team code for the copied and published agency-specific agent.

  • Any required page context parameters are retained.

Configure each offering or area separately. For example, enabling the generator for Permits doesn’t automatically enable it for Planning and Zoning, Business Licenses, Code Enforcement cases, Code Enforcement incidents, or Business Entity Location.