Unsubscribe opt-outs in Smartlead automatically
When a reply is labeled Unsubscribe, Master Inbox unsubscribes the lead in Smartlead and adds a Do not contact label, so no further Smartlead step goes out.

Why teams run it
One click, or one AI label, honors the opt-out in the tool that sends.
Set it up in Master Inbox
- In Master Inbox, open Settings, then Workflows, and click Add a workflow.
- Name it Unsubscribe opt-outs in Smartlead automatically.
- Set the trigger to Add Label and choose Unsubscribe.
- Add the action Unsubscribe in Smartlead: The lead's active campaigns.
- Add the action Add labels: Do not contact.
- Save the workflow and switch it to Active.
Before you start, connect Smartlead under Settings, Integrations.
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": "Unsubscribe opt-outs in Smartlead automatically",
"trigger_type": "add_label",
"trigger_config": {
"label_ids": [
176479
]
},
"action_configs": [
{
"action_type": "unsubscribe_from_campaign_smartlead",
"campaign_ids": [
"camp-1"
]
},
{
"action_type": "add_labels",
"label_ids": [
176480
]
}
]
}'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: "Unsubscribe opt-outs in Smartlead automatically". 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
Which Smartlead connection does this need?
The unsubscribe action needs the Smartlead API key connection.
Do Smartlead categories need to match?
For label sync, the Smartlead category must already exist with the exact label name.
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
Sync opt-outs to Instantly, Smartlead, EmailBison, PlusVibe and HeyReach
When a reply is labeled Unsubscribe or Do not contact, one workflow removes the lead from Instantly, Smartlead, EmailBison, PlusVibe and HeyReach, so...




HygieneArchive bounce notices and remove the address from Smartlead
When a message is labeled Bounce, Master Inbox archives the thread and removes the lead from the Smartlead campaign, so dead addresses stop costing...
HygieneStop Smartlead follow-ups once a prospect replies interested
When a reply is labeled positive, Master Inbox removes the lead from the Smartlead campaign, so a cold step never lands in the middle of a live...
HygieneRemove not interested replies from EmailBison and block them
When a reply is labeled Not interested, Master Inbox removes the lead from the EmailBison campaign. Mark the label as DNC in the EmailBison...

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