Skip to main content
Thread triggers call a webhook when a conversation’s admin status changes. Use them to notify another system, such as a CRM or an incident tool, when someone marks a conversation as “Escalated” or “Resolved”. Admin statuses are the custom statuses you define in Conversation Labels and set on a conversation from its sidebar in Chat History or through the Public API.

Create a thread trigger

  1. Go to Support > Conversations > Settings > Thread Triggers.
  2. Click Add New Trigger.
  3. Enter a Title and an optional Description.
  4. Leave Active on to start running the trigger as soon as you save.
  5. Under Conditions, choose whether ALL conditions must match (AND) or ANY condition can match (OR), then add one or more conditions.
  6. Under Webhook Configuration, enter the Webhook URL, choose the Method, and optionally add Custom Headers and a Custom Body Template.
  7. Click Create Trigger.

Conditions

Use the Is, Is not, Contains, or Does not contain operators. Is is an exact, case-sensitive match, so type status names exactly as they appear in Conversation Labels. Only these conditions apply to thread triggers. The condition list also shows ticket conditions, which never match a conversation.

Webhook

Your endpoint must respond with a 2xx status within 10 seconds, or the run counts as failed. A failed webhook never blocks the status change.

Default payload

Without a body template, AGO sends:
old_status or new_status is null when the conversation had no status before, or the status was cleared.

Placeholders

Use these in the body template:

Example: sync status changes to a CRM

  • Condition: Thread Admin Status Changed
  • Webhook URL: https://crm.example.com/hooks/conversation-status
  • Method: POST
  • Custom Headers: {"Authorization": "Bearer <your-token>", "Content-Type": "application/json"}
  • Custom Body Template:

Good to know

  • When several triggers match, they all run.
  • Status changes made by an automated workflow don’t fire thread triggers.
  • To pause a trigger, turn off its switch in the trigger list instead of deleting it.

Troubleshooting

If your endpoint doesn’t receive calls:
  • Check that the trigger is active and its conditions match the status you set. Status names are case-sensitive.
  • Check that the URL is reachable from the internet and doesn’t point to a private address.
  • Test the endpoint on its own, for example with a request inspection service, and check that it answers within 10 seconds with a 2xx status.
  • Check your headers and body template are valid JSON.