Action GemBooking

This guide shows how to add a GemBooking action, such as Create Booking, to your Zaplane workflow so bookings are created automatically when something happens on your site. Make sure the GemBooking plugin is installed and active before you begin.

Step 1: Create a Workflow

Go to Zaplane > Workflows from your WordPress dashboard, then click Create Workflow to open the workflow editor.

Before adding a GemBooking action, you need to set up a trigger first. Here is how to do it quickly:

Click Select an app under the Trigger box, then choose Apps.
Search for and select your trigger app — in this example, we are using aBlocks Contact Form.
Choose the Trigger Type that matches the event you want to watch for, then click Continue.
On the Configure tab, set up any required options, then click Continue.
On the Test tab, click Test Trigger to confirm it is working correctly, then click Save.

Once your trigger is saved, proceed to the next step to add the GemBooking action.

Step 2: Add an Action

Click the + button next to your trigger node. In the Add Action panel, choose Apps.

Add an Action

Step 3: Select the GemBooking App

Select GemBooking from the app list and click Continue.

Select the GemBooking App

Step 4: Choose the Action Type

Open the Action Type dropdown and pick what GemBooking should do. GemBooking offers several actions, such as creating, rescheduling or cancelling a booking. Here we use Create Booking. Click Continue.

Choose the Action Type

Step 5: Configure the Action

On the Configure tab, choose the Booking Type and the Bookable from the dropdowns. Both fields are required. Click Continue.

Configure the Action

Step 6: Test the Action

On the Test tab, click Test Action to check that the action works, then click Save.

 Test the Action

Step 7: Update and Activate the Workflow

Your workflow now shows the trigger followed by the Create Booking action. Make sure the status is Active, then click Update in the top-right corner to save and activate the workflow.

Update and Activate the Workflow

Every time your trigger fires, Zaplane now creates a booking in GemBooking automatically.

Done!

GemBooking is now connected to your Zaplane workflow as an action.