Interaction wrap up gives a customer service agent a short, configurable window after a conversation ends. The interaction record sits in the Wrap Up state during that window while the agent finishes notes and, where codes are enabled, picks a wrap-up code. An administrator sets the duration, the codes and whether the system ends the window automatically.
How a wrap-up period starts and ends
Wrap up begins when either the agent or the customer ends the conversation. The system moves the interaction from Work in Progress to Wrap Up and starts a countdown for the wrap-up duration. The pause gives the agent room to finish what a conversation leaves behind, such as posting work notes or correcting fields on the record, before the next item arrives.
The base system supports chat and messaging, and the feature applies to all interaction types. Agents need the interaction agent role, named interaction_agent, although the service management agent role, sn_esm_agent, already contains it. While a record is in Wrap Up, the agent’s capacity is not reduced. For the roles behind these steps, see the roles and RACI guide.
There are three ways out of Wrap Up. The agent can select End Wrap Up on the record. The agent can also close the record tab, which ends the wrap-up period, moves the record to Closed Complete and shows a confirming message. The third route is automatic. When the Enforce wrap up duration setting is enabled, the system ends the period when the countdown reaches zero and sets the System wrap up field to True. Automatic ending does not remove the manual route, because agents can still end the period by hand.
Closing a tab behaves differently depending on state. If the record is still in Work in Progress, closing the tab skips wrap up and moves the record straight to Closed Complete. Anyone training agents should describe both cases, because the same action produces two different outcomes.
Configuring codes, duration and the countdown
Wrap up is configured one interaction type at a time. An administrator opens All > Interactions > Wrap Up Configuration and selects New, and each configuration is stored in the interaction_wrap_up_configuration table. Creating a configuration automatically enables the feature and adds the Wrap Up state to the State field of the matching records. For the wider setup around this feature, the customer service management guides show how the pieces fit together. The Order value, which defaults to 100, decides precedence when several configurations match, and the lower number wins. Matching uses a condition builder, so a condition such as Type is Chat limits a configuration to chat interactions.
The Duration section holds Enforce wrap up duration and Show duration to agent, and both default to false. Enabling the first reveals the Duration in seconds field, which defaults to 60 and must be greater than zero. Enabling the second lets the agent see a countdown, and that display is available in CRM Workspace.
Codes are created from All > Interaction > Wrap Up Codes. Each code has a name, a description, an application that defaults to CSM and FSM Configurable Workspace Foundation, and an Active flag that defaults to true. Creating a code does not make it appear for agents. In the configuration’s Codes section, the administrator enables Enable wrap up codes, moves the chosen codes from Available to Selected in Allowed wrap up codes, and sets a Default wrap up code. The default is the code used when the agent makes no selection before time runs out, so it should describe an outcome the team is comfortable recording without the agent’s input. For go-live checks, see the testing and acceptance checklist.
The timer starts when wrap up begins. When codes are enabled it sits inside the modeless dialog. Otherwise it appears in the record’s secondary values, either in the form header or in the contextual side panel. It is read-only, and its color changes as time runs down. It turns green while between 100 and 50 percent of the duration remains, yellow between 50 and 25 percent, and orange between 25 percent and zero. At 0.00 it turns red, disappears, and the record moves to Closed Complete. For the measures teams track alongside wrap-up time, see the KPI and metrics guide.
The modeless dialog and transfers
With codes enabled, the system displays a modeless dialog when the agent ends the interaction. The dialog holds the timer where it is configured, the wrap-up code and a notes field. Selecting Submit & close stores the data in a segment record and moves the interaction to Closed Complete. If time runs out first, the dialog closes and saves the default code with no notes.
Other agent actions affect the countdown. Starting an outbound conversation during wrap up, or changing the agent’s status, ends the countdown and closes the dialog. Logging out does not stop the clock. The wrap-up time keeps running, and if the agent does not log back in before the period ends, the system closes the wrap-up. Closing the interaction while it is still in wrap up raises a warning, and if the agent goes ahead the system submits the default code.
Transfers need attention. When a call moves from one agent to another, each agent’s wrap-up begins at the moment that agent leaves the call. This applies to warm and cold transfers alike. Calls that do not connect do not start a wrap-up. A caller who cancels an inbound call before an agent answers, or an agent who cancels an outbound call, produces no wrap-up.
Because each agent completes a separate wrap-up, the data is kept in the Interaction Wrap Up Segment table, named interaction_wrap_up_segment. Segments make several wrap-ups per interaction possible, and customer and consumer agents have read access to the table. Agents can review their own wrap-ups in the My Wrap Ups list, reached under Interactions > My Wrap Ups. Each row links back to the interaction and shows whether the wrap-up is in progress or complete, along with its code and notes.
Controllers, the fallback job and AI content
For the page setup side, see the UI Builder and workspaces guides. Two controllers exist for wrap up. The Interaction UI controller is the original and carries the legacy behavior. The Wrap up controller includes the codes and the modeless dialog. The CSM Interaction and CSM Voice interaction record pages expose an input property called disableLegacyWrapUpLogic. It defaults to false, which keeps existing behavior and avoids clashes with custom logic on upgraded instances. Setting it to true moves the page onto the new wrap-up functionality, and the property is edited in UI Builder under the CRM Workspace experience.
A fallback scheduled job, named Fallback Timeout for Interactions in Wrap Up, closes any record that stays in the Wrap Up state longer than the Max Wrap Up property, com.glide.interaction.max_wrapup_duration. That property defaults to 15 minutes and must be greater than the Enforce wrap up duration value. The job runs at five-minute intervals by default, and the interval can be changed. The job is inactive by default, so it has to be switched on. It becomes important where the duration is not enforced and an agent closes the browser, since that record would otherwise stay in Wrap Up.
The AI interaction wrap-up feature proposes a wrap-up code and drafts notes from the text of the conversation, and the agent reviews both before submitting. It depends on the Wrap Up Completion skill, which is switched on through a separate ServiceNow Otto topic. The AI section of the configuration offers Enable AI code, Enable AI notes and Use AI code as default. The last option substitutes the AI recommendation for the default code when the timer expires.
AI-filled fields carry a sparkle icon that disappears once the agent edits the field. If the agent types notes before generation finishes, that text is kept and the generated notes follow it. The Insert AI notes button appends notes that were already generated, and it does not regenerate them. The system property that controls automatic generation defaults to true. Setting it to false makes generation manual, and the dialog then shows a button the agent presses to start it. If content fails to load, the dialog shows GenAI content unavailable. Please complete manually.
Frequently asked questions
What is saved if an agent does not submit the dialog?
The system closes the dialog and saves the default code with no notes, and the record moves to Closed Complete. The default code therefore stands in for the agent’s decision, so it should be one that reads accurately on a report.
Does wrap up reduce an agent’s capacity?
Capacity is not reduced while the record stays in Wrap Up. The record leaves that state when it reaches Closed Complete.
Why does a record still show Wrap Up after the window should have ended?
One cause is a configuration that does not enforce the duration, combined with an agent who closed the browser instead of the record. Activating the fallback scheduled job and checking that the Max Wrap Up property is higher than the enforced duration addresses that case. For a wider set of fault checks, see the troubleshooting guide.
Is AI needed to use wrap-up codes?
No. Agents choose from the configured list, and the AI options are separate settings that can be turned on for the code, the notes or both.