Post to Facebook from Hermes Agent
Hermes Agent can publish and schedule Facebook Page posts through Postiz. After you add the Postiz skill, you message Hermes from Telegram, Discord, Slack, or the CLI with the update you want. It writes the post, attaches an uploaded image or video, adds a link for a rich preview, and schedules it on your connected Facebook Page.
Please make sure there is always a human in the loop.
Last updated: September 2026
Post to Facebook 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:
> Post our launch announcement to the
Facebook page tomorrow at 9am
Hermes Agent: Done! Your Facebook post is scheduled.Facebook-Specific Features
Text Posts
Publish engaging text posts with emojis, hashtags, and mentions. Perfect for quick updates, announcements, and community engagement.
Link Previews
Attach URLs to generate rich link previews with title, description, and thumbnail. Drive traffic to your website or blog.
Media Attachments
Upload and attach images or videos to your posts. Share visual content that drives higher engagement on Facebook.
Page Management
Post as your Facebook Page to maintain your brand voice. Schedule content for your business page effortlessly.
Analytics Tracking
Track post performance with Postiz analytics. Monitor reach, engagement, and clicks across your Facebook content.
Scheduled Posting
Schedule posts with precise timestamps. Plan your Facebook content calendar and let Postiz handle the publishing.
How to post to Facebook 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.
Find Your Facebook Integration
Ask Hermes Agent whether your Facebook account is connected. It also checks which options the platform supports.
Example conversation
> Is my Facebook account connected to Postiz?
Hermes Agent: Yes — your Facebook account is connected
and ready. Want me to post something?Prepare Your Content
Write your post content and optionally upload media. For link posts, just include the URL in settings — Facebook generates the preview automatically.
Example conversation
> Draft a Facebook post about our new
feature launch
Hermes Agent: Here's a draft for Facebook:
"We just shipped something big..."
Want me to add media and schedule it?Create Your Post
Schedule a Facebook post with your content, optional media, and platform-specific settings like link URL for rich previews.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
Hermes Agent: Done! Scheduled on Facebook for
tomorrow at 9:00 AM.Facebook Settings Reference
Mention any of these in plain language and Hermes Agent sets them for you. These are the Facebook options it can apply to any post.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "facebook" |
url | string | Link URL to attach for rich link previews |
Common Configurations
Ask Hermes Agent for any of these common Facebook scenarios and it applies the matching settings.
Simple Text Post
Just ask
> Post it with: Simple Text Post
Hermes Agent: Got it. Applying:
(defaults)Post with Link Preview
Just ask
> Post it with: Post with Link Preview
Hermes Agent: Got it. Applying:
url: https://example.com/blog/my-articleProduct Launch Announcement
Just ask
> Post it with: Product Launch Announcement
Hermes Agent: Got it. Applying:
url: https://myproduct.com/launchWhat 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 Facebook 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 Facebook 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 Facebook 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 Facebook 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 listFacebook Posting with Hermes Agent
Hermes Agent reads Postiz commands through its tool system, discovers your integrations, and handles the entire posting workflow — from content creation to scheduling.
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 Facebook page via Postiz, composes the post, and schedules it — all while you go about your day.
Hermes Agent
You: Post to Facebook about our new
feature launch, schedule for tomorrow
at 9am
Hermes: I'll handle that! Let me:
1. Find your Facebook integration
2. Compose your post content
3. Schedule for tomorrow 9:00 AM
Done! Post scheduled successfully.
Post ID: abc-123Scheduled & Proactive
Built-in Hermes cron jobs
Hermes Agent has a built-in cron scheduler. Create a recurring job in plain language and Hermes drafts and schedules your Facebook 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/facebook for new posts.
Upload any media with postiz upload,
then schedule each one to Facebook
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 Facebook post via Postiz"Why Hermes Agent + Postiz for Facebook
Hermes Agent makes Postiz a natural fit for your Facebook 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 Facebook post from Telegram, Discord, Slack, WhatsApp, or Signal
- ✓Cron jobs in plain language for hands-free recurring Facebook posts
- ✓Cross-post to Facebook 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 Facebook
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>
# Facebook settings
urlUsing a different agent for Facebook?
Postiz works with any AI agent that can run CLI commands or call MCP tools, and the Facebook 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.
Facebook + Other Platforms
Schedule the same content to Facebook and other platforms in a single request. Each platform gets its own settings.
Example
> Post "Excited to announce our new feature!" to
Facebook and LinkedIn tomorrow at 9am, then schedule
a daily tip on Facebook every weekday at 10am
Hermes Agent: Done! Scheduled:
- Facebook + LinkedIn: tomorrow 9:00 AM
- Daily tips on Facebook: Mon-Fri 10:00 AMPost Types
Text Post
No media, no URLLink Post
Include url in settingsMedia Post
Attach an image or videoWhat can you ask Hermes Agent to do on Facebook?
You can ask Hermes Agent to create, schedule, cancel, and measure Facebook posts in plain language. These are the kinds of requests it handles through Postiz.
Ask Hermes Agent
> Post our launch announcement to the Facebook page tomorrow at 9am with banner.png.Hermes uploads the image, writes the post, and schedules it on your Facebook Page channel.
Ask Hermes Agent
> Share https://postiz.com/blog on Facebook with a short teaser so it shows a link preview.Hermes sets the url setting so Facebook renders the preview card, then publishes.
Ask Hermes Agent
> Cancel the Facebook post scheduled for Friday and show me what else is queued this week.Hermes runs postiz posts:list, deletes the Friday post, and summarizes the remaining schedule.
Facebook rules Hermes Agent has to follow
Postiz validates every Facebook post before it is scheduled, so these limits and required settings decide whether a request succeeds.
- ▸Postiz publishes to Facebook Pages you manage, not to personal profiles. Connect the Page in Postiz before asking Hermes to post.
- ▸For a link preview, give Hermes the URL and it sets the url field. A URL only in the text does not guarantee a preview card.
- ▸Photos and videos must be uploaded with postiz upload first. External media URLs are rejected at publish time.
- ▸Facebook allows very long posts, but the first few lines are what appear before "See more". Ask Hermes to front-load the hook.
Hermes Agent and Facebook: frequently asked questions
Can Hermes Agent post to Facebook?
Yes. Hermes Agent uses the Postiz skill to create, schedule, and delete posts on Facebook Pages. It can publish text updates, attach photos or video it uploads through Postiz, and add a link so Facebook shows a preview card. You ask in plain language and Hermes runs the Postiz commands.
How do I connect a Facebook Page to Hermes Agent?
Connect the Page in your Postiz dashboard, then install the Postiz skill in Hermes with npx skills add gitroomhq/postiz-agent and set POSTIZ_API_KEY. Hermes discovers the Page with postiz integrations:list. Facebook credentials stay inside Postiz; Hermes only holds the Postiz API key or an OAuth login.
Can Hermes Agent post to a personal Facebook profile?
No. Facebook's API only allows scheduled publishing to Pages, so Postiz connects Pages, not personal profiles. If you manage several Pages, each one is a separate Postiz channel. Tell Hermes which Page you mean, or it will ask before scheduling.
How does Hermes Agent add a link preview to a Facebook post?
Give Hermes the link and ask for a preview. It sets the url setting on the Facebook post, which tells Facebook to fetch the page and render its title, description, and image as a card. The post text itself can still contain a short teaser or call to action.
Can Hermes Agent post to Facebook on a schedule automatically?
Yes. Hermes Agent's built-in cron scheduler accepts plain language: hermes cron create "every monday 9am" with a prompt to draft and schedule the week's Facebook Page post through Postiz. Hermes runs it unattended and sends the result to Telegram, Discord, Slack, or your chosen chat.
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 Instagram from Hermes Agent
→Feed posts, stories, and reels
Post to LinkedIn from Hermes Agent
→Professional posts and image carousels
Post to X (Twitter) from Hermes Agent
→Tweets, threads, and reply controls
Post to Google My Business from Hermes Agent
→Business posts, events, and offers
Post to Pinterest from Hermes Agent
→Pins, boards, and link pins
Start posting to Facebook
Install Postiz Agent and automate your Facebook content strategy with AI-powered scheduling and publishing.