Book confirmed webhook appointments in Google Calendar using a POST endpoint
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Calendar.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate Request (Code): runs custom JavaScript code
- Request Is Valid (If): checks a condition and branches into true / false
- Check Calendar (Google Calendar): availability (calendar)
- Return Invalid (Respond to Webhook): sends the response back to the webhook caller
- Validate Calendar Result (Code): runs custom JavaScript code
- Return Provider Error (Respond to Webhook): sends the response back to the webhook caller
- Interval Is Available (If): checks a condition and branches into true / false
- Create Appointment (Google Calendar): create (event)
- Return Busy (Respond to Webhook): sends the response back to the webhook caller
- Confirm Created Event (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Calendar
n8n-nodes-base.googleCalendar - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview Turn confirmed appointment requests into private Google Calendar events. This webhook workflow validates the request, checks availability, verifies the created event and returns clear outcomes for invalid, busy or unconfirmed bookings. How it…