🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Telegram + Gmail, handle inbox and scheduling fast

Lisa Granqvist Partner Workflow Automation Expert

Your inbox isn’t “too full.” It’s just too fragmented. You spot an email, open a tab, copy a detail into another app, then lose 10 minutes getting back into focus.

Telegram Gmail automation helps when you’re moving fast and can’t afford constant context switching. A marketing manager juggling approvals feels it. A busy founder feels it too. Same with an operations lead who lives in follow-ups.

This workflow turns a single Telegram message into coordinated help: inbox actions, scheduling, quick research, and a clean reply back in the same thread. You’ll see what it solves, how it works, and what you need to run it.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Telegram + Gmail, handle inbox and scheduling fast

The Problem: Inbox and scheduling chaos lives across tabs

Email isn’t the hard part. The hard part is everything around it. You read a message, then you need to schedule a meeting, look up a detail, calculate a quick number, remember what you promised last week, and send a clean response. That “small” chain happens dozens of times. Each jump between Gmail, Calendar, search, and notes costs attention, not just minutes. And when you’re rushing, you forget the follow-up or send a half-answer that creates even more back-and-forth. Honestly, it’s exhausting.

The friction compounds. Here’s where it breaks down in real life.

  • Important requests get buried because you meant to reply “after this one thing” and never came back.
  • Scheduling takes longer than it should because you’re checking conflicts, proposing times, then rewriting the same email.
  • Quick research turns into a 12-tab rabbit hole, which means your reply gets delayed or diluted.
  • You lose thread context, so you repeat questions that were already answered earlier.

The Solution: A Telegram-based AI assistant that routes work to the right tool

This n8n workflow gives you a personal assistant you can message in Telegram. You send one request like “Reply to Sarah, propose 3 times next week, and summarize the last email thread,” or “Find the invoice email and tell me what date it’s due.” The workflow triggers instantly from Telegram, hands your message to a coordinating AI agent, then routes the task to a specialized tool based on intent. Gmail actions go to an email workflow tool, scheduling gets passed to a calendar/scheduling tool, web questions go to a lookup tool, and math gets handled by a calculator tool. The assistant keeps short-term memory, so follow-ups like “OK, book the second option” still make sense. Then it posts the final answer back into Telegram, so you stay in one place.

The workflow starts with a Telegram message. The coordinator agent decides which specialized agent should handle it, using an OpenRouter chat model and a memory buffer to keep context. Finally, the Telegram reply node sends a clean, actionable response back to you.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you handle 15 email requests a day that each require three extra actions: check Calendar, do a quick search, and write a clean reply. Manually, that’s maybe 10 minutes per request once you include context switching, so about 2.5 hours daily. With this workflow, you send one Telegram message per request (about 1 minute) and wait for the assistant’s response, which usually lands in a couple minutes. You still review before sending anything final, but you can easily get around 2 hours back on a busy day.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Telegram Bot for sending requests and receiving replies
  • OpenRouter account to run the coordinating AI chat model
  • Google API credentials (get it from Google Cloud Console)

Skill level: Intermediate. You’ll connect accounts, add API keys, and sanity-check permissions for Gmail/Calendar access.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

Telegram message kicks it off. You message your bot with what you need, like “Draft a reply and suggest meeting times” or “Summarize the last thread with Alex.” That Telegram trigger starts the workflow immediately.

The coordinator figures out intent. An AI “coordinator agent” reads your request using an OpenRouter chat model. It also checks the session memory buffer so a follow-up like “Use the earlier option” isn’t confusing.

The right specialized tool runs. Email-related tasks are routed to the email workflow tool (Gmail). Scheduling requests go to the schedule workflow tool (Calendar logic). Research questions use the web lookup tool (search/perplexity-style insights), and calculations go to the compute tool.

A single, clear response returns to Telegram. The workflow merges outputs into a final answer and sends it back via Telegram reply sender. No copying between apps, and you keep the conversation trail in one place.

You can easily modify the routing rules to prioritize Gmail over search (or the other way around) based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Telegram Trigger

Set up the workflow entry point so messages from Telegram initiate the orchestration.

  1. Add the Telegram Intake Trigger node as the trigger.
  2. Set Updates to message.
  3. In Additional Fields, set Download to true.
  4. Credential Required: Connect your telegramApi credentials for Telegram Intake Trigger.

Step 2: Configure the AI Orchestrator

Define how the agent interprets Telegram messages and orchestrates tool calls.

  1. Add Coordinator Agent and set Text to ={{ $('Telegram Intake Trigger').item.json.message.text }}.
  2. Set Prompt Type to define and keep the system message content as provided.
  3. Connect OpenRouter Chat Engine as the language model and set Model to openai/gpt-4o.
  4. Credential Required: Connect your openRouterApi credentials for OpenRouter Chat Engine.

Credential Required: AI tool nodes (Compute Tool, Schedule Workflow Tool, Email Workflow Tool, Web Lookup Tool, Session Memory Buffer, Contact Workflow Tool, LinkedIn Comment Tool, Perplexity Insight Tool) are attached to Coordinator Agent. Add credentials to the parent tool nodes where applicable, not to the agent itself.

Step 3: Attach Memory and Tooling for Orchestration

Enable memory and specialized tools so the agent can complete tasks across systems.

  1. Connect Session Memory Buffer as AI memory and set Session Key to ={{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  2. Set Session Id Type to customKey and Context Window Length to 7 in Session Memory Buffer.
  3. Attach Compute Tool to Coordinator Agent for calculations.
  4. Attach Web Lookup Tool to Coordinator Agent and keep default options.
  5. Credential Required: Connect your serpApi credentials for Web Lookup Tool.
  6. Attach Perplexity Insight Tool to Coordinator Agent and set Model to sonar with message content ={{ $('Telegram Intake Trigger').item.json.message.text }}.
  7. Credential Required: Connect your perplexityApi credentials for Perplexity Insight Tool.

⚠️ Common Pitfall: If Session Memory Buffer is not connected to Coordinator Agent as AI memory, the agent will not retain conversational context across messages.

Step 4: Configure Workflow Tools for Delegation

Link the agent to specialized sub-workflows for calendar, email, contacts, and LinkedIn tasks.

  1. In Schedule Workflow Tool, set Name to Calendar and select the workflow in Workflow ID (replace [YOUR_ID]).
  2. In Email Workflow Tool, set Name to Gmail and select the workflow in Workflow ID (replace [YOUR_ID]).
  3. In Contact Workflow Tool, set Name to Contacts and select the workflow in Workflow ID (replace [YOUR_ID]).
  4. In LinkedIn Comment Tool, select the workflow in Workflow ID (replace [YOUR_ID]) and keep the workflow input query mapping as ={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('query', ``, 'string') }}.

⚠️ Common Pitfall: If any Workflow ID remains [YOUR_ID], the tool cannot call the sub-workflow. Replace each placeholder with the correct workflow.

Step 5: Configure the Telegram Response Output

Send the agent’s final response back to the user in Telegram.

  1. Add Telegram Reply Sender connected from Coordinator Agent.
  2. Set Text to ={{ $json.output }}.
  3. Set Chat ID to ={{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  4. In Additional Fields, set Append Attribution to false.
  5. Credential Required: Connect your telegramApi credentials for Telegram Reply Sender.

Step 6: Test and Activate Your Workflow

Validate the end-to-end orchestration and then activate the workflow for production use.

  1. Click Execute Workflow and send a test message to your Telegram bot.
  2. Confirm Coordinator Agent receives the message and produces $json.output for Telegram Reply Sender.
  3. Verify the reply appears in Telegram with the expected content.
  4. Once confirmed, toggle the workflow Active to enable continuous processing.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Google credentials can expire or need specific permissions. If things break, check the connected Google account scopes and token status in your n8n credentials first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • OpenRouter/OpenAI-style prompts can be too generic out of the box. Add a short “how I write” brand voice note early, or you will keep rewriting replies.

Frequently Asked Questions

How long does it take to set up this Telegram Gmail automation automation?

About 30–60 minutes if your Telegram bot and Google credentials are ready.

Do I need coding skills to automate Telegram Gmail automation?

No. You’ll mostly paste API keys and connect Google/Telegram accounts in n8n.

Is n8n free to use for this Telegram Gmail automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenRouter usage (it depends on the model you pick, but expect small per-message costs).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Telegram Gmail automation workflow for Calendar-only scheduling?

Yes, and it’s one of the easiest changes. You can adjust the coordinator agent’s routing instructions so “meeting” requests always go to the Schedule Workflow Tool and skip the Email Workflow Tool. Common customizations include limiting web lookup for privacy, adding a stricter reply format (subject line + bullet points), and creating a new agent for a specific process like “client onboarding.”

Why is my Telegram connection failing in this workflow?

Usually the bot token is wrong or the bot can’t message you yet because the chat hasn’t been initiated. Double-check the Telegram credentials in n8n, then open Telegram and send a message to the bot so it has permission to reply. If it still fails, confirm you’re using the correct chat ID and that your n8n instance can reach Telegram (some locked-down networks block outbound requests).

How many messages can this Telegram Gmail automation automation handle?

Plenty for a personal or small-team assistant: on n8n Cloud it depends on your execution limits, and on self-hosting it mostly depends on your server and your AI provider’s rate limits.

Is this Telegram Gmail automation automation better than using Zapier or Make?

Often, yes. This workflow relies on an agent router plus multiple tools, which is the kind of branching logic that gets clumsy (and pricey) in Zapier/Make when you keep adding paths. n8n is also easier to self-host, which matters if you plan to run this all day without watching task counts. The tradeoff is setup responsibility: you will manage credentials and permissions, and you’ll want to test a few real requests to tune the routing. If you just need “Telegram message → send an email,” Zapier might be faster. Talk to an automation expert if you want help choosing.

This is the kind of assistant that pays for itself in saved attention. Set it up once, keep the conversation in Telegram, and let the workflow handle the repetitive glue work.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal