n8n

How to Convert Natural Language to Google Calendar Actions?

Use natural language to manage meetings in Google Calendar. A smart agent reads a simple text request and creates, updates, finds, or cancels events. Great for chatbots, forms, and internal teams that need fast scheduling without jumping between apps.

An incoming call from another n8n flow starts the job. The request text goes to an OpenAI model that powers a Calendar Agent. The agent then uses Google Calendar tools to create events with or without attendees, search the calendar around the requested date to avoid conflicts, change start and end times, or delete an event by ID. Key details like title, start, end, attendee email, and event ID are pulled from the text. A clear message returns on success, or a friendly try again message if the request cannot be done.

Setup is simple. Connect your Google account and your OpenAI key, then direct your parent flow to call this subflow with a query field. Expect booking work to drop from minutes to seconds and fewer double bookings thanks to the event lookup step. Helpful for service desks, sales teams, and internal bots that turn plain text into calendar actions.

What are the key features?

  • Callable subflow that runs when executed by another workflow.
  • OpenAI powered agent understands plain text scheduling requests.
  • Create events with or without attendees, including title, start, and end.
  • Find events by searching one day before and one day after a requested date.
  • Update event start and end times using a provided event ID.
  • Delete events by event ID when a cancellation is requested.
  • Clear success response or a try again message for simple error handling.

What are the benefits?

  • Reduce manual scheduling from 10 minutes to under 1 minute
  • Automate up to 90 percent of event changes and edits
  • Cut double booking risk by checking nearby dates for conflicts
  • Connect OpenAI and Google Calendar in one place
  • Handle many requests from other flows without extra staff

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and Google Calendar. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create an OpenAI API Key credential. Get your key from your OpenAI account API page and paste it into the credential.
  4. Open the OpenAI Chat Model node and select your OpenAI credential from the dropdown. Save the node.
  5. Open any Google Calendar tool node and, in the credential dropdown, click Create new credential for Google Calendar OAuth2. Follow the on screen steps to grant access to your Google account.
  6. In each Google Calendar node, choose the correct calendar from the Calendar field. Replace any hardcoded calendar with your own primary calendar or the target calendar.
  7. Open the When Executed by Another Workflow trigger and note the workflow name or ID. Your parent workflow will call this subflow and pass a JSON payload with a query field.
  8. In your parent workflow, add an Execute Workflow node. Select this subflow and pass a sample JSON such as {"query":"Create a meeting with Sara on Friday at 2 pm for 30 minutes"}.
  9. Run the parent workflow and check the returned response field. Confirm a success message appears. Then open Google Calendar to verify the event title, times, and attendee.
  10. Test updates by sending a query that changes the time and includes the event ID. For deletes, include the event ID so the agent can remove the right event.
  11. If you see permission errors, recheck the Google Calendar credential and ensure the right calendar is selected. If times look wrong, confirm the timezone in your Google Calendar and in your n8n instance.
  12. Adjust the agent system message if your team needs stricter rules for event titles or durations. Log the response from the Success node to track outcomes.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Calendar

Sign up

Free: $0; all Google Calendar API usage is at no additional cost; quota limits apply (no charges for overages).

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.