n8n

How to Automate Google Calendar Scheduling from Chat?

Chat with an AI to read and manage Google Calendar. It books, reschedules, and cancels meetings from plain text. Great for teams that get requests through chat and want faster scheduling.

Incoming chat messages start an AI Agent powered by OpenAI. The agent keeps short memory, routes tasks, and calls two tool groups. One tool group connects to Google Calendar and can search, create, update, or delete events with the correct fields. The other tool group triggers a sub workflow that converts text, generates sample user data, or returns jokes. A switch node directs the function name so the right action runs. This design removes manual clicks, captures the exact time and title, and keeps the calendar clean.

Set up Google Calendar OAuth and your OpenAI key in n8n Cloud. Activate the template to expose the tool server URLs, then paste them into the client nodes and update the domain for the SSE endpoints. Expect booking time to drop, fewer double bookings, and clear audit logs. Useful for operations teams, executive assistants, and solo founders who want a simple chat based scheduler.

What are the key features?

  • Chat trigger starts the AI conversation when a message arrives.
  • AI Agent uses OpenAI 4o with short term memory to follow context.
  • Google Calendar tools can search, create, update, and delete events.
  • MCP client and server pair to call calendar actions through SSE endpoints.
  • Sub workflow runs on demand to convert text to lower or upper case.
  • Switch node routes function names to the correct action or tool.
  • Utility tools generate random user data and return random jokes for tests.
  • AI parameter mapping uses $fromAI to pass start, end, summary, and description.

What are the benefits?

  • Reduce manual scheduling from 30 minutes to 2 minutes
  • Automate up to 80 percent of chat based meeting requests
  • Improve calendar accuracy by capturing exact times and titles
  • Connect chat and Google Calendar in one flow
  • Handle 10 times more booking requests 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 Google Calendar and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. Open the AI Agent node and select your OpenAI credential. If none exists, double click the node, choose the credential dropdown, click Create new credential, and follow the on screen steps to add your OpenAI API key.
  4. Set up Google Calendar OAuth in n8n Cloud. Double click any Google Calendar node, open the credential dropdown, click Create new credential, and follow the prompts to sign in to your Google account and grant calendar access. Name the credential clearly, for example Google Calendar main.
  5. In each Google Calendar node, select the same credential and choose the correct calendar from the calendar field. Confirm your time zone matches your business hours.
  6. Activate the workflow. This publishes the MCP server endpoints. Copy the Production URL from the Google Calendar MCP trigger and the My Functions Server trigger.
  7. Open the MCP client tool nodes named Calendar MCP and My Functions. Paste the Production URLs into their SSE endpoint fields and replace the domain with your n8n domain if needed.
  8. Open the sub workflow tool Convert Text. Ensure workflowId points to this workflow and that function_name and payload text fields are present.
  9. Test the calendar actions. In the chat panel, send Add a meeting with John tomorrow at 2pm. Check Google Calendar for the new event. Try moving the time and then cancel it to verify update and delete.
  10. Test the utility tools. Send Use your tools to convert this text to lower case: EXAMPLE TeXt. Then request Generate 5 random user data and Obtain 3 jokes. Confirm outputs return as expected.
  11. Troubleshoot common issues: if calendar calls fail, re authenticate the Google credential. If dates look wrong, check time zone fields. If tools do not respond, make sure the workflow is active and the SSE endpoints match the Production URLs.

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

Credits:
Credential help video: YouTube video.

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.