doodle top mobile

Automate Listmonk with Claude Code

Send email campaigns, manage mailing lists, configure templates and preview text, and automate newsletter delivery — just by asking Claude Code.

Setup GuideGitHub

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

doodle left mobiledoodle right mobile

Send a Listmonk Campaign 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 Claude Code:
> Send the monthly newsletter to the
  Customers list tomorrow at 9am

Claude Code: Done! Your Listmonk post is scheduled.

Listmonk-Specific Features

📧

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 It Works

You describe what you want in plain language and Claude Code handles the Postiz calls for you. Here is how a typical conversation goes.

1

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

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

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.

FieldTypeDescription
__typestringMust be "listmonk" to identify the platform
subjectstringEmail subject line (min 1 character)
previewstringPreview text shown in email clients before opening
liststringList ID to send the campaign to
templatestringTemplate 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-tmpl

Product 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-2

Promotional 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-template

Plain 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-1

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.

💻

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 reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • 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-123
💻

Parallel 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 simultaneously

Why 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, template

Also Works with Claude Cowork

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Claude Cowork, Anthropic's desktop agent — no terminal needed.

C

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.

Listmonk + Other Platforms

Send an email campaign and post to social media simultaneously. Each platform gets its own settings.

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 AM

Start sending with Listmonk

Install Postiz Agent and automate your Listmonk email campaigns with AI-powered scheduling and delivery.