AI and SweetHawk apps give you the flexibility to build workflows around your business requirements. Whether you want to create tasks, manage approvals, control SLA timers, schedule reminders, or connect several processes together, you can use AI to understand what’s needed and SweetHawk apps to carry out the work.
Any AI, such as a Zendesk custom agent, can review a ticket, perform actions, and populate ticket fields. An action flow can then use those values with the SweetHawk connector to run the relevant app actions.
This article explores three examples:
- Creating dynamic tasks from sales action points
- Starting or swapping SLA timers based on AI priority
- Setting reminders for promises made to customers
These are just starting points. The same approach lets you build your own flows for any requirement, using the actions available across the SweetHawk apps.
Before you begin
- Connect SweetHawk to Zendesk Action Builder by following our guide: Connect SweetHawk to Zendesk Action Builder
- You’ll also need an AI configured to review tickets and update the relevant ticket fields. For example, Zendesk custom agents can review ticket conversations, extract information, and update a ticket’s priority or custom fields. See more on how to do this in the examples below.
How AI connects to SweetHawk
Ticket fields provide the connection between the AI’s assessment and your SweetHawk workflow.
For example, an AI could identify a follow-up commitment in a conversation and populate fields with the reminder name, date, and time. Your action flow can then use those values to start a reminder.
The general process is:
- A ticket is received or updated.
- The AI reviews the conversation and performs any configured ticket actions.
- The AI populates the ticket fields needed for the next step.
- An action flow uses those values with the SweetHawk connector.
- The relevant SweetHawk app creates the task, starts the timer, or sets the reminder etc.
Configure the SweetHawk action to run after the AI has finished populating the required fields. If the values are not available from the action flow’s trigger, add a ticket lookup before using them.
This approach can be adapted to any use case where the AI can provide the required information and the connector supports the actions you want to perform.
Example 1: Create dynamic tasks from sales action points
Use AI to identify action points in a sales ticket, then automatically create them as tasks in the Tasks & Subtickets app.
For example, a customer might write:
We’d like a demonstration next week. Please also send pricing for 50 agents and confirm whether you support our approval process.
In this workflow, the AI writes the task names into a text ticket field. An action flow runs when that field is populated and uses the field value to create the tasks.
1. Create a text ticket field
Create a custom Zendesk ticket field of type Text, and give it a name, for example "Sales task list".
This field will hold the task names identified by the AI. Make sure the AI has access to update it.
2. Configure the AI to populate the field
Configure your AI, such as a Zendesk custom agent, to review sales tickets and write the action points into the Sales task list field.
Important: If there is more than one task, the task names must be separated by commas. Avoid commas within individual task names, as these will separate them into additional tasks.
For the example above, the field should contain:
Arrange a product demonstration, Send pricing for 50 agents, Confirm approval workflow requirements
You could give the AI instructions such as:
Review the sales enquiry and identify the actions our team needs to complete. Write a short, clear name for each task into the Sales task list field. Separate multiple task names with commas. Do not include commas within individual task names, bullet points, or explanatory text. Leave the field empty if there are no actions to take.
3. Create the Action Flow
Create a new action flow in Zendesk Action Builder and select the Custom ticket field changed trigger.
Under Custom field, select Sales task list (or the name of your custom text field).
Add the following conditions, joined with AND:
| Variable | Operator | Value |
|---|---|---|
| Custom field value | Is present | — |
| Tags | Contains none of | sales_tasks_added |
The flow will run when the field changes to a non-empty value, provided the ticket does not already have the sales_tasks_added tag.
Beneath the trigger, add the Zendesk Add tags to ticket action.
Configure it as follows:
- Ticket ID: Select Ticket ID from the trigger card.
-
Tags: Enter
sales_tasks_added.
Together with the trigger’s tag condition, this prevents later changes to the field from creating the same tasks again.
Beneath the tag action, add an action and select:
External actions → SweetHawk → Create Task
Configure the action as follows:
- Zendesk ticket ID: Select Ticket ID from the trigger card.
- Task name: Click Add variable and select Custom field value from the trigger card.
This passes the contents of Sales task list to SweetHawk. When the field contains comma-separated task names, the action creates a separate task for each name.
Once the flow runs, each action point identified by the AI appears as a separate task in the Tasks & Subtickets app:
Alternative: Let AI choose a predefined task list
If your sales enquiries follow established processes, you can have the AI select an existing task list instead of generating individual task names.
For example, the AI could classify the enquiry and populate a ticket field with Product demonstration, Pricing request, or Enterprise sales. Your action flow can branch on that value and use SweetHawk’s Apply Task List action to add the corresponding saved list.
This lets the AI choose the appropriate workflow while keeping the tasks consistent with your team’s defined process.
Example 2: Start or swap SLA timers based on the ticket’s true priority
Use AI to assess a ticket’s urgency, then automatically start or swap the appropriate timer in the Timers app.
For example, a customer may select Urgent even though their request is a routine enquiry. AI can review the conversation against your priority rules and select the appropriate SLA.
1. Configure the AI to set a priority
Create a custom dropdown ticket field called AI priority, with options for Low, Normal, High, and Urgent.
Configure the AI to review the ticket against your business’s priority definitions and select the matching option. Have it reassess the priority when relevant new information arrives.
Alternatively, the AI could update Zendesk’s standard Priority field directly. This example uses a separate dropdown so the AI’s assessment can control the timer independently of the ticket’s standard priority.
2. Trigger the action flow when AI priority changes
Create a new action flow and select Custom ticket field changed.
Under Custom field, select AI priority.
For a simple Normal-priority example, use this condition:
| Variable | Operator | Value |
|---|---|---|
| Custom field value | Is | Select the value for Normal |
3. Start or swap the matching timer
Add SweetHawk → Start Timer beneath the trigger.
Configure it as follows:
- Zendesk ticket ID: Select Ticket ID from the trigger card.
- Timer: Select your Normal-priority timer definition.
-
Additional fields → Identifier: Enter a shared identifier for this timer series, such as
first_reply.
Important: Use the same identifier for every priority variation in the series, including any flow that starts the original timer. This allows SweetHawk to swap the active timer when the priority changes.
4. Handle the other priorities
Repeat this setup for Low, High, and Urgent, selecting the matching timer definition in each flow.
Alternatively, use one flow triggered when AI priority changes to a non-empty value, then add a branch for each priority and place the matching Start Timer action beneath it.
The flow can finish after the timer action. Add Update ticket only if you also want to change the standard ticket priority or record an internal note.
For the full timer configuration, including shared identifiers and preventing stopped First Reply timers from restarting, see Start & swap Timers with Zendesk Action Builder.
Example 3: Set reminders for promises made to customers
Use AI to identify promises made in ticket conversations and automatically create a reminder in the Reminders app.
For example, an agent might write:
I’ll check with our technical team and get back to you by Friday.
The AI extracts the promised date and writes it into a text ticket field. An action flow then uses that value to create the reminder.
1. Create a text ticket field
Create a custom Zendesk ticket field of type Text and name it AI reminder date.
This field will hold the date or timestamp identified by the AI.
2. Configure the AI to extract the deadline
Configure the AI to review the ticket conversation for follow-up commitments and populate AI reminder date with:
-
A date in
YYYY-MM-DDformat when only a date is available. - A full timestamp when the conversation also specifies a time, including the relevant timezone offset.
For example:
| Commitment | Field value |
|---|---|
| “I’ll get back to you on 4 December 2026.” | 2026-12-04 |
| “I’ll get back to you on 4 December 2026 at 2pm New York time.” | 2026-12-04T14:00:00-08:00 |
For relative commitments such as “within two hours”, have the AI calculate the deadline from the time of the reply and write the resulting timestamp.
3. Create the Action Flow trigger
Create a new action flow and select Custom ticket field changed.
Under Custom field, select AI reminder date.
Add the following conditions, joined with AND:
| Variable | Operator | Value |
|---|---|---|
| Custom field value | Is present | — |
| Tags | Contains none of | ai_reminder_created |
The flow will run when the field changes to a non-empty value, provided the ticket does not already have the ai_reminder_created tag.
Beneath the trigger, add the Zendesk Add tags to ticket action.
Configure it as follows:
- Ticket ID: Select Ticket ID from the trigger card.
-
Tags: Enter
ai_reminder_created.
Together with the trigger condition, this prevents subsequent field changes from creating additional reminders.
4. Create the reminder using the field value
Beneath the tag action, add SweetHawk → Create reminder.
Configure the following fields:
- Zendesk ticket ID: Select Ticket ID from the trigger card.
- Remind at: Click Add variable and select Custom field value from the trigger card.
Complete the remaining card settings to suit your workflow, including the reminder description and recipient/s.