Summary: ◀▼
Manage action flows by updating names, descriptions, and steps; cloning flows or copying individual steps; and activating, deactivating, or deleting flows. Test flows with sample inputs and review step results, usage, and errors to troubleshoot configuration, connections, conditions, and custom code.
Action flows are user-defined integrated workflows that perform actions in Zendesk and external systems, but are managed entirely from within Zendesk. After you create an action flow, you can update it, deactivate it, or delete it.
Viewing your action flows
Admins can use the Action flows page in Admin Center to view a list of action flows for their account. The list contains additional data about each action flow, such as the status, which action flow trigger initiates it, and its usage data, including successful and failed runs and action credits used.
To find specific action flows, you can search for them by name or description or narrow down the list using filters.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - (Optional) You can narrow down the list by searching or applying filters:
- To search for a specific action flow, enter the name or keywords in
the search bar at the top of the list and press Enter.
Search queries match on the beginning of words only. In multi-word values, queries can match against the beginning of any word in the value.
- To filter the list, click Filter, select a date range or status from the filter options, and click Apply filters.
- To search for a specific action flow, enter the name or keywords in
the search bar at the top of the list and press Enter.
Managing action flows
Editing an action flow's name and description
Editing an action flow's name and description is separate from editing the flow's steps in the action builder.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the action flow you want to update, click the options menu
(
) and select Edit name or
description. - Enter the updated name or description.
- Click Save.
Cloning an action flow
Instead of building a new action flow from scratch, you can clone an existing one and use it as a starting point. Cloning an action flow copies its steps, triggers, conditions, branches, actions, descriptions, and supported connection references. The cloned action flow is created in an inactive state and opens directly in action builder so you can review and customize it before activating it.
Action flows can't be cloned if they have any unsaved changes or configuration errors.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the action flow you want to clone, click the options menu
(
) and select Clone flow. - Next to the cloned action flow, click the options menu (
), and select Edit name or
description. Enter a unique and identifiable Name and
optionally update the Description. - Review and update the cloned action flow's configuration as
needed.
Action builder automatically validates the cloned action flow upon creation. If any connections or custom fields are missing or inaccessible, a warning icon and validation panel will highlight steps that need attention. You must resolve these before the action flow can be activated.
- (Optional) Test the cloned action flow.
- When you're ready to use the cloned action flow, activate it.
Activating action flows
New action flows are inactive by default. An admin must activate the flow for it to be used.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the action flow you want to activate, click the options menu
(
) and select Activate.
Deactivating action flows
To prevent an action flow from being used, you can deactivate it or delete it. Deactivated flows don't occur when their trigger event occurs and aren't presented as options for agent copilot auto assist.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the action flow you want to deactivate, click the options menu
(
) and select Deactivate.
Deleting action flows
To prevent an action flow from being used, you can deactivate it. However, you can have a maximum of 10 action flows at a time. If you are permanently finished with an action flow, you can delete it.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the action flow you want to delete, click the options menu
(
) and select Delete. - In the confirmation dialog, click Confirm.
Managing action flow versions
You can use version history to review earlier versions of an action flow, view an AI-generated summary of a version, compare two versions, or restore a previous version. The Version history panel can display up to 100 versions of an action flow.
Viewing a version of an action flow
Preview a version to review the flow as it existed at that point in time. You can't edit an action flow while previewing a version.
To view a version of an action flow
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. -
Click the name of the action flow you want to review.
-
In the upper-right corner of the action builder, click the Version history icon (
). -
In the Version history panel, click the version you want to preview.
The action builder displays the selected version and the Version history panel indicates that you are previewing it.
-
To return to the current version of the flow, close the Version history panel.
Summarizing an action flow version
You can view an AI-generated summary of a version to quickly understand what the action flow does.
To summarize an action flow version
-
Open the action flow's Version history panel and preview the version you want to summarize. See Viewing a version of an action flow.
-
In the Version history panel, next to the Previewing label for the selected version, click the Summarize icon (
).A panel opens with an AI-generated summary of the action flow version.
Comparing action flow versions
Compare two or more versions to view an AI-generated summary of the changes between them.
To compare action flow versions
-
Open the action flow's Version history panel.
-
In the options menu for a version, select Compare.
-
Select the versions you want to compare.
-
At the bottom of the panel, click Compare versions.
A panel opens with an AI-generated summary of the changes between the selected versions.
Restoring a previous version of an action flow
If you need to undo flow changes, you can switch the action flow to an earlier version.
To restore a previous version of an action flow
-
Open the action flow's Version history panel.
-
In the options menu for the version you want to restore, select Switch to this version.
The action flow switches to the selected version.
Managing an action flow's steps
Using the action builder, you can edit and delete steps in an action flow.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Next to the flow you want to manage steps for, click Edit workflow.
- Make any of the following changes:
- Click Save.
Editing a step in an action flow
In the action builder, you can click on any step of an action flow to review and modify its configuration as needed.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Click the name of the action flow you want to edit.
- Click on the step you want to edit.
- Use the step sidebar to update the step's configuration.
- Click Save.
Copying and pasting action flow steps
When you need to re-use a single step rather than most of an action flow, you can copy and paste single-outcome steps. Copied steps can be pasted into another location within the same action flow or into any other action flow in your account.
Alternatively, if you need to copy most of an action flows steps, you can clone the action flow and modify it as needed.
To copy and paste a step
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Click the name of the action flow you want to edit.
- Click the options menu (
) on the step card (or inside the step
configuration panel) and select Copy. You can also select the step
and press Command+C (Mac) or Ctrl+C (Windows). - Navigate to the action flow location you want to add the copied
step.
This can be in the same action flow or a different action flow in your account.
- Select the step above where you want to insert the copied step and
then use the options menu (
) or keyboard shortcuts (press
Command+V on MacOS or Ctrl+V on Windows) to paste
the step.
- Select the step above where you want to insert the copied step and
then use the options menu (
- Click the options menu (
) on the step above where you want to insert it
and select Paste below (or press Command+V or
Ctrl+V). - Review and update the copied step's configuration as needed.
All settings and values from the original step are copied over and validated by action builder. If the step relies on variables, outputs, or connections that are not available in the new location, a validation warning is displayed.
Rearranging the steps in an action flow
You can drag steps on the canvas to change their order in the workflow.
To rearrange a step
- Drag the step to its new location on the canvas.
- Click Save.
Action builder prevents you from creating an invalid workflow when you rearrange steps:
- An Output step must come after other steps. You can’t drag an Output step before another step or drag another step below an Output step.
- A step that uses variables from an earlier step can’t be moved above the step that provides those variables.
If you can’t drag a step to a location, check whether the move would place a step after an Output step or before a step that provides variables it uses.
Delete a step in an action flow
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Click the name of the action flow you want to edit.
- Within the step in the action builder, click the options menu (
) and select Delete. - In the confirmation dialog, click Delete step.
Testing an action flow
- When testing an action flow, real API requests are submitted for each step. Use test data, such as test tickets, Jira issues, and so on to avoid accidentally altering your service data.
- Trigger conditions are evaluated when testing an action flow.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Click the name of the action flow you want to test.
- Click Test.
- In the Test action flow sidebar, select or enter your test data:
- Search for a recent ticket, user, custom object, or asset from the list
- Click Edit values before testing to review or customize inputs
- Click Enter manually to input test data manually
Outputs from the action flow trigger are simulated, so only variable inputs used in the action flow need to be provided during tests.
- Click Run test.
During test runs, Repeat while condition is met and Repeat for each list item steps are limited to two passes.
- Review the results for each step.
Each step has a status of Done or Failed and can be expanded to display its output.
A test ends when a step fails or all steps have been completed successfully.
- Click Done or click Re-run test to try the action flow with other sample inputs.
Troubleshooting action flows
- Check the activation status of your action flow
- Fix broken steps
- Check the letter casing of values in conditional steps
- Check date and datetime formatting
- Align action flow names and descriptions with auto assist procedures
- Re-adding updated action steps
- Differentiate the names of action flows from auto assist actions
- Troubleshoot custom code steps
Checking action flow activation status
If an action flow isn't working as expected, you can start by checking that it's been activated. The activation status of your action flows is visible in the list on the Action flows page in Admin Center.
Fixing broken steps
Assuming the flow has been activated, the next thing to check is whether all of the steps are properly configured. Steps that aren't working properly, such as an invalid input or a broken connection to an external service, are highlighted in red in the action builder.
- In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows. - Click the name of the action flow you are troubleshooting.
- Click on a step highlighted in red.
- Use the step sidebar to resolve any configuration issues with the step.
- Click Save.
Checking letter case in conditional steps
Values for conditional steps are case-sensitive. That means checking for the type Problem isn't the same as checking for problem.
Standard Zendesk fields typically use lowercase values.
Check date and datetime formatting
Action flows expect specific formats for date and datetime values. Ensure date and datetimes include the expected punctuation and have the values in the expected order.
In datetimes, milliseconds are optional, but a timezone is required.
Aligning action flow names and descriptions with auto assist procedures
When an action flow is initiated by an agent approving an auto assist suggestion, it is important that the language used in the action flow's name and description is closely aligned with one or more of your auto assist procedures. When the language isn't similar enough, the action flow won't get suggested to agents.
Re-adding updated action steps
If you have changed an auto assist action since adding it to your flow, you must delete it and re-add the action. If you use outputs from the action in subsequent steps, you will also need to update these references so they reflect the new version of the action.
Differentiating names of action flows from auto assist actions
Because auto assist can suggest both actions and action flows, it's important to be precise enough in the names and descriptions for both that auto assist can tell them apart. If the names are too similar, auto assist might suggest the wrong one or both, which could result in unexpected behavior. For example, if you have an action named Create Jira issue and an action flow named Create Jira ticket, it's likely auto assist could confuse or conflate the action and action flow.
Troubleshooting custom code steps
Using code-hinting tips
Within the step, errors in your code are indicated by squiggly red underlining. Hover your mouse over the underlined section to view an explanation of the issue and suggestions for fixing it.
Checking your input and output names
The names of inputs and outputs within your code must match the names you enter in the step inputs and outputs. Capitalization and punctuation must match exactly.
Checking your data types
- If you need to perform calculations on a string input, convert it to
a number using
Number(my_input_string). -
If you’re working with dates, use
new Date(my_input_date_string)to convert a string to a JavaScript Date object.
Validating your outputs
It's important that your code always returns outputs in the correct type as defined in your step. For example, if you specify a number as the output type, but your code returns a text or null value, the step will fail.
- For text, return an empty string
"". - For numbers and decimals, return
-1. - For true/false, return
false. - For arrays, return an empty array
[].
Article Q&A
Click to view
How can I clone an action flow, and what limitations should I know about?
From Admin Center, open Apps and integrations > Actions > Action flows, use the flow’s options menu, and select Clone flow. The clone opens in action builder and is inactive so you can review and customize it. You can’t clone a flow with unsaved changes or configuration errors; triggers and multi-outcome steps such as branches or loops cannot be cloned. Resolve any validation warnings before activating the clone.
What happens when I deactivate or delete an action flow?
A deactivated flow no longer runs when its trigger occurs and is not offered as an agent copilot auto assist option. Delete a flow if you are permanently finished with it; accounts can have a maximum of 10 action flows. You can deactivate or delete a flow from its options menu on the Action flows page in Admin Center.
Can I reuse or change the order of steps in an action flow?
You can copy and paste single-outcome steps within the same flow or into another flow in your account; triggers and multi-outcome steps such as branches or loops cannot be copied. Steps can’t be reordered. To change their order, delete and recreate them in the desired locations. If you delete a step whose outputs are referenced later, fix those references; even recreating an identical step requires removing and re-adding the references.
How can I test an action flow safely, and what are the test limitations?
After saving the flow, select it in Admin Center and click Test. You can choose recent sample data, edit values, or enter data manually; trigger outputs are simulated, so provide only variable inputs used by the flow. Tests submit real API requests for each step, so use test data to avoid changing service data. Repeat-while and repeat-for-each steps are limited to two passes, and test runs are logged in the integrations log.
Why isn't my action flow working or being suggested to agents?
Check that the flow is activated and look for misconfigured steps highlighted in red in action builder. Conditional values are case-sensitive, and date or datetime values must use the expected format; datetimes require a timezone. For auto assist suggestions, align the flow’s name and description with the relevant procedures and make them distinct from similarly named actions, since unclear or similar wording can prevent the flow from being suggested or cause the wrong item to be suggested.