Send Sharetribe booking confirmation emails with calendar invites via Gmail

Go to Workflow
1 views
Built by Greg Long Greg Long
Created on June 05, 2026

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 accepted and 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 .ics calendar 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 (3)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
HTML
n8n-nodes-base.html