Macha

How Do Gorgias Rules Work? Triggers, Conditions and Actions (2026)

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published July 9, 2026

Updated September 24, 2026

Gorgias rules follow a WHEN, IF, THEN pattern: one of six ticket events starts the rule, optional conditions filter tickets, and actions such as tagging, routing or replying run automatically. Rules are included on every Helpdesk plan, but they match keywords literally, so intent-reading and order lookups need AI Agent or another AI layer.

Key takeaways

  • Every Gorgias rule follows a WHEN, IF, THEN structure built on one of six triggers, including Ticket created, New message in ticket and Satisfaction survey responded.
  • AND and OR conditions cannot sit in the same IF statement in Gorgias Rules, so mixed logic needs another IF nested inside the THEN block.
  • Gorgias caps accounts at 70 rules and shows a warning once an account reaches 65, so teams that write one rule per edge case hit the ceiling quickly.
  • Gorgias runs Ticket Created rules first, then New Message In Ticket, then Ticket Updated, and Ticket Assigned rules last, top to bottom within each trigger.
  • Gorgias Rules are included on all Helpdesk plans, while AI Agent is a paid bundle billed per resolved interaction, with $1.50 for each interaction over the bundle.
How Do Gorgias Rules Work? Triggers, Conditions and Actions (2026)

A Gorgias rule is WHEN/IF/THEN automation: one of six ticket events (WHEN) starts it, optional conditions (IF) filter the tickets, and actions (THEN) such as tagging, assigning or replying run on every match. Rules come with every Gorgias Helpdesk plan at no extra cost, live under Workflows → Tools → Rules, and are capped at 70 per account. They match fields and keywords literally, so reading intent and looking up order data belongs to Gorgias' paid AI Agent or another AI layer. Details below were checked against Gorgias' help center on 24 September 2026.

QuestionAnswer
StructureWHEN (trigger) → IF (conditions, optional) → THEN (actions)
Triggers6: ticket created, new message, ticket updated, ticket assigned, snooze delay ends, satisfaction survey responded
Limit70 rules per account; warning at 65
Run orderCreated → New message → Updated → Assigned; top to bottom within each
Who can editOwner, Admins and Leads
CostIncluded on all Helpdesk plans

How does a Gorgias rule work?

Every Gorgias rule is built from three parts, and the builder literally lays them out in that order. Per Gorgias' Create rules to take automatic actions on tickets documentation, a rule is a trigger (WHEN), an optional set of conditions (IF/AND/OR/ELSE), and one or more actions (THEN).

The trigger is the event that wakes the rule up. The conditions are the tests a ticket has to pass (channel, keywords, order count, tags, customer fields) for the actions to fire. The actions are what Gorgias does when both line up. A rule with no IF condition runs its actions on every ticket that hits the trigger; add an IF and you narrow it to just the tickets you care about. That's the whole grammar. Everything else is vocabulary.

You'll find the builder by opening the dropdown menu at the top left, then Workflows → Tools → Rules. Rules are available on all Helpdesk plans (they're not a paid add-on), and the Owner, Admins, and Leads can create or edit them.

What triggers can start a Gorgias rule?

A rule can only start on one of six events. Choosing the right one is half the battle, because the trigger also decides when in the ticket's life your logic runs:

  1. Ticket created: the moment a new ticket lands. This is where most triage lives: auto-tagging, first-touch auto-replies, spam closing.
  2. New message in ticket: a customer (or agent) adds a message to an existing ticket. Good for re-opening logic or nudging on follow-ups.
  3. Ticket updated: a field, tag, status, or assignee changes. Useful for reacting to something another rule or an agent just did.
  4. Ticket assigned to user: fires when a ticket lands on a specific agent, handy for personal auto-notes or workload rules.
  5. Ticket snooze delay ends: the snooze timer runs out and the ticket wakes back up.
  6. Satisfaction survey responded: a CSAT response comes in, so you can tag detractors or route a bad score to a lead.

Note what's not here: there's no "X hours after creation" trigger. Per the Rules FAQ, rules can't fire purely on the passage of time; they need a real event. Gorgias' suggested workaround for delayed actions is to snooze the ticket and hang the rule on Ticket snooze delay ends. That constraint shapes a lot of what you can and can't do natively.

How do conditions work in Gorgias rules?

Once a rule triggers, conditions decide which tickets actually get the actions. You build them as IF statements, and you can combine several: AND requires every condition to be true, OR requires at least one. The one gotcha worth memorising is that, per Gorgias' rule builder variables and conditions reference, AND and OR can't live in the same IF statement. For mixed logic like "channel is email AND (body contains refund OR body contains return)" you nest another IF inside the THEN block.

Conditions are where Gorgias' Shopify roots show. Beyond the usual channel, tags, and message-body checks, you can branch on things like Shopify customer orders count is greater or equal to 1, so a rule can treat a repeat buyer differently from a first-timer, or Message from agent is false to make sure an auto-reply only answers real customers, not your own team's notes.

The Gorgias Rule builder: WHEN ticket created, THEN IF channel is Facebook or Instagram and sentiment is not negative
The Gorgias Rule builder: WHEN ticket created, THEN IF channel is Facebook or Instagram and sentiment is not negative

The screenshot above is the real Rule builder. Some Gorgias settings sub-areas render in a narrower ~720px column, which is why the panel looks tighter than a full-width app view. That's normal, not a display bug.

What actions can a Gorgias rule take?

The action menu is long, and it's where Rules earn their keep. Per the Rule Glossary: Actions, the THEN options include:

  • Reply to customer and Send email: post a public reply or fire off an email (the basis of any auto-reply).
  • Apply macro: run a saved macro as the response, so your canned answers and your automation share one source of truth.
  • Add internal note: leave an agent-only note.
  • Add tags, Remove tags, Reset tags: the workhorses of triage and reporting.
  • Set status, Set priority, Set subject: change the ticket's state.
  • Set ticket field / Set customer field: write to your custom data.
  • Assign agent, Assign team, Distribute to teams: routing.
  • Snooze for a set duration, Delete ticket, Exclude ticket from Auto-Merge, Exclude ticket from CSAT, plus channel-specific ones like Hide Facebook comment.

A common WISMO recipe: WHEN ticket created, IF body contains "where is my order" AND Shopify orders count ≥ 1, THEN apply macro (an order-status template) AND add tag "wismo" AND set priority: low.

In what order do Gorgias rules run?

When several rules could fire on the same ticket, order matters, and Gorgias decides it in two layers. First by trigger: per the Rules FAQ, Ticket Created rules run first, then New Message In Ticket rules, then Ticket Updated rules, and Ticket Assigned rules run last. Second, within a single trigger, rules run top to bottom in the order listed on the settings page, and you reorder them by dragging the six-dot handle.

There is no native per-rule "stop processing further rules" toggle the way some help desks offer. Gorgias runs the matching rules in sequence, which means rules can interact: the FAQ notes, for example, that a generic notification rule "won't work if the ticket is also being assigned to a user via another Rule." Gorgias' fix is to merge the two rules and use the agent's email address instead of the assignee variable. The practical discipline is to keep your highest-stakes rules (VIP handling, spam closing) near the top of their trigger group, and to watch for two rules quietly stepping on each other's actions.

How are Rules different from Flows and AI Agent?

This is where people get tangled, because all three automate, but at different layers.

RulesFlowsAI Agent (formerly Automate)
What it isBackend if/then logic on ticketsInteractive self-service guidesAI-powered resolution
Faces the customer?Only via auto-replyYes: chat widget, help center, contact formYes
Understands phrasing?No: literal keyword/field matchingGuided, button-drivenYes: reads intent
Included?All Helpdesk plansPart of Gorgias' automation product; check your planPaid bundle, offered on every plan
BillingIncludedCheck your plan$0.85 to $1.00 per resolved interaction in a bundle; $1.50 over the bundle

Rules are deterministic backend logic: reliable, transparent, and included with your plan, but literal. Flows are the button-driven self-service journeys customers click through in the widget. AI Agent (the product Gorgias used to sell as Automate; see our AI Agent explainer) is the AI layer that reads free text and resolves conversations. It costs extra: Gorgias' pricing page sells it as a monthly bundle of interactions on every Helpdesk plan, from 30 interactions at $1.00 each on Starter to 530 on Advanced, with $1.50 for each interaction over the bundle. An interaction is billed when the AI resolves a conversation on its own, so it is a per-resolution model. Third-party analysis from eesel covers how workflows and AI Agent overlap. For the full picture of the AI side, see the Gorgias Automate complete guide.

What can't Gorgias rules do, and where does an AI layer fit?

Gorgias Rules are excellent at what they're built for: fast, predictable, no-surprises automation on structured signals. If the input is a tag, a status, an order count, or an exact keyword, Rules will handle it reliably at no extra cost.

The ceiling is right there in the design. Rules match literally: a customer who writes "haven't got my parcel yet" sails past a rule listening for "where is my order." They can't reason about a message they've never seen a keyword for, and they can't fetch data mid-conversation: a rule can tag a ticket as WISMO, but it can't call Shopify, read that order #1182 shipped yesterday, and write that sentence back to the customer. There's also the ceiling of 70 rules per account (Gorgias warns you at 65), which real teams hit surprisingly fast once every edge case becomes its own rule. And macros that contain Shopify, Recharge or webhook actions can't be used in rules at all.

This is the seam where an AI agent layer fits, and it's worth understanding the broader category of AI agents for customer service before reaching for one. Macha is one such layer: it runs on top of the Gorgias you already use through a live native connector. It does not replace Gorgias, your Rules, your macros, or your Flows. You connect it once (see the Macha–Gorgias integration), and it reads and writes the same tickets your rules already touch: understanding a message by intent rather than keyword, looking up live order or subscription status through a custom tool that turns a REST API into something the agent can call, and drafting or sending the grounded reply your rules can only gesture at with a macro. One honest contrast worth naming: Macha bills per ticket, not per resolution: one conversation, charged once however many messages it takes. Plans start at $299 a month for up to 750 tickets, with setup and monitoring by the Macha team included; see the pricing page. Macha runs on Zendesk, Freshdesk, Gorgias, Front, HubSpot or Intercom.

The clean division of labour: keep Rules as the deterministic backbone for triage, routing, and tagging, the jobs they do well, and layer an agent on top for the reasoning-and-lookup work a literal if/then engine was never meant to do.

FAQ

Where do I find Rules in Gorgias? Open the dropdown menu at the top left, then go to Workflows → Tools → Rules. Rules are available on all Helpdesk plans, and the Owner, Admins, and Leads can create or edit them.

What triggers can start a Gorgias rule? Six events: Ticket created, New message in ticket, Ticket updated, Ticket assigned to user, Ticket snooze delay ends, and Satisfaction survey responded. There's no time-based trigger; a rule always needs a real event to fire.

In what order do rules run? Ticket Created rules run first, then New Message In Ticket rules, then Ticket Updated rules, and Ticket Assigned rules run last. Within a single trigger, rules run top to bottom in the order shown on the settings page, which you can drag to reorder.

How many rules can I create? Up to 70 per account. Gorgias shows a warning once you've created 65 or more, so plan for consolidation before you hit the ceiling.

What's the difference between Rules and Automate? Rules are deterministic backend if/then logic included on every Helpdesk plan; they match keywords and fields literally. Automate is now sold as AI Agent, a paid bundle that reads natural language and resolves conversations, billed per resolved interaction ($1.50 each over the bundle). They complement each other rather than compete.

Can a Gorgias rule use a Shopify macro? No. Macros that contain Shopify, Recharge or webhook actions aren't usable in rules, so a rule can apply a text macro but can't, for example, refund or cancel an order.

Want your Gorgias tickets answered, not just tagged? Start a free trial of Macha and connect it to your Gorgias in minutes.

Macha

About Macha

Macha is an AI agent platform that works on top of the help desk you already use (Zendesk, Freshdesk, Gorgias, Front, Intercom or HubSpot) and connects to the rest of your stack, even your own internal systems. It is done for you: the Macha team analyzes your past tickets, builds the knowledge base and the agents, and runs them in safe mode until the drafts are right. Pricing is about $0.40 a ticket, and that includes setup and a dedicated success manager who handles your changes. Learn more about Macha →

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Ready to supercharge your team with AI?

Get started in minutes. Connect your tools, configure your agents, and let AI handle the rest.

$50 in free credits · no time limit, no credit card