Templates / Build a trip itinerary from Gmail booking emails with Gemini and Google Sheets

Build a trip itinerary from Gmail booking emails with Gemini and Google Sheets

Ready for 3.0

by Oka Hironobu ✓ · 19 views · created 2026-07-23 · Personal Productivity, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 15 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model and Google Sheets.

How it runs

Trigger: On Gmail events.

  1. Set Your Email (Edit Fields (Set)): sets 1 field: notifyEmail
  2. Extract Booking with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Booking Parser
  3. Parse Booking Fields (Code): runs custom JavaScript code
  4. Mark Unparsed as Read (Gmail): mark as read
  5. Is a Real Booking (If): checks a condition and branches into true / false
  6. Save Booking to Itinerary (Google Sheets): append or update
  7. Mark Non-Booking as Read (Gmail): mark as read
  8. Mark Booking as Processed (Gmail): mark as read
  9. Route by Booking Type (Switch): routes items into 2 branches
  10. Email Flight Added (Gmail): uses Gmail

…plus 2 more steps. See the full node list below.

Services it uses

GmailGoogle Gemini Chat ModelGoogle Sheets

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.

Nodes used (10)

From the author

Quick Overview This workflow polls Gmail for unread travel confirmation emails, uses Google Gemini to detect real bookings and extract structured trip details, then upserts each booking into a Google Sheets itinerary and sends a tailored confirmation email…

Excerpt from Oka Hironobu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.