Automate Telegram Meetup Scheduling with n8n and AI

This workflow automates managing meetup schedules via a Telegram bot powered by n8n and AI. It saves organizers hours by fetching Google Sheets data, converting schedules to markdown, and providing instant chat responses with AI context-based intelligence.
telegramTrigger
googleSheets
agent
+7
Workflow Identifier: 1704
NODES in Use: telegramTrigger, telegram, set, googleSheets, code, agent, lmChatOpenRouter, memoryBufferWindow, switch, noOp
Automate meetup scheduling with n8n and Telegram

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow creates a Telegram bot that answers meetup schedule questions fast.

The bot reads the latest schedule from Google Sheets and formats it for AI to understand.

It uses AI to reply with correct, clear schedule info directly in Telegram.

This saves many hours every week and stops wrong info from being shared.


Tools & Services Used


How the Workflow Works (Inputs → Processing → Output)

Inputs

Processing Steps

Output


Who Should Use This Workflow

This workflow fits meetup organizers who answer lots of schedule questions.

It helps communities using Telegram to get real-time, correct updates.

Non-technical users can run it with simple setup and no manual lookups.


Beginner Step-By-Step: How to Use This Workflow in n8n

Download and Import

  1. Click the Download button on this page to get the workflow file.
  2. Inside n8n editor, choose “Import from File” and load the downloaded workflow.

Configure Credentials and Settings

  1. Add your Telegram Bot API credentials in the telegramInput and other Telegram nodes.
  2. Connect Google Sheets OAuth credentials in the Schedule node.
  3. Insert your OpenRouter API Key into the AI LLM node.
  4. Update the Google Sheets URL in the Settings node if the schedule is in a different spreadsheet.

Adjust Code or Prompts if Needed

  1. If you want to tweak how the schedule is shared, copy code below from the ScheduleToMarkdown node.
  2. Modify system message in ScheduleBot node to change AI tone.
// Get all rows from the input (each item has a "json" property)
const rows = items.map(item => item.json);

// If no data, return an appropriate message
if (rows.length === 0) {
 return [{ json: { markdown: "No data available." } }];
}

// Use the keys from the first row as the header columns
const headers = Object.keys(rows[0]);

// Build the markdown table string
let markdown = "";

// Create the header row
markdown += `| ${headers.join(" | ")} |\n`;

// Create the separator row (using dashes for markdown)
markdown += `| ${headers.map(() => '---').join(" | ")} |\n`;

// Add each data row to the table
rows.forEach(row => {
 // Ensure we output something for missing values
 const rowValues = headers.map(header => row[header] !== undefined ? row[header] : '');
 markdown += `| ${rowValues.join(" | ")} |\n`;
});

const result = { 'binary': {}, 'json': {} };

// Optionally, also return the markdown string in the json property if needed
result.json.markdown = markdown;

return result;

Test and Activate

  1. Run the workflow once manually to confirm it fetches data and replies correctly.
  2. Activate the workflow in n8n to make it live.
  3. Ensure the Telegram bot webhook is working and publicly accessible.
  4. If using self hosting n8n, review self-host n8n for hosting options.

Customizations

  • Change the Google Sheet by editing scheduleURL in the Settings node.
  • Edit AI system message in ScheduleBot to alter how detailed or friendly replies are.
  • Add new chat inputs like Slack by adding nodes and expanding the Switch node.
  • Send markdown text directly to users if preferred, by changing SetResponse node output.

Troubleshooting Common Issues

Telegram Bot Not Replying

If the bot does not answer, check the Telegram Trigger node setup and bot API keys.

Make sure “message” updates are enabled in the trigger.

Google Sheets Data Not Loading

Verify the spreadsheet URL and OAuth token permissions.

Ensure the sheet is shared properly for read access.

AI Responses Not Using Schedule

Confirm the markdown table passes correctly from ScheduleToMarkdown to ScheduleBot.

Check memory node uses chat ID as session key to keep context.


Pre-Production Checklist

  • Telegram bot webhook is active and processing messages.
  • Google Sheets data is current and accessible.
  • Test AI with sample questions to verify answers.
  • Check routing to Telegram and internal chat modes works.

Deployment Guide

Turn on the workflow in n8n and confirm Telegram webhook URL is reachable from internet.

Track workflow runs and fix any errors that appear in n8n UI.

Add logging nodes if chat history saving or audit needed later.


Summary

✓ Saves hours weekly by automating schedule Q&A.

✓ Gives fast, accurate meetup schedules in Telegram chats.

✓ Uses AI to understand and answer schedule questions with context.

→ Easy import, configure, and run in n8n with minimal setup.

→ Supports multiple chat inputs for flexible community use.


Automate meetup scheduling with n8n and Telegram

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Open the Telegram Trigger and Telegram nodes, then enter the bot API Key in their credentials section.
Check that the Google Sheets URL is correct, OAuth token has read permission, and the sheet is shared properly.
Yes. Replace the LLM node with supported AI providers and update API keys accordingly.
Add trigger and setting nodes for new chat services, then extend the Switch node to route replies correctly.
Author
Written By
Ritu Sanjali

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.