Email the on-call rep about positive replies that arrive on weekends

On Saturdays and Sundays, positive replies are emailed to the rep on call with the reply and a thread link, so a hot lead never waits until Monday.

AlertsSDR managerFounderTeam plan
When
Incoming MessageAll channels
Only if
Label sentiment is positive
Only if
Day is Saturday or Sunday
Then
Send an email notificationEmail the on-call rep with the prospect, reply text and thread link

Why teams run it

Weekend interest gets an answer while the prospect still remembers the email.

Set it up in Master Inbox

  1. In Master Inbox, open Settings, then Workflows, and click Add a workflow.
  2. Name it Email the on-call rep about positive replies that arrive on weekends.
  3. Set the trigger to Incoming Message and choose All channels.
  4. Add a condition: Label sentiment is positive.
  5. Add a condition: Day is Saturday or Sunday.
  6. Add the action Send an email notification: Email the on-call rep with the prospect, reply text and thread link.
  7. 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. 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": "Email the on-call rep about positive replies that arrive on weekends",
  "trigger_type": "incoming_message",
  "trigger_config": {
    "channel_ids": [
      "-1"
    ]
  },
  "action_configs": [
    {
      "action_type": "email_notify",
      "email_to": [
        "[email protected]"
      ],
      "email_subject": "New reply needs you",
      "email_body": "<p>{{name ?? A lead}} replied:</p><p>{{message}}</p><p><a href=\"{{thread_url}}\">Open the conversation</a></p>"
    }
  ]
}'

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: "Email the on-call rep about positive replies that arrive on weekends". 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 rotate the on-call rep?

Change the email address in the action when the rota changes, or point it at a shared on-call address.

Will weekday replies also email the rep?

No. The day condition limits this workflow to Saturday and Sunday.

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