Skip to content
AI Agents

Process Telegram messages and document them in Google Docs with AI

13 nodes 561 184 Webhook
Download

Loading workflow…

Workflow Description

Automation that receives messages from Telegram via webhook, processes them through an AI agent with conversation memory, then formats the results and automatically appends them to a designated Google Docs document.

How it works

  1. 1.Receive Telegram message through webhook and trigger the workflow
  2. 2.Process text using AI agent while maintaining conversation history context
  3. 3.Write the final output to Google Docs

Use cases

  • Document team notes and ideas from Telegram directly into a shared document
  • Create an adaptive journal or memo log that evolves based on Telegram messages
  • Collect customer questions from a Telegram channel and store AI-generated responses

Requirements

  • Active Telegram account with configured webhook endpoint
  • Valid OpenAI API key
  • Write permissions on the target Google Docs document

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

If Telegram Webhook Set AI Agent Merge Chat Trigger Google Docs OpenAI

Details

Trigger Webhook
Nodes 13
Apps 9
Views 561
Downloads 184

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (13)

/

Check User & Chat ID

If

#1

Error message

Set

#2

Sticky Note

Sticky Note

#3

Listen for Telegram Events

Webhook

#4

Sticky Note1

Sticky Note

#5

Validation

Set

#6

Sticky Note4

Sticky Note

#7

Message Router

Switch

#8

AI Agent

Agent

#9

Merge

Merge

#10

When chat message received

Chat Trigger

#11

Sticky Note10

Sticky Note

#12

Telegram Response

Set

#13

Save Long Term Memories

Google Docs Tool

#14

Sticky Note3

Sticky Note

#15

Retrieve Long Term Memories

Google Docs

#16

Sticky Note5

Sticky Note

#17

Sticky Note6

Sticky Note

#18

Response Error message

Set

#19

Sticky Note12

Sticky Note

#20

DeepSeek-V3 Chat

OpenAI

#21
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime