๐ฌ Send Sharetribe booking confirmation emails with calendar invites via Gmail
โก 7 views ยท ๐ฌ Support Chatbots
Description
Quick Overview
This workflow listens for accepted booking updates in Sharetribe, fetches marketplace branding and transaction details, then sends a branded Gmail confirmation email to the customer with an attached .ics calendar invite.
How it works
- Triggers every minute by polling Sharetribe for booking update events.
- Checks whether the booking state is
acceptedand stops if it is not. - Sets your marketplace URL and fetches marketplace details, branding colors, and email footer text from Sharetribe assets.
- Merges the branding data with the booking event, then retrieves the full related Sharetribe transaction including listing and user fields.
- Extracts the customer, provider, booking time, and marketplace fields and builds formatted plain-text and HTML fragments for the email body.
- Renders the final HTML email, generates a
.icscalendar invite from the booking start/end times, and sends the confirmation email via Gmail with the invite attached.
Setup
- Add Sharetribe OAuth2 credentials for the Sharetribe trigger and Sharetribe API steps.
- Update the marketplace URL value used to build links to the booking page.
- Add Gmail OAuth2 credentials and confirm the sender account used to send the confirmation email.
- Verify the booking state value (
accepted) and the asset keys used for branding color and footer text match your Sharetribe marketplace configuration.
๐ Nodes Used
Gmail
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File