You can create triggers that automatically add public comments and internal notes to tickets.
Public comments can deflect tickets without requiring agent intervention. Internal notes can provide agents with helpful process reminders or other information. Either way, your support team saves time and effort.
This article contains the following topics:
- Adding a public comment to a ticket using a trigger
- Adding an internal note to a ticket using a trigger
Adding a public comment to a ticket using a trigger
You can create a trigger that automatically adds a public comment to a submitted ticket that meets certain conditions. If the Notify requester and CCs of comment update standard trigger is activated, the requester and any CCs are notified of the comment via email.
In the example below, the trigger is configured to look for an intent predicted by intelligent triage. For tickets that have an easily solvable intent, you can create an automatic reply that directs the requester to the appropriate self-service resources to resolve the issue themselves.
To add a public comment using a trigger
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click Add trigger.
- In Trigger name, enter a name for the trigger (such as Automatic reply for <situation>, customized with relevant details of your trigger).
- (Optional) Enter a Description for your trigger.
- (Optional) Select a Category for your trigger.
- In the Conditions pane, under Meet ALL of the following conditions, add the following conditions:
- Status | Is | New
- Intent | Is | <select the intent you want the trigger to be based on>
- Tags | Contains none of the following | triage_trigger_fired
- Agent replies | Less than | 1
- Intent confidence | Is | High
- Under Meet ANY of the following conditions, add the following conditions:
- Channel | Is | <select the channel you want the trigger to work on>
- Repeat the condition above for additional channels
Tip: These conditions ensure that autoreplies apply only to tickets created through certain channels. For example, you might not want autoreplies to apply to messaging tickets, which are created when a user requests to speak with an agent.
- In the Actions pane, add the following actions:
- Add tags | triage_trigger_fired
- Autoreply
- Fill in the Reply body according to the specific situation you’re building the trigger for.
- Click Create.
The triage_trigger_fired tag helps ensure that your trigger runs only once on each ticket. The trigger adds the tag the first time it runs, and after that, the presence of the tag prevents the trigger from running again. The Agent replies condition performs a similar function. In the event that the tag is accidentally deleted, this condition prevents the trigger from running on a ticket on which an agent has already replied.
Adding an internal note to a ticket using a trigger
You can create a trigger that automatically adds an internal note to a submitted ticket that meets certain conditions.
In the example below, the trigger is configured to look for a sentiment predicted by intelligent triage. For tickets that have a negative sentiment, you can add an internal note that gives the agent information about handling or escalating delicate customer service situations.
To add an internal note using a trigger
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click Add trigger.
- In Trigger name, enter a name for the trigger (such as Automatic reply for <situation>, customized with relevant details of your trigger).
- (Optional) Enter a Description for your trigger.
- (Optional) Select a Category for your trigger.
- In the Conditions pane, under Meet ALL of the following conditions, add the following conditions:
- Status | Is | New
- Intent | Is | <select the intent you want the trigger to be based on>
- Tags | Contains none of the following | triage_trigger_fired
- Agent replies | Less than | 1
- Intent confidence | Is | High
- Under Meet ANY of the following conditions, add the following conditions:
- Channel | Is | <select the channel you want the trigger to work on>
- Repeat the condition above for additional channels
- In the Actions pane, add the following actions:
- Add tags | triage_trigger_fired
- Internal note
- Fill in the Reply body according to the specific situation you’re building the trigger for.
- Click Create.