Configure Copilot for Agents for Email Generation

This feature supports both Copilot for Agents and Copilot Automated Summary (AutoSummary). The term Copilot for Agents is sometimes used to refer to both unless noted otherwise.

You can use NiCE CXone GenAI Prompts to control the prompt that Copilot for Agents uses to generate email responses. After identifying the topics in an email interaction, Copilot for Agents gathers relevant information from knowledge articles for each topic. It then uses the Email Generation prompt to combine this information into a clear, cohesive response that the agent can review and send to the customer.

This lets you control the language, structure, tone, and other instructions applied to the generated email response.

After you complete the prompt configuration, you can then publish the prompt to make it available for selection within the Copilot for Agents profile on the Copilot for Agents Config page.

All users can now open the LLM Model dropdown. Users with an Prompt Editor Advanced license can select any model in the list; other users are limited to standard models. The list itself is grouped by standard and premium models, with models verified by NiCE CXone shown first and the rest listed alphabetically.

NiCE Default is available as an LLM Model option. It represents the model NiCE CXone currently recommends for that specific prompt type. If a prompt template only supports one model, NiCE Default is the only option shown and the dropdown is disabled. If a template supports multiple models, NiCE Default appears alongside them as a selectable choice.

If the LLM model currently selected for a profile is scheduled for retirement, NiCE CXone displays a warning next to the LLM Model dropdown stating that the model will retire in a set number of days and prompting you to update to a supported model.

When a model you use is closer to its retirement date, NiCE CXone also displays an LLM Update dialog when you open the affected profile. The dialog states the date the model switches to retention mode, after which the model is no longer accessible, and reminds you to update the LLM and test and publish all affected profiles before that date. Select Don't show this message again to suppress the dialog for that profile, or click OK to close it.

If a model reaches its retirement date and you have not selected a different model, NiCE CXone automatically switches the profile to NiCE Default. Test and publish the profile after this switch to confirm the output still meets your requirements.

Complete each of these tasks in the order given.

Launch GenAI Prompts

  1. Click the app selector icon of app selector .

  2. Under General, select AI Studio.

  3. In the AI Studio left navigation, select GenAI Prompts.

Create Prompt Profile

Required permissionsLaunch GenAI Prompts, Prompt Access Edit

You will also need a license for NiCE CXone Copilot for Agents and the email response feature enabled.

Each flow comes with one default profile. You can create a custom prompt profile either by using a blank form or by copying an existing prompt and making edits. As you're working in the profile, it automatically saves for you only. Others cannot see the new profile, or edits you're making to an existing profile, until you click Publish Prompt. Profiles are also unavailable to select as the live prompt until they have been published.

If you create a new profile but don't publish it within 30 days of the most recent edit, the profile settings on the Prompt Configuration tab revert to their defaults. If you edit an existing profile but don't publish within 30 days of the most recent edit, changes on the Prompt Configuration tab revert to the settings specified in the latest published version.

  1. In the Profiles tree expand Copilot for AgentsEmail Generation.
  2. Create a new, blank profile. To do so, click the plus icon Icon: a plus sign next to the Email Generation group. The new profile appears at the bottom of the list.

  3. Duplicate an existing profile.  

    1. Click the stacked dots icon next to the existing profile you want to copy and select Duplicate.

    2. Rename the copy by locating it at the bottom of the profiles list, clicking the stacked dots icon , and selecting Rename. Enter the new name for the profile and click the check mark to save it.

  4. On the Prompt Configuration tab, adjust the values for these fields as needed:

    • What is the language for the generated response?

    • What are the custom instructions for the generated response?

  5. GenAI Prompts Field Length Limits

    GenAI Prompts fields support two types of text inputs. Each type has a defined maximum length.

    field type

    Maximum length

    Free text fields (for example, labels, persona descriptions) 200 characters
    Text area fields (for example, instructions, long prompts) 10,000 characters

    The type of field used depends on the prompt configuration.

    • Free text fields are used for short inputs such as:

      • Agent label

      • Customer label

      • Persona description

    • Text area fields are used for longer inputs such as:

      • Instructions

      • Custom prompts

    GenAI Prompts dynamically displays the appropriate field type based on the prompt configuration.

    The user interface displays a warning only when the maximum length is exceeded. To avoid errors, ensure your inputs stay within the supported limits.

  6. About GenAI Prompts response length behavior

    Large language models (LLMs) attempt to follow instructions to limit the length of their responses. However, the actual output can sometimes be slightly longer or shorter than requested. This behavior is expected and is not specific to a single model or feature. It occurs because:

    • Word counts: LLMs generate text based on tokens, not exact word counts. The mapping between tokens and words is approximate.

    • Natural language generation: The model prioritizes coherent, natural sentences. In some cases, completing a sentence or thought may exceed the requested length range.

    • Complex prompts or topics: When the interaction is complex, the model may use more words to include required details, even when asked to keep the response brief.

    What to expect

    • The selected maximum length (for example, Short, Medium, Long) is treated as guidance, not a hard limit.

    • Minor variation around the selected range is normal.

    • Variance may be most noticeable when using shorter length options, because a few extra words make a larger percentage difference.

    Recommendations

    • Use shorter length options when you want concise, high-level summaries.

    • If Agent Workspace (Agent) or Supervisor Workspace (Supervisor) require more detail, select a longer length option and adjust instructions to specify what must be included or excluded.

    • Periodically review generated summaries with your agents and supervisors and refine the prompt configuration (instructions, tone, and length) as needed.

Publish the Prompt

Required permissionsLaunch GenAI Prompts, Prompt Access Edit

After configuring the prompt, click Publish Prompt. Publishing the prompt makes it available both for others to see and for selection in Copilot for Agents profiles.

Select the Prompt in Copilot for Agents

Once you have published the prompt profile, you can select it in the Copilot for Agents Config page profile.

  1. Click the app selector icon of app selector and select General.
  2. From the left menu, navigate to AI StudioProfiles.
  3. From the list of Copilot profiles on the left, select the Copilot for Agents profile you want to apply the email generation prompt profile to. If you don't have one yet, click Add Copilot Profile and follow these instructions to create one.
  4. On the Knowledge tab, scroll down to the Email Generation section and turn on Email Generation. From the Email Generation Profile drop-down, select the prompt profile you want to use.
  5. Click Save.