# Let’s talk about Advanced action flows in Zendesk > In this article, I’ll explain what Zendesk advanced action flows are, how they differ from regular action flows, and when it makes sense to use them. I’ll walk you through two examples so you can see where they could help in your own Zendesk setup. - Published: November 23, 2026 · 6 min read - URL: https://www.jhoanzabala.com/blog/zendesk-advanced-action-flows/ - Español: https://www.jhoanzabala.com/es/blog/zendesk-advanced-action-flows/ - Topics: Zendesk, Advanced action flows, Action flows, Automation, AI agents ## First, understand what an action flow is and what it is for An action flow is a sequence of steps that Zendesk runs when a condition is met. It is useful when the same process repeats and someone has to do several things to get it done. For example, when an incident comes in, the flow can raise the ticket’s priority, create a Jira issue and save its link in Zendesk. ![The Create workflow screen of Advanced action flows in Admin Center, with the box to describe what you want to automate and templates to start from](https://www.jhoanzabala.com/blog/zendesk-advanced-action-flows/advanced_action_flows_zendesk.png) *To get started, go to Admin Center, under Apps and integrations → Actions → Advanced action flows. That is where this feature lives.* ## Two types of action flows in Zendesk, why? In a **traditional action flow** you build the process in Action Builder with visual steps. You can add conditions, branches and actions from Zendesk or from connected systems. You can also ask Admin Copilot to prepare a visual draft for you. In an **advanced action flow** you describe what you want and Zendesk generates editable JavaScript and a diagram. Useful when you need to query an internal API directly, cross several responses or control what happens in each exception. AI helps you build the flow. While it runs, you can call a model if you add a step such as `agents.run()`. | Aspect | Traditional action flow | Advanced action flow | | --- | --- | --- | | What you edit | Steps in the visual editor. | JavaScript code and its configuration. The diagram is generated from the code. | | How you integrate other systems | Connectors or API actions configured in Action Builder. | Direct calls to REST APIs, with the authentication and permissions that apply. | | When I would use it | Updating a ticket, opening an issue and notifying a team with defined steps. | Querying several APIs, applying rules to their responses and deciding what to do if data is missing or a lookup fails. | ## Let’s look at a couple of A.A.F. examples Advanced action flows can be used in cases like these: | Use case | What the flow can do | | --- | --- | | Employee service | Retrieve live HR or IT information and coordinate approvals, onboarding and off-boarding across systems. | | PDF and document processing | Read and classify attachments, extract relevant details and save them on the ticket. | | Order and booking management | Validate bookings, link tickets to order records and flag shipment delays or other exceptions. | | External system integration | Retrieve or update records in connected systems and trigger actions based on what happens in the ticket. | | IT asset lifecycle | Provision, replace or reclaim devices when a ticket changes or an employee event is recorded. | | Ticket classification and routing | Review new tickets, classify them by category or severity and update the fields or tags that omnichannel routing uses. | ### Follow this structure when you write the prompt - **Write it the way you would explain it to another admin.** Use short sentences and ask for concrete actions. - **Start with the trigger.** Say which event starts the flow, what it must check, what it has to update and who it must notify. - **Give it context.** Say which team handles the process, which systems it uses and what information each one can be asked for. - **Ask for one thing at a time.** Start with the main path. Then add branches, approvals or integrations and test each change. - **Give an example with data.** If an order has three shipments and one is late, explain whether you want one notice per shipment or a single notice per ticket. - **Specify the exceptions.** “If the ID is missing, send the ticket to manual review” tells the generator exactly what to do. ### One ticket, one order and several shipments When a tracking ticket comes in, the flow looks up the order in the order system and queries its shipments in the logistics API. It links the order to the ticket and, if any of the shipments is late, notifies Logistics once. If the lookup fails or the ID is missing, it leaves the case for manual review. *Diagram: Flow of a tracking ticket with one order and several shipments. A new tracking ticket comes in and the flow looks up the order and its shipments. If the lookup is not valid, it sends the ticket to manual review. If it is valid, it links the order to the ticket and checks whether any shipment is late. If one is, it flags the delay and notifies Logistics. If not, it leaves the ticket updated.* **Example prompt to copy** ```text When a ticket is created with the “Order tracking” form, read the “Order ID” field. Use the order system connection to look it up and the Logistics connection to query all its shipments. Save the order link and status on the ticket. If any shipment has the status “delayed”, add the tag “delayed_shipment” and notify Logistics only once per ticket. If none is delayed, leave the ticket updated without sending a notice. If the ID is missing, the order does not exist or any lookup fails, assign the ticket to the “Manual review” group and leave an internal note with the reason. Add these branches to the diagram so I can review them before publishing. ``` ### A PDF that already arrives by email If Billing receives an attached invoice, the flow can extract the number, the currency and the total with an AI step, and save that data on the ticket. If a required field is missing, it sends the ticket to the team for review. ## Things to keep in mind The **trigger** decides when the flow starts. The **actions** are annotated sections of the code that you see as steps in the diagram and in the execution history. A **pause** action lets the flow continue later, after a delay, an event, an approval or the completion of another flow. To set up the trigger, describe how the process starts in the first sentence of the prompt. Zendesk chooses the type based on your description. For example, “When a ticket is created with the Order tracking form” or “Every Monday at 14:00 UTC”. | Start type | When it runs | | --- | --- | | Zendesk event | When a ticket, user, organization, asset or custom object is created, updated or deleted. Use filters so the flow only runs in the cases you care about. | | Schedule | On a recurring schedule, in UTC. | | Manual | When an admin or agent starts the flow. It is the default type if you leave out the start, and it is used to test any flow. | | Incoming webhook | When an external system calls the flow’s URL. | | AI Agent or another flow | When an AI agent or another flow invokes it as a tool. | These are the five limits I would check first if you are going to connect systems or work with many records. | Limit | What Zendesk allows | | --- | --- | | Execution time | 5 minutes by default. Configurable from 1 second to 10 minutes. `pause()` does not count toward that time. | | Pause duration | Up to 30 days. | | Memory | 128 MB per execution. | | Concurrent HTTP requests | Up to 8 within a single execution. | | Size of a stored value | Up to 4 KB per value in `storage`. | [See the rest of the limits in Zendesk’s documentation](https://support.zendesk.com/hc/en-us/articles/11149728300186-Understanding-advanced-action-flows) If you want to try an advanced action flow or read more, these are Zendesk’s guides. - [Creating advanced action flows](https://support.zendesk.com/hc/en-us/articles/11149761264666-Creating-advanced-action-flows) - [Advanced action flows API global variables reference](https://support.zendesk.com/hc/en-us/articles/11156518384922-Advanced-action-flows-API-global-variables-reference) - [Editing and managing advanced action flows](https://support.zendesk.com/hc/en-us/articles/11149771554074-Editing-and-managing-advanced-action-flows) - [Monitoring and troubleshooting advanced action flows](https://support.zendesk.com/hc/en-us/articles/11156051159962-Monitoring-and-troubleshooting-advanced-action-flows) If you have questions or need help with advanced action flows, write to me by [DM on LinkedIn](https://www.linkedin.com/in/jhoanzabala/) or send me an email at [jzabalacx@gmail.com](mailto:jzabalacx@gmail.com). — Jhoan Zabala. Project Manager / Product Owner / CX Consultant and Zendesk Admin.