Skip to main content

Telegram appointment scheduler bot with Google Calendar & Sheets

Workflow preview

Workflow preview
100%
Telegram appointment scheduler bot with Google Calendar & Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Telegram Appointment Scheduling Bot with n8n Description Tired of managing appointments manually? This template transforms your Telegram account into a smart virtual assistant that handles the e...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.switch, n8n-nodes-base.code, n8n-nodes-base.googlecalendar, n8n-nodes-base.telegram, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Club de Inteligencia Artificial Politécnico CIAP.

Original n8n.io source

1.1 Workflow description

Title
Telegram appointment scheduler bot with Google Calendar & Sheets
Workflow name
Telegram appointment scheduler bot with Google Calendar & Sheets

Telegram Appointment Scheduling Bot with n8n

📃 Description

Tired of managing appointments manually? This template transforms your Telegram account into a smart virtual assistant that handles the entire scheduling process for you, 24/7.

This workflow allows you to deploy a fully functional Telegram bot that not only schedules appointments but also checks real-time availability in your Google Calendar, logs a history in Google Sheets, and allows your clients to cancel or view their upcoming appointments. It's the perfect solution for professionals, small businesses, or anyone looking to automate their booking system professionally and effortlessly.


✨ Key Features

  • Complete Appointment Management: Allows users to schedule, cancel, and list their future appointments.
  • Conflict Prevention: Integrates with Google Calendar to check availability before confirming a booking, eliminating the risk of double-booking.
  • Automatic Logging: Every confirmed appointment is saved to a row in Google Sheets, creating a perfect database for tracking and analysis.
  • Smart Interaction: The bot handles unrecognized commands and guides the user, ensuring a smooth experience.
  • Easy to Adapt: Connect your own accounts, customize messages, and tailor it to your business needs in minutes.

🚀 Setup

Follow these steps to deploy your own instance of this bot:

1. Prerequisites

  • An n8n instance (Cloud or self-hosted).
  • A Telegram account.
  • A Google account.

2. Telegram Bot

  1. Talk to @BotFather on Telegram.
  2. Create a new bot using /newbot.
  3. Give it a name and a username.
  4. Copy and save the API token it provides.

3. Google Cloud & APIs

  1. Go to the Google Cloud Console.
  2. Create a new project.
  3. Enable the Google Calendar API and Google Sheets API.
  4. Create OAuth 2.0 Client ID credentials. Make sure to add your n8n instance's OAuth redirect URL.
  5. Save the Client ID and Client Secret.

4. Google Sheets

  1. Create a new spreadsheet in Google Sheets.
  2. Define the column headers in the first row. For example: id, Client Name, Date and Time, ISO Date.

5. n8n

  1. Import the workflow JSON file into your n8n instance.
  2. Set up the credentials:
    • Telegram: Create a new credential and paste your bot's token.
    • Google Calendar & Google Sheets (OAuth2): Create a new credential and paste the Client ID and Client Secret from the Google Cloud Console.
  3. Review the Google Calendar and Google Sheets nodes to select your correct calendar and spreadsheet.
  4. Activate the workflow!

💬 Usage

Once the bot is running, you can interact with it using the following commands in Telegram:

  • To start the bot: /start
  • To schedule a new appointment: agendar YYYY-MM-DD HH:MM Your Full Name
  • To cancel an existing appointment: cancelar YYYY-MM-DD HH:MM Your Full Name
  • To view your future appointments: mis citas Your Full Name

👥 Authors

  • Jaren Pazmiño President of the Polytechnic Artificial Intelligence Club (CIAP)

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 3 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Create an event

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 5 - Respuesta de Cita Agendada

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Respuesta Bot Inicial

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - Get many events

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 8 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - Respuesta Hora no disponible

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 10 - Agregar cita en Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Respuesta Bot Defecto

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 12 - Code in JavaScript1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Get many events1

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 14 - If1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Delete an event

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 16 - Delete rows or columns from sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 17 - Respuesta Cita Cancelada

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 18 - Respuesta Cita no encontrada

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 19 - Code in JavaScript2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Buscar cita agendada

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 21 - Buscar citas de cliente

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 22 - If2

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - Respuesta Citas no encontradas

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 24 - Code in JavaScript3

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Telegram appointment scheduler bot with Google Calendar & Sheets
Complexity advanced
Nodes 32
Categories Support Chatbot, AI Chatbot
Author Club de Inteligencia Artificial Politécnico CIAP
Published 22 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8809/8809.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Telegram appointment scheduler bot with Google Calendar & Sheets do?

Telegram Appointment Scheduling Bot with n8n Description Tired of managing appointments manually? This template transforms your Telegram account into a smart virtual assistant that handles the e...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.