← All N8N workflows
AI & researchAgentChain LLMExecute Workflow TriggerFilterGmail

Calendar_scheduling

Configured with Agent, Chain LLM, Execute Workflow Trigger, Filter, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerGmail TriggerGmail TriggerAI & modelsChat OpenAIOpenAI Chat ModelSubworkflowWorkflow ToolTool WorkflowAI & modelsChat OpenAI1OpenAI Chat ModelIntegrationGoogle CalendarGoogle CalendarTriggerExecute WorkflowTriggerExecute Workflow TriggerTransformFormat responseItem ListsTransformStringify ResponseEdit FieldsTransformExtract start, end andnameEdit FieldsRoutingFilter only confirmedand with set timeFilterRoutingIs appointment requestIfAI & modelsClassify appointmentChain LLMTransformStructured OutputParserOutput Parser StructuredTransformSortItem ListsMessagingMark as readGmailMessagingSend ReplyGmailAI & modelsAgentAgent

Node categories in this workflow

  • Trigger
  • AI & models
  • Subworkflow
  • Integration
  • Transform
  • Routing
  • Messaging

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Gmail TriggerTriggerGmail TriggerSee node parameters
Chat OpenAIAI & modelsOpenAI Chat ModelSee node parameters
Workflow ToolSubworkflowTool WorkflowSee node parameters
Chat OpenAI1AI & modelsOpenAI Chat ModelSee node parameters
Google CalendarIntegrationGoogle CalendargetAll
Execute Workflow TriggerTriggerExecute Workflow TriggerSee node parameters
Format responseTransformItem ListsconcatenateItems
Stringify ResponseTransformEdit FieldsSee node parameters
Extract start, end and nameTransformEdit FieldsSee node parameters
Filter only confirmed and with set timeRoutingFilterSee node parameters
Is appointment requestRoutingIfSee node parameters
Classify appointmentAI & modelsChain LLMSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
SortTransformItem Listssort
Mark as readMessagingGmailmarkAsRead
Send ReplyMessagingGmailreply
AgentAI & modelsAgentSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2
  • googleCalendarOAuth2Api
  • openAiApi

Workflow notes

Check if incoming email is about appointment

Check if incoming email is about appointment

We use LLM to check subject and body of the email and determine if it's an appointment request.

Get calendar availability and compose a response

Get calendar availability and compose a response

Make sure to update the Workflow ID if you are running this as 2 workflows

Calendar_scheduling

Calendar_scheduling

Purpose and structure

This folder contains the Calendar_scheduling workflow. Its executable nodes use agent, chainLlm, executeWorkflowTrigger, filter, gmail, gmailTrigger, googleCalendar, if, itemLists, lmChatOpenAi, outputParserStructured, set, toolWorkflow. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Gmail Trigger, Execute Workflow Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Googlecalendar/1668_GoogleCalendar_Filter_Automation_Triggered.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Get all query google events for the next month and extract relevant data
  • Wrap the result in `response` object and return

More in AI & research