Zapier Integration¶
Zapier is a popular automation tool that allows you to connect different apps without writing code. You can receive TBT booking events in Zapier to trigger workflows like sending emails, adding rows to Google Sheets, or creating tasks in Trello.
Prerequisites¶
- A Zapier account.
- Your TBT Operator account needs to be configured with the Zapier Webhook URL (see step 4).
Setup Guide¶
1. Create a New Zap¶
- Log in to Zapier and click "Create Zap".
- Click on the "Trigger" block.
2. Configure the Webhooks Trigger¶
- Search for "Webhooks by Zapier" and select it.
- In the Event dropdown, select "Catch Hook".
- Click Continue.
- (Optional) You can ignore the "Pick off a Child Key" setting for now. Click Continue.
3. Get Your Webhook URL¶
Zapier will generate a unique URL for this trigger. It looks like:
https://hooks.zapier.com/hooks/catch/123456/abcdef/
- Copy this URL.
4. Connect to TBT¶
- Email [email protected].
- Subject: "Add Operator Webhook URL".
- Body: Please set my operator webhook URL to:
[Paste your Zapier URL here].
5. Test the Trigger¶
Once TBT support confirms your URL is set:
- Go back to Zapier.
- Click "Test trigger".
- Zapier will wait for an event. You can wait for a real booking or ask TBT support to trigger a test event.
- Once an event is received, you will see the JSON data (Booking ID, Customer Name, etc.).
- Click "Continue with selected record".
6. Add an Action¶
Now that your Zap is receiving data, you can add an Action.
Example: Add Booking to Google Sheets
- Click the "+" (Action) button.
- Search for "Google Sheets".
- Event: "Create Spreadsheet Row".
- Connect your Google account and select your spreadsheet.
- Map the fields from the TBT Webhook to your spreadsheet columns:
- Name ->
payload.booking.contact_first_namepayload.booking.contact_last_name - Route ->
payload.booking.route_name - Date ->
payload.booking.date_departure
- Name ->
- Test and Publish your Zap.
Your automation is now live! Every time a booking is paid on TBT, your Zap will run.