Handle theater ticket bookings with Anthropic, Google Sheets, SendGrid, and Twilio
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model. It also calls sheets.googleapis.com and api.sendgrid.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prepare Booking Context (Edit Fields (Set)): sets 11 fields: showName, showDate, showTime…
- AI - Validate & Normalize Booking (AI Agent): runs an AI agent, with model: Anthropic - Validation Model
- JS - Parse Validation Output (Code): runs custom JavaScript code
- Filter: keeps only the items that match a condition
- Wait: pauses before continuing
- Fetch Seat Map from Google Sheets (HTTP Request): calls an HTTP API
- JS - Check Availability & Assign Seats (Code): runs custom JavaScript code
- Filter: keeps only the items that match a condition
- JS - Calculate Ticket Pricing (Code): runs custom JavaScript code
- Wait: pauses before continuing
…plus 8 more steps. See the full node list below.
Services it uses
Other Anthropic + Google Sheets templates (261) · Other Twilio + Google Sheets templates (89) · Other Google Sheets + SendGrid templates (49)
HTTP calls to: sheets.googleapis.com, api.sendgrid.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI - Validate & Normalize Booking (v1.6), AI - Generate Confirmation Message (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI - Validate & Normalize Booking (v1.6), AI - Generate Confirmation Message (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow receives theater ticket booking requests via webhook, validates and normalizes them with Anthropic Claude, assigns seats and calculates pricing from a Google Sheets seat map, then logs the booking, sends confirmation via SendGrid…