doodle top mobile

Automate Listmonk with Paperclip

Send email campaigns, manage mailing lists, configure templates and preview text, and automate newsletter delivery β€” all from the command line or through your AI agent.

Setup GuidePaperclip

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

doodle left mobiledoodle right mobile

Send a Listmonk Campaign in Seconds

Terminal

# Install the skill
npx skills add gitroomhq/postiz-agent

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Find your Listmonk integration
postiz integrations:list

# Send an email campaign
postiz posts:create \
  -c "Email body content..." \
  --settings '{"subject":"Weekly Newsletter","preview":"This week in tech...","list":"list-1"}' \
  -i "listmonk-id"

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

1

Find Your Listmonk Integration

List your connected accounts and grab your Listmonk integration ID. You can also fetch available settings to see what options are supported.

Discovery

# List all integrations
postiz integrations:list

# Filter for Listmonk
postiz integrations:list | jq \
  '.[] | select(.identifier=="listmonk")'

# Get Listmonk settings schema
postiz integrations:settings <listmonk-id>
2

Compose Your Email

Write your email body content. The content flag accepts plain text or HTML. Pair it with a subject line and preview text in the settings.

Compose

# Simple text email
postiz posts:create \
  -c "Hello subscribers! Here is your weekly update..." \
  --settings '{"subject":"Weekly Update","preview":"Big news inside","list":"list-1"}' \
  -i "listmonk-id"

# With HTML content
postiz posts:create \
  -c "<h1>Newsletter</h1><p>Content here...</p>" \
  --settings '{"subject":"March Newsletter","preview":"What happened this month","list":"list-2","template":"tmpl-1"}' \
  -i "listmonk-id"
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.

Schedule

postiz posts:create \
  -c "Don't miss our spring sale!" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "subject": "Spring Sale - 30% Off",
    "preview": "Limited time offer inside",
    "list": "list-1",
    "template": "sale-template"
  }' \
  -i "listmonk-id"

Listmonk Settings Reference

Every Listmonk campaign accepts these platform-specific settings via the --settings flag.

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

Copy-paste these settings for common Listmonk campaign scenarios.

Weekly Newsletter

settings.json

{
  "subject": "Weekly Newsletter - March Edition",
  "preview": "This week: new features, tips, and community highlights",
  "list": "list-1",
  "template": "newsletter-tmpl"
}

Product Announcement

settings.json

{
  "subject": "Introducing Our New Feature",
  "preview": "We've been working on something big...",
  "list": "list-2"
}

Promotional Campaign with Template

settings.json

{
  "subject": "Flash Sale - 48 Hours Only",
  "preview": "Up to 50% off everything in store",
  "list": "list-3",
  "template": "promo-template"
}

Plain Text Update

settings.json

{
  "subject": "A quick note from the team",
  "preview": "Important updates about your account",
  "list": "list-1"
}

What is Paperclip?

Paperclip is an open-source orchestration framework for building β€œzero-human companies” by hiring and managing teams of AI agents. It handles content, social media distribution, marketing, dev, QA, and more from a single dashboard.

πŸ‘₯

Agent Teams

Paperclip manages teams of AI agents that work together. Assign a content agent, a scheduling agent, and a review agent to your social media workflow.

πŸ“Š

Single Dashboard

Monitor all your AI agents and their social media tasks from one unified dashboard. Track posts, schedules, and performance in real time.

βš™

Orchestration

Schedule recurring tasks with cron jobs. Paperclip can send your Listmonk campaigns on a schedule without you having to ask each time.

How Postiz Works with Paperclip

When you install Postiz Agent globally, Paperclip automatically discovers it by reading the bundled SKILL.md file. This file tells Paperclip what commands are available, what environment variables are needed, and how to compose Listmonk campaigns with the right settings.

  • βœ“Install Postiz Agent and set your POSTIZ_API_KEY
  • βœ“Paperclip discovers Postiz through tool integration
  • βœ“Assign Postiz commands to specialized agents in your team
  • βœ“Orchestrate multi-step workflows with approval chains
  • βœ“Monitor everything from the Paperclip dashboard

Install Postiz

# Install the Postiz skill
npx skills add gitroomhq/postiz-agent

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Paperclip discovers Postiz through
# its tool integration system
# and assigns it to agent teams

Listmonk Campaigns with Paperclip

Message Paperclip from any platform β€” it reads the Postiz skill, discovers your Listmonk integration, and handles the entire email campaign workflow autonomously.

πŸ“Ž

From Any Chat App

Paperclip assigns specialized agents to ...

Send a message to Paperclip from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your Listmonk integration via Postiz, composes the email, and sends the campaign β€” all while you go about your day.

Paperclip

Content Agent: Drafted a post about
  the feature launch for Listmonk.

Review Agent: Approved with minor
  edits. Ready to publish.

Scheduling Agent: Found Listmonk
  integration via Postiz.
  Scheduled for tomorrow 9:00 AM.

  Post ID: abc-123
  Status: Scheduled
πŸ“Ž

Scheduled & Proactive

Cron jobs for recurring newsletters

Paperclip supports cron-based heartbeat tasks. Set up a recurring job that generates newsletter content and sends it to your Listmonk lists automatically β€” no manual trigger needed.

paperclip.yaml (pipeline)

pipelines:
  daily_social:
    schedule: "0 9 * * 1-5"
    agents:
      - role: content_creator
        task: "Draft a Listmonk post
          about trending industry topics"
      - role: reviewer
        task: "Review and polish the
          draft for engagement"
      - role: publisher
        task: "Schedule via Postiz
          for today at noon"

Why Paperclip + Postiz for Listmonk

Paperclip makes Postiz a natural fit for your Listmonk workflow. The agent discovers all available commands and autonomously chains them together.

  • βœ“Multi-agent teams for quality Listmonk content β€” draft, review, publish
  • βœ“Single dashboard to monitor all social media automation
  • βœ“Orchestrated pipelines from content creation to publishing
  • βœ“Scheduled pipelines for hands-free daily posting
  • βœ“Cross-post to Listmonk + other platforms in a single pipeline
  • βœ“Open-source β€” fully customizable agent workflows

SKILL.md (auto-discovered)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including Listmonk
metadata:
  paperclip:
    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 Code

Postiz Agent works as a CLI tool with any AI agent that can execute shell commands β€” including Anthropic's Claude Code.

C

Claude Code

by Anthropic

Claude reads the SKILL.md file to learn all available Postiz commands, then autonomously discovers your Listmonk integration, composes your email campaign with subject, preview text, and list targeting, and sends it on schedule.

Claude Code

> Send a newsletter to list-1 about our
  new feature launch, schedule for Monday

Claude will automatically run:
  postiz integrations:list
  postiz posts:create \
    -c "<h1>New Feature Launch</h1>..." \
    -s "2025-03-03T09:00:00Z" \
    --settings '{"subject":
      "Exciting New Feature",
      "preview":"Check out what we built",
      "list":"list-1",
      "template":"newsletter-tmpl"}' \
    -i "listmonk-id"

Listmonk + Other Platforms

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

Terminal

# Send email and post to social media simultaneously
postiz posts:create \
  -c "We just launched our new feature! Check it out." \
  -s "2025-03-01T09:00:00Z" \
  --settings '{"subject":"New Feature Launch","preview":"Something big is here","list":"list-1"}' \
  -i "listmonk-id,twitter-id,linkedin-id"

# Batch schedule a month of newsletters
for week in 1 2 3 4; do
  postiz posts:create \
    -c "Week $week newsletter content..." \
    -s "2025-03-0${week}T08:00:00Z" \
    --settings '{"subject":"Weekly Digest - Week '$week'","preview":"Your weekly roundup","list":"list-1","template":"newsletter-tmpl"}' \
    -i "listmonk-id"
done

Start sending with Listmonk

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

Ready to get started?

Grow your social media presence with Postiz.
Schedule, analyze, and engage with your audience.

Grow your social media presence with Postiz.