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:
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.
Step 3: Select the GemBooking App
Select GemBooking from the app list and click Continue.
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.
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.
Step 6: Test the Action
On the Test tab, click Test Action to check that the action works, then click Save.
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.
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.
