This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
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.
Follow these steps to get the workflow running in your n8n instance.
You'll need a working n8n instance and access to both your Gmail and Google Calendar accounts.
Import the workflow's JSON file into your n8n instance. All the necessary nodes will appear on your canvas.
Gmail Trigger
node and Google Calendar
node.If
NodeThis node determines which emails will trigger a calendar event.
If
node.Value 2
field under the conditions. This is where you specify the keywords that should trigger an event.OR
operator (e.g., add call
, interview
, or demo
).Code
NodeThis node extracts the event details from your email. The current code is a basic example using regular expressions to find a date and time.
Code
node.title
, date
, and time
that will be used to create your calendar event.Google Calendar
NodeThis is the final node that creates the event.
Google Calendar
node.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.