Alert RevOps in Slack when a reply mentions GDPR or legal action
Replies that contain words like GDPR, lawyer, legal or report are posted to a compliance channel in Slack and labeled for review, so sensitive replies get a careful answer fast.

Why teams run it
Sensitive replies are handled by the right person instead of a rep answering in a hurry.
Set it up in Master Inbox
- In Master Inbox, open Settings, then Workflows, and click Add a workflow.
- Name it Alert RevOps in Slack when a reply mentions GDPR or legal action.
- Set the trigger to Incoming Message and choose All channels.
- Add a condition: Message contains GDPR, lawyer, legal, solicitor or report.
- Add the action Add labels: Compliance review.
- Add the action Notify in Slack: Post the reply and thread link to #compliance.
- Save the workflow and switch it to Active.
Before you start, connect Slack 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. This workflow also uses conditions: add them under trigger_config.conditions, as shown on the conditions page.
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": "Alert RevOps in Slack when a reply mentions GDPR or legal action",
"trigger_type": "incoming_message",
"trigger_config": {
"channel_ids": [
"-1"
]
},
"action_configs": [
{
"action_type": "add_labels",
"label_ids": [
176480
]
},
{
"action_type": "slack_notify",
"payload_variables": [
"name",
"company_name",
"label_names",
"text",
"thread_url"
],
"show_draft": true
}
]
}'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: "Alert RevOps in Slack when a reply mentions GDPR or legal action". 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
Will this stop the AI labeler?
AI labeling only labels leads with no label. If you want AI labels on these replies too, swap the Add labels action for the Slack alert only.
Can I add words in other languages?
Yes. The message condition matches any word in the list.
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
Get a Slack alert when a QuickMail reply asks about pricing
When a QuickMail reply contains words like pricing, cost or quote, Master Inbox posts it to a deal desk channel in Slack so a senior rep answers...

AlertsSend Slack reply alerts on weekdays only
Positive reply alerts post to Slack Monday to Friday in your workspace time zone. Weekend replies wait in the inbox instead of pinging the team on a...
AlertsEscalate an unanswered interested reply in Slack when its reminder falls due
If a reminder on an Interested lead comes due and the prospect still has the last word, Master Inbox posts an escalation to Slack so a manager can...
AlertsGet a Slack alert when someone from a target account replies
When a reply comes from a domain on your target account list, Master Inbox posts it to an ABM channel in Slack, whatever the label, so the account...

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