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.

WP Booking Calendar Automations

How to Post a Slack Message When a New Booking Is Made in WP Booking Calendar

New bookings are easy to miss in an admin screen nobody is watching. Zapify can post to Slack the moment one is made, using the A booking is scheduled trigger and the Send a Slack message action. WP Booking Calendar and Slack are Zapify PRO integrations.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A booking is scheduled (WPBC_BOOKING_SCHEDULED, WP Booking Calendar)
  • Action: Send a Slack message (SLACK_SEND_MESSAGE, Slack)

PRO feature

WP Booking Calendar and Slack are Zapify PRO integrations. Both the trigger and the Slack action used in this automation need an active Zapify PRO licence.

The trigger fires when a booking is first made, whether it is approved straight away or waits for you. It runs once per booking.

Before you start

  • WP Booking Calendar installed and active.
  • A Slack app for your workspace with a bot user OAuth token (starts xoxb-) and the chat:write permission.
  • 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 new bookings.

Create a new automation

Step 3: Add the "A booking is scheduled" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose WP Booking Calendar as the app.

Select WP Booking Calendar as the trigger app

  1. Select the trigger A booking is scheduled.

Select A booking is scheduled

This trigger has nothing to configure: it runs for every booking that reaches this status.

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 (#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: #bookings
  • Message: 📅 New booking: {Attendee name} ({Attendee email}) booked {Event title} from {Event start} to {Event end}

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

Make a test booking on your site. 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 The name and email from your booking form.
Booking ID The booking's number in Booking Calendar.
Booking status Where the booking stands: scheduled, approved, pending or cancelled.
Number of spaces The number of visitors, if your form asks for it; otherwise 1.
Event title The name of the booked resource, such as a room, a chair or a service. Booking Calendar has no events, so this is what was booked.
Event ID The resource's numeric ID.
Event start / Event end The first and the last date of the booking.

Conclusion

With the A booking is scheduled trigger and the Send a Slack message action, your team sees every new booking as it arrives. To email the customer when you approve it, see sending an email when a booking is approved.

FAQs

Is this free in Zapify?

No. Both the WP Booking Calendar 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 for bookings I add in the admin?

It fires for bookings that WP Booking Calendar announces as new, which includes those added in the admin. Check Zapify → Logs after a test.

Can I see which room or service was booked?

Yes. The Event title token holds the name of the booked resource.

Do I need to write any code?

No. Everything is configured visually in the Zapify builder.

Was this page helpful?