Alert the team in Slack when a prospect mentions a competitor

Replies that name a competitor are posted to a Slack channel with the reply and thread link, so the rep answering gets battlecard help and leaders see which rivals come up.

AlertsSlackSales leaderRepTeam plan
When
Incoming MessageAll channels
Only if
Message contains any of your competitor names
Then
Notify in SlackPost the reply and thread link to #competitive

Why teams run it

Competitive replies need a sharper answer than a template, and leaders want to hear about them.

Set it up in Master Inbox

  1. In Master Inbox, open Settings, then Workflows, and click Add a workflow.
  2. Name it Alert the team in Slack when a prospect mentions a competitor.
  3. Set the trigger to Incoming Message and choose All channels.
  4. Add a condition: Message contains any of your competitor names.
  5. Add the action Notify in Slack: Post the reply and thread link to #competitive.
  6. 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 the team in Slack when a prospect mentions a competitor",
  "trigger_type": "incoming_message",
  "trigger_config": {
    "channel_ids": [
      "-1"
    ]
  },
  "action_configs": [
    {
      "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 the team in Slack when a prospect mentions a competitor". 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 tag the thread too?

Yes. Add an Add labels action with a Competitor label so you can filter these threads later.

Does it scan the whole thread?

It checks the incoming message, so it fires when the prospect names the competitor.

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

Browse all 177 workflows

Run this on your own inboxes

Free 7-day POC. Unlimited users on every plan.

Start your free 7-day POC