Anatomy of an automation
The shape is always the same; only the contents change. Every automation answers four questions in order: when does it wake up, does this situation apply to me, which path do I take, and then what do I do.
Triggers come from across the product — conversation lifecycle, tags, cases, SLAs, customer tiers, schedules, business hours, side conversations, mentions. Each trigger sets the type of context the rest of the rule works with.
Runs every time the rule fires
Use for setup work that should happen on every match — tagging the conversation as touched, logging an audit note, kicking off a webhook.
Runs when its condition group is true
Conditions can be nested arbitrarily deep with AND/OR, against fields on the conversation, contact, message, case, custom fields, and event-specific fields like previous status.
The next path the engine tries
Lets one automation handle many cases without forking. If VIP escalate; else-if billing route to billing; else default reply.
Runs when nothing above matched
Catches anything that didn’t fit a specific branch. The default-behaviour slot.