Skip to main content

Automate event scheduling from emails with Gmail & Google Calendar keywords

Workflow preview

Workflow preview
100%
Automate event scheduling from emails with Gmail & Google Calendar keywords preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How It Works This workflow operates as an automated personal assistant for your calendar. It l...

Best for

  • Personal Productivity automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.gmailtrigger, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.googlecalendar, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Marth.

Original n8n.io source

1.1 Workflow description

Title
Automate event scheduling from emails with Gmail & Google Calendar keywords
Workflow name
Automate event scheduling from emails with Gmail & Google Calendar keywords

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

⚙ How It Works

This workflow operates as an automated personal assistant for your calendar. It listens to your Gmail inbox for new emails. When an email arrives, it checks the subject and body for keywords like "Meeting" or "Appointment." If a match is found, the workflow extracts key details from the email and automatically creates a new event on your Google Calendar, eliminating the need for manual data entry.


Setup Steps

Follow these steps to get the workflow running in your n8n instance.

1. Prerequisites

You'll need a working n8n instance and access to both your Gmail and Google Calendar accounts.

2. Workflow Import

Import the workflow's JSON file into your n8n instance. All the necessary nodes will appear on your canvas.

3. Configure Credentials

  1. Click on the Gmail Trigger node and Google Calendar node.
  2. You will see a red error icon indicating that credentials are not set. Click on it.
  3. Click "Create new credential" and follow the instructions to connect your Gmail and Google Calendar accounts.

4. Customize the If Node

This node determines which emails will trigger a calendar event.

  1. Click on the If node.
  2. Review the Value 2 field under the conditions. This is where you specify the keywords that should trigger an event.
  3. You can add more keywords by clicking "Add Condition" and using the OR operator (e.g., add call, interview, or demo).

5. Customize the Code Node

This node extracts the event details from your email. The current code is a basic example using regular expressions to find a date and time.

  1. Click on the Code node.
  2. Review the code. You may need to adjust the regular expressions if your emails have a different format for dates and times.
  3. The node will output a JSON object containing the title, date, and time that will be used to create your calendar event.

6. Configure the Google Calendar Node

This is the final node that creates the event.

  1. Click on the Google Calendar node.
  2. In the Calendar ID field, enter the ID of the specific calendar you want the events to be created on. You can find this in your Google Calendar settings.

7. Activate the Workflow

  1. Once all credentials and node configurations are complete, click "Save" at the top of the canvas.
  2. Finally, toggle the workflow to "Active". The workflow is now live and will automatically schedule events for you.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Watch for New Emails

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 2 - Check for Keywords

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Extract Event Details

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Create Event

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate event scheduling from emails with Gmail & Google Calendar keywords
Complexity intermediate
Nodes 6
Categories Personal Productivity, Multimodal AI
Author Marth
Published 10 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7218/7218.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate event scheduling from emails with Gmail & Google Calendar keywords do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. How It Works This workflow operates as an automated personal assistant for your calendar. It l...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, Multimodal AI use case.