Pause Mailshake outreach when a prospect books on Calendly

By General Input

The second a prospect books on Calendly, pause them in every Mailshake campaign they are on and post the handoff to Slack so cold follow-ups stop dead.

Integrations

  • Mailshake
  • Calendly
  • Slack Bot

Type

Agentic Task

Categories

  • Sales

Build me an agent workflow that pauses a prospect in every Mailshake campaign they are on the moment they book a meeting on Calendly, and then posts a short handoff note to Slack. This is the classic "stop the cold sequence once they are already talking to us" automation.

Trigger: a Calendly webhook for the invitee.created event. When the workflow runs, the payload will contain the new invitee, including their email, name, and the event type they booked.

Steps the agent should take:

1. Read the invitee email, invitee name, and event type name out of the Calendly webhook payload.

2. Use Mailshake List Campaigns to enumerate the team's active campaigns. Then for each campaign, use Mailshake Get Recipient (with campaign ID plus the invitee's email) or Mailshake List Recipients scoped by that email to find whether the prospect is on that campaign. Collect every campaign where the recipient exists and is not already paused, along with each match's recipient ID.

3. For every match, call Mailshake Pause Recipient to pause them on that campaign. Handle the multi-campaign case: pause them on all of them, not just the first.

4. If at least one campaign was paused, post a Slack Bot Send a Message to a sales channel (I will pick the channel at setup time). The message should name the prospect (name plus email), the Calendly event type they booked, and a bulleted list of the Mailshake campaigns they were paused on so the rep has a paper trail.

5. If the invitee is not on any active Mailshake campaign, exit silently. Do not post anything to Slack in that case, so the channel does not fill up with noise from bookings that never came from outreach.

Failure and edge cases: if Mailshake returns a not_found on Get Recipient for a specific campaign that is expected, just skip it and continue. If Pause Recipient fails on one campaign, still try the others and include the failure in the Slack message so the rep knows one campaign still needs a manual pause. Do not error the whole workflow just because one Mailshake call failed.

Integrations to use: Calendly (for the incoming webhook), Mailshake (List Campaigns, Get Recipient / List Recipients, Pause Recipient), and Slack Bot (Send a Message). Prefer the bot Slack integration over user Slack, because this is a workflow notification, not a message that should look like it was sent by a specific person.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensStop cold emails to anyone with a live deal in PipedriveLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seats