Post to Telegram from Hermes Agent
Hermes Agent can send and schedule Telegram channel and group messages through Postiz. Once the Postiz skill is installed, you message Hermes from Discord, Slack, WhatsApp, or even Telegram itself and tell it what to post. It formats the message, attaches uploaded media, and schedules delivery through the Postiz Telegram bot.
Please make sure there is always a human in the loop.
Last updated: September 2026
Post to Telegram in Seconds
Setup, then just ask
# One-time setup
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then just ask Hermes Agent:
> Send the launch announcement to my
Telegram channel tomorrow at 9am
Hermes Agent: Done! Your Telegram post is scheduled.Telegram-Specific Features
Channel Messaging
Post messages directly to your Telegram channels. Reach all subscribers with announcements, updates, and content.
Group Messaging
Send messages to Telegram groups. Keep your community engaged with scheduled posts and automated content delivery.
Bot-Powered
Powered by the Telegram Bot API via BotFather. Create a bot, add it to your channel or group, and start posting just by asking Hermes Agent.
Media Sharing
Share images, videos, and documents alongside your messages. Upload media through Postiz and include it in your Telegram posts.
Scheduled Messages
Schedule messages for optimal delivery times with ISO timestamps. Plan your Telegram content calendar in advance.
Minimal Config
Telegram uses a streamlined setup — once connected, Hermes Agent routes messages to the right channel automatically. No complex platform-specific settings required.
How to post to Telegram from Hermes Agent
You describe what you want in plain language and Hermes Agent handles the Postiz calls for you. Here is how a typical conversation goes.
Set Up Your Telegram Bot
Create a bot using BotFather on Telegram, then add it to your channel or group as an administrator. Connect it to Postiz through the dashboard and you are ready to go.
Example conversation
> Is my Telegram account connected to Postiz?
Hermes Agent: Yes — your Telegram account is connected
and ready. Want me to post something?Send Your First Message
Post a message to your Telegram channel or group. Hermes Agent handles the routing — no additional settings needed for basic text messages.
Example conversation
> Draft a Telegram post about our new
feature launch
Hermes Agent: Here's a draft for Telegram:
"We just shipped something big..."
Want me to add media and schedule it?Schedule Messages
Schedule Telegram messages for future delivery using ISO timestamps. Perfect for content calendars, announcements, and automated updates.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
Hermes Agent: Done! Scheduled on Telegram for
tomorrow at 9:00 AM.Telegram Settings Reference
Telegram uses a minimal configuration. Once your bot is connected, Hermes Agent routes messages to the right channel or group — there is nothing else to set.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "telegram" to identify the platform (if using settings) |
Telegram's simplicity is a feature — your bot token and channel/group association are configured once in the Postiz dashboard. After that, just use the integration ID to route messages.
Common Configurations
Copy-paste these commands for common Telegram posting scenarios.
Simple Channel Announcement
Example
> Post "Excited to announce our new feature!" to
Telegram and LinkedIn tomorrow at 9am, then schedule
a daily tip on Telegram every weekday at 10am
Hermes Agent: Done! Scheduled:
- Telegram + LinkedIn: tomorrow 9:00 AM
- Daily tips on Telegram: Mon-Fri 10:00 AMScheduled Morning Update
Example
> What's scheduled on Telegram this week?
Hermes Agent: 6 posts on Telegram: the announcement tomorrow
at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
Want me to move or cancel any of them?Media Post with Caption
Example
> What's scheduled on Telegram this week?
Hermes Agent: 6 posts on Telegram: the announcement tomorrow
at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
Want me to move or cancel any of them?Multi-Channel Broadcast
Example
> What's scheduled on Telegram this week?
Hermes Agent: 6 posts on Telegram: the announcement tomorrow
at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
Want me to move or cancel any of them?What is Hermes Agent?
Hermes Agent is an open-source AI agent from Nous Research, released under the MIT license. It runs on your own machine or server, you talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or the CLI, and it executes tools such as the Postiz skill to post to Telegram and other channels. It works with Nous Portal, OpenRouter, OpenAI, or your own model endpoint.
Message From Anywhere
Talk to Hermes from Telegram, Discord, Slack, WhatsApp, Signal, email, or the terminal. Ask for a Telegram post from whichever app you already have open.
Built-in Cron Scheduler
Create recurring jobs in plain language, such as weekdays at 9am. Hermes drafts and schedules Telegram content through Postiz and reports back to your chat.
Open Source, Any Model
Hermes Agent is MIT licensed and self-hosted. Run it on Nous Portal, OpenRouter, OpenAI, or your own endpoint, and extend it with MCP servers or skills like Postiz.
How Postiz Works with Hermes Agent
Postiz ships as an agent skill in the agentskills.io SKILL.md format that Hermes Agent reads. The skill documents every Postiz CLI command, the credentials it needs, and the Telegram settings, so Hermes knows how to list your channels, upload media, and create posts without any custom code.
- ✓Install the Postiz CLI (npm install -g postiz) and add the skill with npx skills add gitroomhq/postiz-agent
- ✓Hermes loads skills from ~/.hermes/skills and shows them with hermes skills list
- ✓Authenticate with POSTIZ_API_KEY, or run postiz auth:login for an OAuth device flow
- ✓Every Postiz command returns JSON, so Hermes can chain discovery, upload, and posting
- ✓Prefer MCP? Add https://mcp.postiz.com/mcp-oauth-dynamic under mcp_servers in ~/.hermes/config.yaml
Install Postiz
# Install the Postiz CLI and skill
npm install -g postiz
npx skills add gitroomhq/postiz-agent
# Authenticate: API key or OAuth device flow
export POSTIZ_API_KEY=your_api_key
# or: postiz auth:login
# Confirm Hermes can see the skill
hermes skills listTelegram Posting with Hermes Agent
Message Hermes Agent from any platform — it reads the Postiz skill, discovers your Telegram integration, and handles the entire messaging workflow autonomously.
From Any Chat App
Telegram, Discord, Slack, WhatsApp, Signal
Send a message to Hermes Agent from your favorite chat app. Its gateway runs in the background, so it picks up your message, discovers your Telegram channel via Postiz, and sends the message — all while you go about your day.
WhatsApp / Slack
You: Post "New episode is live!" to
my Telegram channel, schedule for 3pm
Hermes Agent: Got it! Here's what I'll do:
1. Find your Telegram integration
2. Schedule for 2025-03-01T15:00:00Z
3. Post message to your channel
Done! Your Telegram message is scheduled.
Post ID: abc-123Scheduled & Proactive
Cron jobs for recurring channel content
Hermes Agent has a built-in cron scheduler. Create a recurring job in plain language and Hermes drafts and schedules your Telegram content through Postiz on that schedule, then reports back to whichever chat you use.
Hermes cron job
# From the terminal
hermes cron create "weekdays at 9am" \
"Check ~/content/telegram for new posts.
Upload any media with postiz upload,
then schedule each one to Telegram
for noon today via Postiz. Move posted
files to ~/content/published."
# Or from any chat with Hermes
/cron add "weekdays at 9am" "Schedule
today's Telegram post via Postiz"Why Hermes Agent + Postiz for Telegram
Hermes Agent makes Postiz a natural fit for your Telegram workflow. The agent discovers all available commands and autonomously chains them together.
- ✓Hermes Agent is MIT licensed and Postiz has a public API, so nothing is locked in
- ✓Chat-first: ask for a Telegram post from Telegram, Discord, Slack, WhatsApp, or Signal
- ✓Cron jobs in plain language for hands-free recurring Telegram posts
- ✓Cross-post to Telegram and other channels in one request, each with its own settings
- ✓Model-agnostic: run Hermes on Nous Portal, OpenRouter, OpenAI, or your own endpoint
- ✓Credentials stay in Postiz; Hermes only holds a Postiz API key or OAuth session
SKILL.md (what Hermes reads)
---
name: postiz
description: Postiz is a tool to schedule
social media and chat posts to 28+
channels including Telegram
homepage: https://docs.postiz.com/public-api/introduction
---
# Commands Hermes can run
postiz auth:status
postiz integrations:list
postiz integrations:settings <id>
postiz upload <file>
postiz posts:create -i <id> -c "..." -s <iso>
postiz posts:list
postiz analytics:platform <id>
# Telegram settings
no extra settings, just text and a timeUsing a different agent for Telegram?
Postiz works with any AI agent that can run CLI commands or call MCP tools, and the Telegram settings on this page are the same for every agent. Read the same guide for Claude Code, OpenClaw, Codex. Or see the guide for any AI agent and the Postiz MCP server.
Telegram + Other Platforms
Send a Telegram message and post to social media simultaneously. Each platform gets its own settings.
Example
> What's scheduled on Telegram this week?
Hermes Agent: 6 posts on Telegram: the announcement tomorrow
at 9:00 AM and daily tips Mon-Fri at 10:00 AM.
Want me to move or cancel any of them?What can you ask Hermes Agent to do on Telegram?
You can ask Hermes Agent to create, schedule, cancel, and measure Telegram posts in plain language. These are the kinds of requests it handles through Postiz.
Ask Hermes Agent
> Send the launch announcement to my Telegram channel tomorrow at 9am.Hermes finds the Telegram channel in Postiz and schedules the message.
Ask Hermes Agent
> Post chart.png with a caption to the Telegram group now.Hermes uploads the image with postiz upload and sends it with the caption.
Ask Hermes Agent
> Every morning at 7am, post a short market update to the Telegram channel.Hermes creates a cron job that drafts the update and schedules it via Postiz.
Telegram rules Hermes Agent has to follow
Postiz validates every Telegram post before it is scheduled, so these limits and required settings decide whether a request succeeds.
- ▸Postiz posts through a Telegram bot you create with BotFather. The bot must be an admin of the channel or a member of the group.
- ▸Text messages are limited to 4,096 characters and media captions to 1,024 characters.
- ▸Telegram needs almost no settings. Only __type is used when you pass settings at all, so Hermes rarely needs to ask follow-ups.
- ▸Media must be uploaded with postiz upload before Hermes can attach it.
Hermes Agent and Telegram: frequently asked questions
Can Hermes Agent post to Telegram?
Yes. With the Postiz skill installed, Hermes Agent sends and schedules messages to Telegram channels and groups through your Postiz bot. It can attach images, videos, and documents it uploads via Postiz. You ask in plain language from any chat Hermes is connected to and it runs the Postiz commands.
How do I connect Telegram to Hermes Agent?
Create a bot with BotFather, add it to your channel or group, and connect it in the Postiz dashboard. Then install the Postiz skill in Hermes with npx skills add gitroomhq/postiz-agent and set POSTIZ_API_KEY. Hermes finds the Telegram channel with postiz integrations:list and never holds the bot token.
Is this the same as chatting with Hermes Agent on Telegram?
No. Telegram is one of the chat apps you can use to talk to Hermes Agent through its messaging gateway. Posting to Telegram via Postiz is Hermes publishing a scheduled message to a channel or group. You can do both: message Hermes on Telegram and ask it to post to your public channel.
Are there settings Hermes Agent must set for Telegram posts?
Very few. Telegram posts in Postiz only use __type: telegram when settings are passed, so Hermes mostly needs the message text, optional media, and a time. The main constraints are Telegram's own limits: 4,096 characters for text and 1,024 for media captions.
Can Hermes Agent post to Telegram on a schedule by itself?
Yes. Hermes Agent has a built-in cron scheduler. Run hermes cron create "daily at 7am" with a prompt such as "write a short morning update and schedule it to the Telegram channel via Postiz". Hermes runs the job unattended and confirms in whichever chat you use.
Related Hermes Agent guides
Hermes Agent posts to 30+ channels through Postiz. Start at the Hermes Agent social media hub, or jump to another platform guide.
Post to Discord from Hermes Agent
→Channel messaging and media
Post to Slack from Hermes Agent
→Channel messaging and team updates
Post to Whop from Hermes Agent
→Company forums and experiences
Post to Skool from Hermes Agent
→Community posts and groups
Post to X (Twitter) from Hermes Agent
→Tweets, threads, and reply controls
Start posting to Telegram
Install Postiz Agent and automate your Telegram channel messaging with AI-powered scheduling and delivery.