Send the thread URL to n8n on every label change
When any label is added, a webhook sends the label names, prospect fields and a link to the thread to n8n, so your own automations can always link back to the exact conversation.
Why teams run it
Downstream tools stop sending reps to the wrong place to answer a lead.
Set it up in Master Inbox
- In Master Inbox, open Settings, then Workflows, and click Add a workflow.
- Name it Send the thread URL to n8n on every label change.
- Set the trigger to Add Label and choose Any label.
- Add the action Send a webhook: Send label names, prospect id, email, company and thread URL to your n8n webhook.
- Save the workflow and switch it to Active.
Or create it with the API
Everything in the workflow builder is also in the Master Inbox API. This request creates the same workflow. Replace the example ids with your own label, list and campaign ids from GET /workflows/filter-fields.
curl -X POST https://api.masterinbox.com/api/api-webhook/v1/api/workflows/create-workflow \
-H "Authorization: Bearer $MASTER_INBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Send the thread URL to n8n on every label change",
"trigger_type": "add_label",
"trigger_config": {
"label_ids": [
176479
]
},
"action_configs": [
{
"action_type": "webhook",
"webhook_url": "https://hooks.example.com/master-inbox",
"webhook_payload_variables": [
"name",
"email",
"company_name",
"label_names",
"thread_url",
"text"
]
}
]
}'Full reference: workflow API guide and API docs.
Or ask Claude, ChatGPT or Grok to build it
Our workflow guide is written for AI agents to read. Give your assistant your API key and this prompt:
Read https://app.masterinbox.com/public-workflow-api.md and use my Master Inbox API key to create this workflow: "Send the thread URL to n8n on every label change". First call GET /workflows/filter-fields and look up my label, list and channel ids, then create the workflow and tell me what you set up.Questions
Can I filter to certain labels?
Yes. Pick only those labels on the trigger.
Is there a delivery log?
Yes. Webhook deliveries are logged, and the payload includes a job id you can use to dedupe.
Can I build this workflow through the API?
Yes. Send the create-workflow request shown on this page with your Master Inbox API key. The API checks the payload first and lists every problem by field if anything is off.
Which plan includes this?
This workflow works on the Team plan. Every plan has unlimited users and starts with a free 7-day POC.
Learn more
Related workflows
Start an n8n meeting prep flow when a prospect books
When a prospect books through Cal.com or Calendly, a webhook sends the meeting time, prospect and thread link to n8n, which can build a prep doc,...


Data outStream every reply into Supabase or your data warehouse
A workflow on every incoming message sends the reply text, prospect, labels, campaign and thread link to your endpoint, so Supabase, Postgres or your...
Data outSend interested replies to Zapier or Make with the thread link
When a reply is labeled Interested, a webhook passes the prospect, reply text, campaign and thread link to Zapier or Make, ready for any app they...
Data outPush label changes to Airtable
When a label is added, a webhook updates your Airtable base with the prospect, labels, campaign and thread link, so teams that report from Airtable...

Run this on your own inboxes
Free 7-day POC. Unlimited users on every plan.
