doodle top mobile

Post to Telegram from Hermes Agent

Hermes Agent can send and schedule Telegram channel and group messages through Lynqo. Once the Lynqo 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 Lynqo Telegram bot.

Setup GuideGitHub

Please make sure there is always a human in the loop.

doodle left mobiledoodle right mobile

Post to Telegram in Seconds

Setup, then just ask

# One-time setup
npx skills add gitroomhq/postiz-agent
export LYNQO_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 Lynqo 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 Lynqo calls for you. Here is how a typical conversation goes.

1

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 Lynqo through the dashboard and you are ready to go.

Example conversation

> Is my Telegram account connected to Lynqo?

Hermes Agent: Yes — your Telegram account is connected
  and ready. Want me to post something?
2

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?
3

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.

FieldTypeDescription
__typestringMust 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 Lynqo 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 AM

Scheduled 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 Lynqo 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 Lynqo 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 Lynqo.

How Lynqo Works with Hermes Agent

Lynqo ships as an agent skill in the agentskills.io SKILL.md format that Hermes Agent reads. The skill documents every Lynqo 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 Lynqo 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 LYNQO_API_KEY, or run postiz auth:login for an OAuth device flow
  • ✓Every Lynqo 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 Lynqo

# Install the Lynqo CLI and skill
npm install -g postiz
npx skills add gitroomhq/postiz-agent

# Authenticate: API key or OAuth device flow
export LYNQO_API_KEY=your_api_key
# or: postiz auth:login

# Confirm Hermes can see the skill
hermes skills list

Telegram Posting with Hermes Agent

Message Hermes Agent from any platform — it reads the Lynqo 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 Lynqo, 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-123
🧠

Scheduled & 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 Lynqo 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 Lynqo. Move posted
   files to ~/content/published."

# Or from any chat with Hermes
/cron add "weekdays at 9am" "Schedule
  today's Telegram post via Lynqo"

Why Hermes Agent + Lynqo for Telegram

Hermes Agent makes Lynqo a natural fit for your Telegram workflow. The agent discovers all available commands and autonomously chains them together.

  • ✓Hermes Agent is MIT licensed and Lynqo 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 Lynqo; Hermes only holds a Lynqo API key or OAuth session

SKILL.md (what Hermes reads)

---
name: postiz
description: Lynqo 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 time

Using a different agent for Telegram?

Lynqo 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 Lynqo 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 Lynqo.

Ask Hermes Agent

> Send the launch announcement to my Telegram channel tomorrow at 9am.

Hermes finds the Telegram channel in Lynqo 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 Lynqo.

Telegram rules Hermes Agent has to follow

Lynqo validates every Telegram post before it is scheduled, so these limits and required settings decide whether a request succeeds.

  • ▸Lynqo 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 Lynqo skill installed, Hermes Agent sends and schedules messages to Telegram channels and groups through your Lynqo bot. It can attach images, videos, and documents it uploads via Lynqo. You ask in plain language from any chat Hermes is connected to and it runs the Lynqo 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 Lynqo dashboard. Then install the Lynqo skill in Hermes with npx skills add gitroomhq/postiz-agent and set LYNQO_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 Lynqo 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 Lynqo 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 Lynqo". Hermes runs the job unattended and confirms in whichever chat you use.

Start posting to Telegram

Install Lynqo Agent and automate your Telegram channel messaging with AI-powered scheduling and delivery.