Create a thread trigger
- Go to Support > Conversations > Settings > Thread Triggers.
- Click Add New Trigger.
- Enter a Title and an optional Description.
- Leave Active on to start running the trigger as soon as you save.
- Under Conditions, choose whether ALL conditions must match (AND) or ANY condition can match (OR), then add one or more conditions.
- Under Webhook Configuration, enter the Webhook URL, choose the Method, and optionally add Custom Headers and a Custom Body Template.
- 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.
Related
- Conversation Labels: create admin statuses
- Ticket Triggers: automate actions on tickets
