Overview
Build an n8n workflow where a Telegram message starts an AI agent that picks an image from your shared folder, drafts a caption per network and sends the drafts back to you for approval before posting.
Problem or Objective
- Which agents can draft posts and schedule them across your social accounts?
- Which agents run multi-step workflows across your apps?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Telegram
- Prerequisites
- An n8n instance, a Telegram bot token, an LLM provider, file storage and social network accounts connected through n8n integrations.
How It Works
Create a Telegram bot and add its credentials to n8n. Start a workflow with the Telegram Trigger on new messages from your own chat only. Pass the request to an AI Agent node with tools for your file storage, so it can search a folder of approved images, and give it a style guide for each network. Have it return one draft caption per network plus the chosen image, and send them back to you with the Telegram node. Reply in Telegram with approve, an edit, or reject; a second branch triggered by your reply posts only approved drafts through the integrations for your networks and confirms what went out. Log every request, draft and decision in a sheet so you can review them later.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Telegram.
- Check the prerequisitesAn n8n instance, a Telegram bot token, an LLM provider, file storage and social network accounts connected through n8n integrations.
- Gather your detailsCollect what the prompt asks for: Brand or account name, Message from Telegram, Folder of approved images, Networks to write for, Style guide.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Draft network-specific posts for approval
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You prepare social posts for [Brand or account name]. Request from Telegram: [Message from Telegram]. Search the folder [Folder of approved images] for the best matching approved image. Write one caption for each of [Networks to write for], following this style guide: [Style guide]. Return the image name and the captions as drafts only. Never post anything yourself; drafts are sent back to me in Telegram, and only drafts I reply approve to may be published.Drafts come back to you in Telegram. Reply approve, edit or reject; the posting branch runs only for drafts you approved.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. n8n's docs say the Telegram Trigger can fire on any new incoming message, the Telegram node sends messages, photos and documents to a chat, the AI Agent node lets a chat model decide which connected tools to call, and the README mentions workflows with human approvals. Whether your file storage and each social network have suitable n8n integrations was not verified, and caption quality is untested here.
Limitations and Considerations
Restrict the bot to your own chat ID so nobody else can trigger posts. Check that n8n offers an integration for each network you use and what account permissions it needs, and read each network's rules on automated posting. Only use images you have the rights to. Nothing should post without your approval reply, so test the approval branch with a private test account first. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Telegram Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:52 UTC
What this source supports
- Message: Trigger on new incoming message of any kind, text, photo, sticker, and so on.
- Telegram | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 07:07 UTC
What this source supports
- Use the Telegram node to automate work in Telegram and integrate Telegram with other applications.
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The AI Agent node lets you build an AI agent in n8n. Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- n8n-io/n8n README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Design multi-step AI workflows with logic, tool use, human approvals, and full observability

