Skip to content
00Days
00Hours
00Mins
00Secs
Black Friday: 50% off Zapify Pro Black Friday & Cyber Monday — use code BFCM26 at checkout. Ends 3 December.

Events Manager Automations

How to Post a Slack Message When Someone Cancels an Events Manager Booking

A cancelled booking is a free place, and the sooner your team knows the sooner it can be filled. Zapify can post to Slack the moment a booking is cancelled, using the A user cancels or unregisters from an event trigger and the Send a Slack message action. Events Manager and Slack are Zapify PRO integrations.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A user cancels or unregisters from an event (EM_BOOKING_CANCELLED, Events Manager)
  • Action: Send a Slack message (SLACK_SEND_MESSAGE, Slack)

PRO feature

Events Manager and Slack are Zapify PRO integrations. Both the trigger and the Slack action used in this automation need an active Zapify PRO licence.

Admin cancellations count too

The trigger fires when a booking moves to Cancelled, whether the attendee cancelled it from their account or you cancelled it in the admin.

Before you start

  • Events Manager installed and active.
  • A Slack app for your workspace with a bot user OAuth token (starts xoxb-) and the chat:write permission — see Slack's authentication basics if you are setting one up for the first time.
  • The bot invited into the channel you want it to post to.

How to build the automation

Step 1: Connect Slack

  1. Go to Settings → Connections and click Add New.

Connections Tab

  1. Choose Slack, paste in the bot user OAuth token, and name the connection something like Team Slack.

Complete the Slack connection settings

  1. Save.

See Connections for how this screen works generally.

Step 2: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Tell the team about cancellations.

Create a new automation

Step 3: Add the "A user cancels or unregisters from an event" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Events Manager as the app.

Select Events Manager as the trigger app

  1. Select the trigger A user cancels or unregisters from an event.

Select A user cancels or unregisters from an event

  1. Configure the trigger:
Field Required What it does
Event Yes Pick the event to watch, or leave it on Any event.

Step 4: Add the "Send a Slack message" action

  1. Click Add Action.

Add an action

  1. Choose Slack as the app.

Select Slack as the action

  1. Select Send a Slack message.

Select Send a Slack message

Step 5: Configure the message

Field Required What it does
Connection Yes The Slack connection you set up in Step 1.
Channel Yes A channel name (#event-bookings) or ID. The bot must already be a member.
Message Yes The text to post. Insert the tokens to say what happened.
Post as No Overrides the bot's display name for this message.

For example:

  • Channel: #event-bookings
  • Message: ❌ {Attendee name} cancelled {Number of spaces} place(s) for {Event title} on {Event start}

Step 6: Set the steps Live and save

Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.

  1. Set the trigger and every action to Live.
  2. Click Save.

Set the automation live

Step 7: Test it

Cancel a test booking in Events → Bookings. The message should appear in the channel within a minute, or open Zapify → Logs to see what Slack answered.

Tokens you can use

Token What it holds
Attendee name / Attendee email Who the booking is for.
Booking ID The booking's number.
Booking status Where the booking stands, such as approved or cancelled.
Tickets The tickets booked, for example Adult × 2.
Number of spaces How many places the booking takes.
Event title / Event URL The event and a link to it.
Event start / Event end When it begins and ends.
Venue name Where it takes place.
Event ID The numeric ID, for advanced use.

Conclusion

With the A user cancels or unregisters from an event trigger and the Send a Slack message action, your team hears about every cancellation as it happens. To announce new events as well, see posting to Slack when an event is published.

FAQs

Is this free in Zapify?

No. Both the Events Manager trigger and the Slack action need an active Zapify PRO licence, and Slack also needs a Connection.

Why did Slack say the channel was not found?

The bot has to be invited into the channel first. Type /invite @YourBot in the channel, then run the automation again.

Does it fire when I cancel a booking myself?

Yes. Any move to Cancelled starts it.

Can I watch only one event?

Yes. Pick the event in the Event field, or leave it on Any event.

Do I need to write any code?

No. Everything is configured visually in the Zapify builder.

Was this page helpful?