Templates / Handle Gmail reply-based scheduling with Google Calendar and GPT-4o-mini

Handle Gmail reply-based scheduling with Google Calendar and GPT-4o-mini

Ready for 3.0

by kota ✓ · 108 views · created 2025-12-26 · Personal Productivity

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-10-19.

What this workflow does

This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI, Google Calendar and Gmail.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Sample Input (Edit Fields (Set)): sets 2 fields: text, timezone
  2. Normalize Incoming Reply (Edit Fields (Set)): sets 3 fields: reply_text, from_email, thread_id
  3. Message a model (OpenAI): uses OpenAI
  4. Check Selected Option (1 or 2) (If): checks a condition and branches into true / false
  5. Prepare Calendar Payload (Edit Fields (Set)): sets 3 fields: title, start_datetime, end_datetime
  6. Prepare Confirmed Slot Data (Edit Fields (Set)): sets 5 fields: selected_option, chosen_start, chosen_end…
  7. Prepare Alternative Request (Edit Fields (Set)): sets 2 fields: is_valid_reply, reply_reason
  8. Get availability in a calendar (Google Calendar): work with calendar
  9. Is Valid Confirmation (If): checks a condition and branches into true / false
  10. If: checks a condition and branches into true / false

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

Services it uses

OpenAIGoogle CalendarGmail

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger (User Reply)).

Nodes used (7)

From the author

Reply Handling (Optional Extension) This optional workflow handles email replies after availability options have been sent. It extends the main scheduling flow by enabling two-way, email-based confirmation. What this extension does Listens for user replies…

Excerpt from kota'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.