Skip to main content
Community template Uses AIPersonal ProductivityAI Chatbot

Manage Google Calendar events with Zalo Bot, OpenAI, and Gemini - n8n workflow template

This workflow lets users manage Google Calendar by sending text or voice messages to a Zalo Official Account bot, transcribing voice notes with Google Gemini and using an OpenAI-powered agent to create, update, list, or delete events, then replying in Zalo with the result. 1.…

Template by Nguyễn Thiệu Toàn (Jay Nguyen) · Original listing (opens in a new tab)

Starts on
Manual run
Nodes
13 nodes
Level
Intermediate
Setup
About 24 min

Workflow preview

How this workflow runs

  1. 1

    Start

    Starts the workflow when the Zalo Bot event occurs.

  2. 2

    Delete event

    Lets the AI agent read or create Google Calendar events as a tool.

  3. 3

    Get events

    Lets the AI agent read or create Google Calendar events as a tool.

  4. 4

    Create Event

    Lets the AI agent read or create Google Calendar events as a tool.

  5. 5

    Update Event

    Lets the AI agent read or create Google Calendar events as a tool.

  6. 6

    OpenAI Chat Model

    Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.

  7. 7

    Context

    Sets or transforms workflow data — prepares, renames, or injects fields before the next step.

  8. 8

    If Message is Voice

    Branches the workflow based on a true/false condition.

  9. 9

    Send a chat action

    Handles the Zalo Bot step in this workflow.

  10. 10

    Transcribe a recording

    Calls Google Gemini for text, vision, or audio generation.

Creator's notes and setup

Written by Nguyễn Thiệu Toàn (Jay Nguyen) for the original listing.

Quick Overview

This workflow lets users manage Google Calendar by sending text or voice messages to a Zalo Official Account bot, transcribing voice notes with Google Gemini and using an OpenAI-powered agent to create, update, list, or delete events, then replying in Zalo with the result.

How it works

  1. Receives an incoming text or voice message through a Zalo Bot trigger.
  2. Sends a typing indicator back to the Zalo chat and normalizes key message fields (chat ID, type, text, and voice URL).
  3. If the message is a voice note, sends the audio URL to Google Gemini to transcribe it into text.
  4. Sends the combined text/transcription to an OpenAI chat model agent that interprets the request in Vietnamese and decides whether to list, create, update, or delete a Google Calendar event.
  5. Uses Google Calendar tools to get events and then create, update, or delete the targeted event based on the agent’s extracted parameters.
  6. Sends the agent’s Markdown-formatted response back to the user in Zalo, and posts an error message to Zalo if the agent run fails.

Setup

  1. Install the community node package n8n-nodes-zalo-bot-official and restart n8n if required.
  2. Connect your Zalo Bot API credentials and configure the Zalo webhook URL in your Zalo Official Account so incoming messages reach this workflow.
  3. Add a Google Calendar OAuth2 credential and set the target calendar account (currently configured as ``) for all calendar operations.
  4. Add a Google Gemini (PaLM) API credential for audio transcription and ensure voice messages include a reachable voice_url.
  5. Add an OpenAI API credential, select the chat model you want to use (currently gpt-5-mini), and adjust the system prompt/tone if needed.

n8n nodes used (5 types)

What every node does (13)
  • Delete event (Google Calendar Tool)Lets the AI agent read or create Google Calendar events as a tool.
  • Get events (Google Calendar Tool)Lets the AI agent read or create Google Calendar events as a tool.
  • Create Event (Google Calendar Tool)Lets the AI agent read or create Google Calendar events as a tool.
  • Update Event (Google Calendar Tool)Lets the AI agent read or create Google Calendar events as a tool.
  • OpenAI Chat Model (LLM Chat Open AI)Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.
  • If Message is Voice (If)Branches the workflow based on a true/false condition.
  • Context (Set)Sets or transforms workflow data — prepares, renames, or injects fields before the next step.
  • Transcribe a recording (Google Gemini)Calls Google Gemini for text, vision, or audio generation.
  • Calendar Manage (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Start (Zalo Bot Trigger)Starts the workflow when the Zalo Bot event occurs.
  • Send a chat action (Zalo Bot)Handles the Zalo Bot step in this workflow.
  • Send a text message (Zalo Bot)Handles the Zalo Bot step in this workflow.
  • Send a text message1 (Zalo Bot)Handles the Zalo Bot step in this workflow.

FAQ

Manage Google Calendar events with Zalo Bot, OpenAI, and Gemini: questions

How do I import the "Manage Google Calendar events with Zalo Bot, OpenAI, and Gemini" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Manage Google Calendar events with Zalo Bot, OpenAI, and Gemini" use?

It uses If, Set, Agent, LLM Chat Open AI and Google Gemini. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Manage Google Calendar events with Zalo Bot, OpenAI, and Gemini"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Personal Productivity, AI Chatbot. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet