This workflow corresponds to n8n.io template #5854 — we link there as the canonical source.
This workflow follows the Agent → Google Calendar Tool recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "Axmjq8CRzbN89ft2",
"name": "TG-Bot-AI-Calendar-v1-db-agent",
"nodes": [
{
"id": "3073aa3c-ae24-4764-92b6-12d70f7910a1",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1180,
0
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "13802609-1b97-4aa9-87ad-1eb1b5419587",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1180,
-180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d40b8bf-514a-47de-8115-67457d2db0db",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1340,
-180
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "062769a8-a93d-4d89-a329-97c50663975b",
"name": "Get Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1200,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "089fd978-86d6-40b3-bea5-881d7f5f3dcf",
"name": "Create Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1400,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "64719f66-d22b-4b36-86aa-bd7204966163",
"name": "Update Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1600,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f4e98403-724b-4f0e-906d-d4f3ef758f90",
"name": "Delete Calendar Event",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
1800,
200
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "91180525-d8d7-47dd-84a7-fb2822f138e2",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ad99297b-3e0a-496a-8725-7ea2041c5614",
"name": "Is start?",
"type": "n8n-nodes-base.if",
"position": [
660,
0
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "8c3a62f7-d2dc-4913-b9c6-b2515474c1db",
"name": "Welcome message",
"type": "n8n-nodes-base.telegram",
"position": [
660,
-200
],
"parameters": {},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "a72681cd-3a63-476d-bda7-961ef16f1b11",
"name": "Variables TG",
"type": "n8n-nodes-base.set",
"position": [
220,
0
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "39e5e51e-be0c-46d9-b401-7be065df6556",
"name": "Initialization",
"type": "n8n-nodes-base.set",
"position": [
440,
0
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "750614f6-452f-49ef-aaa4-2d2ddb7b469e",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4c455bf5-316f-4596-88ac-771c1ad0a644",
"name": "Define Type",
"type": "n8n-nodes-base.switch",
"position": [
900,
0
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "994e7511-14ea-4e7c-9791-f0147a367e0a",
"name": "Send Answer",
"type": "n8n-nodes-base.telegram",
"position": [
1540,
0
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9b391475-22d5-4200-8536-1f6563fb7861",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-600,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "1991c4ec-0ab8-4c70-9f81-1f151f9b95b3",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send Answer",
"type": "main",
"index": 0
}
]
]
},
"Is start?": {
"main": [
[
{
"node": "Welcome message",
"type": "main",
"index": 0
}
],
[
{
"node": "Define Type",
"type": "main",
"index": 0
}
]
]
},
"Define Type": {
"main": [
[],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[]
]
},
"Variables TG": {
"main": [
[
{
"node": "Initialization",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Initialization": {
"main": [
[
{
"node": "Is start?",
"type": "main",
"index": 0
}
]
]
},
"Welcome message": {
"main": [
[]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Variables TG",
"type": "main",
"index": 0
}
]
]
},
"Get Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update Calendar Event": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow is for businesses and individuals who want to automate calendar management via Telegram using n8n. It’s ideal for appointment-based services, consultants, and anyone who needs to streamline event scheduling, updates, or cancellations through a simple chat interface.
Source: https://n8n.io/workflows/5854/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Telegram Trigger receives incoming messages (text, voice, photo, document). Switch routes by message type to appropriate processors: Text → forwarded as-is. Voice → downloaded and sent to Transcribe a
Transform your Telegram messenger into a powerful, multi-modal personal or team assistant. This n8n workflow creates an intelligent agent that can understand text, voice, images, and documents, and ta
Multi Agent System Benefits. Uses gmailTool, lmChatOpenAi, agent, googleCalendarTool. Event-driven trigger; 46 nodes.
> This n8n template builds Stacey, an AI assistant that runs inside Telegram. Stacey listens to your messages, understands what you want using AI, and intelligently routes commands to MCP-connected
Use cases are many: Manage your Gmail inbox, schedule calendar events, and handle contact details — all from one central AI-powered assistant. Perfect for freelancers managing clients, agency owners w