Send Listmonk Campaigns from Claude Code
Claude Code can create and schedule Listmonk email campaigns through Postiz. Add the Postiz MCP server with one command, sign in with OAuth, connect your Listmonk instance in Postiz, and ask Claude Code to turn release notes into a newsletter with a subject line, preview text, target list, and template, from the terminal.
Please make sure there is always a human in the loop.
Last updated: September 2026
How to post to Listmonk from Claude Code
Add the Postiz MCP server to Claude Code once, sign in with OAuth, connect Listmonk in Postiz, and then describe the post in plain language. Setup takes about a minute.
Setup once, then just ask
# One-time setup: add the Postiz MCP server (OAuth, no API key)
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic
# Or install the Postiz skill instead
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then ask Claude Code:
> Turn CHANGELOG.md into a newsletter, subject
"What's new in v2.4", send to the Customers
list via Listmonk tomorrow at 9am
Claude Code: Done! Listmonk campaign scheduled
for tomorrow at 9:00 AM.What can Claude Code do on Listmonk?
On Listmonk, Claude Code can compose a campaign with a subject line and preview text, target a specific subscriber list, apply a template, and schedule the send.
Email Campaigns
Create and send email campaigns to your subscriber lists with rich HTML content, subject lines, and preview text.
Mailing Lists
Target specific subscriber lists by ID. Send campaigns to the right audience segment every time.
Template Support
Use pre-built email templates by specifying a template ID. Maintain consistent branding across all campaigns.
Preview Text
Set preview text that appears in email clients before the recipient opens the message. Boost open rates with compelling previews.
Newsletter Automation
Automate recurring newsletters with scheduled sends. Let AI agents craft and deliver content on a regular cadence.
Scheduled Delivery
Schedule email campaigns for optimal delivery times. Use ISO timestamps to send at exactly the right moment.
How does Claude Code post to Listmonk through Postiz?
You describe what you want in plain language and Claude Code handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your Listmonk Integration
Ask Claude Code whether your Listmonk account is connected. It also checks which options the platform supports.
Example conversation
> Is my Listmonk account connected to Postiz?
Claude Code: Yes — your Listmonk account is connected
and ready. Want me to post something?Compose Your Email
Write your email body in plain text or HTML. Tell Claude Code the subject line and preview text and it sets them.
Example conversation
> Draft a Listmonk post about our new
feature launch
Claude Code: Here's a draft for Listmonk:
"We just shipped something big..."
Want me to add media and schedule it?Schedule and Send
Schedule your email campaign for a specific time or send immediately. Target a specific list and optionally apply a template for consistent formatting.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
Claude Code: Done! Scheduled on Listmonk for
tomorrow at 9:00 AM.Listmonk Settings Reference
Mention any of these in plain language and Claude Code sets them for you. These are the options every Listmonk campaign can carry.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "listmonk" to identify the platform |
subject | string | Email subject line (min 1 character) |
preview | string | Preview text shown in email clients before opening |
list | string | List ID to send the campaign to |
template | string | Template ID to use for the email layout |
Common Configurations
Ask Claude Code for any of these common Listmonk campaign scenarios and it applies the matching settings.
Weekly Newsletter
Just ask
> Post it with: Weekly Newsletter
Claude Code: Got it. Applying:
subject: Weekly Newsletter - March Edition
preview: This week: new features, tips, and community highlights
list: list-1
template: newsletter-tmplProduct Announcement
Just ask
> Post it with: Product Announcement
Claude Code: Got it. Applying:
subject: Introducing Our New Feature
preview: We've been working on something big...
list: list-2Promotional Campaign with Template
Just ask
> Post it with: Promotional Campaign with Template
Claude Code: Got it. Applying:
subject: Flash Sale - 48 Hours Only
preview: Up to 50% off everything in store
list: list-3
template: promo-templatePlain Text Update
Just ask
> Post it with: Plain Text Update
Claude Code: Got it. Applying:
subject: A quick note from the team
preview: Important updates about your account
list: list-1Example prompts for Listmonk in Claude Code
These are prompts you can type into a Claude Code session, or pass to claude -p in a script. Claude Code reads your repo, calls Postiz, and confirms before publishing.
Pick the list and template
Claude Code
> Which Listmonk lists and templates do I have?
Send the release notes to the Developers list
using the Product template
Claude Code: Lists: Customers, Developers.
Templates: Product, Plain. Campaign ready.Preview text matters
Claude Code
> Subject "Downtime notice: Oct 3", preview
"15 minutes of maintenance at 02:00 UTC",
send to all customers on Listmonk at 10am
Claude Code: subject, preview and list set.
Scheduled for 10:00 AM.Monthly digest, headless
Claude Code
$ claude -p "Summarize last month's merged PRs
into a Listmonk newsletter for the Customers
list via Postiz, subject 'Monthly update'."
# Run on the 1st of each month from cronListmonk limits and gotchas to know
Email campaigns have required fields that social posts do not, and Claude Code fills them in.
- ✓subject, preview, and list are required. Claude Code can list your Listmonk lists and template IDs.
- ✓template is optional; without it Listmonk uses its default template.
- ✓Listmonk campaigns are email, so there is no character limit like social platforms, but keep the subject short for inbox previews.
- ✓Claude Code asks for permission before a campaign is scheduled, which matters when a list has thousands of subscribers.
What is Claude Code?
Claude Code is Anthropic's agentic coding tool that lives in your terminal. It handles software engineering tasks — writing features, fixing bugs, and answering questions about your codebase — and it can run shell commands and MCP tools like Postiz.
Not the same as Claude Cowork (Anthropic's desktop agent for knowledge workers) or the Postiz connector for Claude.ai (chat in the browser or desktop app). Claude Code runs in your terminal and IDE and can read your repository while it writes Listmonk posts.
Terminal & IDE Native
Claude Code runs in your terminal, with extensions for VS Code and JetBrains. You type what you want in plain English and it handles Postiz for you.
Agentic Execution
Claude Code plans and works through multi-step tasks on its own — discovering channels, uploading media, and scheduling posts — and asks for permission before it acts.
Parallel Tasks
Run several Claude Code sessions side by side, or spawn subagents in one. Schedule posts to different platforms while it handles other coding work.
How Postiz Works with Claude Code
Claude Code discovers Postiz through the Postiz skill or the Postiz MCP server. It reads the SKILL.md (or the MCP tool list) to learn what it can do, then chains calls together for social media workflows.
- ✓Install the Postiz skill, or add the Postiz MCP server with claude mcp add
- ✓Claude Code discovers the Postiz tools over MCP, or reads SKILL.md when you use the skill
- ✓MCP route: sign in with OAuth, no API key. Skill route: set POSTIZ_API_KEY
- ✓Claude Code asks for permission before running commands
- ✓Works alongside your coding tasks in parallel
Install Postiz
# Option A: add the Postiz MCP server
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic
# Option B: install the Postiz skill
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then just ask
claude "list my social media integrations"Listmonk Campaigns with Claude Code
Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Just Ask Claude Code
Terminal and IDE integration
Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Claude Code CLI
$ claude "Post to Listmonk about our
new feature launch, schedule for
tomorrow at 9am"
Claude Code: I'll handle that.
Found your Listmonk integration.
Composing and scheduling the post.
Done! Your post is scheduled.
Post ID: abc-123Parallel Tasks
Multiple tasks at once
Claude Code runs headless with claude -p, so several tasks can run in parallel. Schedule posts to different platforms while it works on other coding tasks.
Claude Code Parallel Tasks
# Run multiple posting tasks in parallel
$ claude -p "Schedule a post about our
launch to X for tomorrow 9am" &
$ claude -p "Write a LinkedIn article
about our new feature and schedule
for tomorrow noon" &
$ claude -p "Fix the bug in auth.ts"
# All three tasks run simultaneouslyWhy Claude Code + Postiz for Listmonk
Claude Code's autonomous execution makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for Listmonk email workflows.
- ✓Runs in your terminal or IDE — just type what you want
- ✓Permission-based execution — you stay in control
- ✓Parallel task support — post while coding
- ✓Template selection applied automatically based on campaign type
- ✓Cross-post email content to Listmonk + social platforms in a single conversation
- ✓Powered by Claude — Anthropic's most capable models
SKILL.md (auto-discovered)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including Listmonk
metadata:
claude-code:
requirements:
env:
- POSTIZ_API_KEY
binaries:
- postiz
---
# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>
# Listmonk Settings
subject, preview, list, templateAlso Works with Claude Cowork
Postiz works with any AI agent that can run commands or call MCP tools. That includes Claude Cowork, Anthropic's desktop agent, and the Claude.ai connector. See the agents overview for every supported agent.
Claude Cowork
by Anthropic
Claude Cowork reads the Postiz skill so it knows what it can do, then autonomously discovers your Listmonk integration, composes your email campaign with subject, preview text, and list targeting, and sends it on schedule.
Claude Cowork
> Send a newsletter to list-1 about our
new feature launch, schedule for Monday
Claude Cowork: Done! Scheduled on Listmonk for
tomorrow at 9:00 AM.Post to Listmonk and other platforms from Claude Code
One request can schedule the same content to Listmonk and other channels, and each platform keeps its own settings. Every platform below has its own Claude Code guide.
Example
> Post "Excited to announce our new feature!" to
Listmonk and LinkedIn tomorrow at 9am, then schedule
a daily tip on Listmonk every weekday at 10am
Claude Code: Done! Scheduled:
- Listmonk + LinkedIn: tomorrow 9:00 AM
- Daily tips on Listmonk: Mon-Fri 10:00 AMSee all 25 platforms in the Claude Code social media guide, compare agents on the AI agents overview, read about the Postiz MCP server, or check pricing. For the channel itself, seeListmonk scheduling features in Postiz.
Listmonk and Claude Code: frequently asked questions
How do I send a Listmonk campaign from Claude Code?
Add the Postiz MCP server to Claude Code, sign in to Postiz with OAuth, and connect your Listmonk instance in Postiz. Then describe the newsletter, subject, preview text, and target list. Claude Code drafts the body, resolves the list and template IDs, asks for permission, and schedules the campaign.
Can Claude Code turn my changelog into a newsletter?
Yes. Point Claude Code at CHANGELOG.md or the merged pull requests since the last release and ask for a newsletter. It writes a readable summary, proposes a subject and preview text, and schedules the campaign through Postiz to the list you name, all from the terminal.
Which Listmonk settings does Claude Code control through Postiz?
Four settings: subject (required), preview text shown in inboxes before opening (required), list ID (required), and template ID (optional). Ask Claude Code to list your lists and templates and it fetches them from Postiz, then fills the IDs so you never have to copy them by hand.
Can I schedule recurring newsletters from Claude Code?
Yes. Run claude -p from cron on the first of the month, or from your release workflow, with a prompt that composes the campaign and schedules it through Postiz. Claude Code needs the Postiz MCP server or skill configured on that machine and the Listmonk channel connected in Postiz.
Start sending with Listmonk
Install Postiz Agent and automate your Listmonk email campaigns with AI-powered scheduling and delivery.