OpenClaw Clone 🦞: Expandable Personal Telegram AI Agent Template
UnknownWhat this workflow does
This AI workflow has 78 nodes and runs on a schedule (every day) (plus 8 other triggers). Along the way it connects Telegram, OpenAI, Google Gemini Chat Model and Postgres Chat Memory and 13 more.
How it runs
Trigger: On a schedule (every day) (plus 8 other triggers).
- Set up istruction (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Normalization (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Code: runs custom JavaScript code
- OpenClaw Agents (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 14 tools (RAG Agent, Calculator, Escalation, Gmail Agent…); memory: Postgres Chat Memory
- Switch: routes items into 3 branches
- From audio to audio? (If): checks a condition and branches into true / false
- Get Text (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Get voice message (Telegram): work with file
- Get image file (Telegram): work with file
- Generate Audio Response (OpenAI): work with audio
…plus 7 more steps. See the full node list below.
Services it uses
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-scrapegraphai is verified or supports 3.0 (used in Scraper Agent).
Nodes used (30)
- Code
n8n-nodes-base.code - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - FTP
n8n-nodes-base.ftp - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail Tool
n8n-nodes-base.gmailTool - MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Google Drive Tool
n8n-nodes-base.googleDriveTool - Google Docs Tool
n8n-nodes-base.googleDocsTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Google Slides Tool
n8n-nodes-base.googleSlidesTool - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Perplexity Tool
n8n-nodes-base.perplexityTool - Scrapegraph Ai Tool
n8n-nodes-scrapegraphai.scrapegraphAiTool - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Reranker Cohere
@n8n/n8n-nodes-langchain.rerankerCohere - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - If
n8n-nodes-base.if - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Telegram Tool
n8n-nodes-base.telegramTool - Telegram Hitl Tool
n8n-nodes-base.telegramHitlTool
From the author
This workflow implements an advanced AI automation agent (OpenClaw Agent) that interacts with users through Telegram and integrates multiple AI models, external tools, and cloud services to automate complex tasks. I've described my basic idea in this video.…