doodle top mobile

Automate Discord with Paperclip

Send messages to Discord channels, attach media, schedule announcements, and integrate with your bot β€” 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

Post to Discord 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 Discord integration
postiz integrations:list

# Send a message to a Discord channel
postiz posts:create \
  -c "Hello everyone! Big announcement coming soon." \
  -s "2025-01-15T10:00:00Z" \
  --settings '{"channel":"123456789012345678"}' \
  -i "your-discord-integration-id"

Discord-Specific Features

πŸ“’

Channel Messaging

Send messages directly to any Discord channel. Target announcements, general chat, or dedicated content channels.

πŸ“Ž

Media Attachments

Attach images, videos, and files to your Discord messages. Share rich content with your community automatically.

⏰

Scheduled Messages

Schedule Discord messages for specific times. Perfect for announcements, event reminders, and timed content drops.

πŸ€–

Bot Integration

Works through your Discord bot connection. Post messages as your bot to any server and channel it has access to.

πŸ’¬

Community Updates

Automate recurring community updates, changelogs, and newsletters. Keep your Discord server engaged on autopilot.

πŸ“…

Multi-Channel

Post to different channels with different messages. Customize content for each channel in your Discord server.

How It Works

1

Find Your Discord Integration

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

Discovery

# List all integrations
postiz integrations:list

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

# Get Discord settings schema
postiz integrations:settings <discord-id>
2

Get Your Channel ID

Find the Discord channel ID where you want to post. In Discord, enable Developer Mode, then right-click the channel and copy its ID.

Channel Setup

# Enable Developer Mode in Discord:
# User Settings > Advanced > Developer Mode

# Right-click any channel > Copy Channel ID
# Example: 123456789012345678

# You can target any channel your bot
# has permission to post in
3

Create Your Message

Schedule a Discord message with your content, optional media attachments, and the target channel ID.

Message Creation

postiz posts:create \
  -c "Hey everyone! We just shipped
  a major update. Check it out!" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "channel": "123456789012345678"
  }' \
  -i "discord-id"

# With media attachment
VIDEO=$(postiz upload demo.mp4)
VIDEO_URL=$(echo "$VIDEO" | jq -r '.path')

postiz posts:create \
  -c "Demo of the new feature" \
  -m "$VIDEO_URL" \
  --settings '{"channel":"123456789"}' \
  -i "discord-id"

Discord Settings Reference

Every Discord message accepts these platform-specific settings via the --settings flag.

FieldTypeDescription
__typestringMust be "discord"
channelstringDiscord channel ID to post to

Common Configurations

Copy-paste these settings for common Discord messaging scenarios.

Announcement Channel Message

settings.json

{
  "channel": "123456789012345678"
}

Message with Media Attachment

Terminal

# Upload media first
IMAGE=$(postiz upload screenshot.png)
IMAGE_URL=$(echo "$IMAGE" | jq -r '.path')

# Post with attachment
postiz posts:create \
  -c "Here's a preview of what's coming next!" \
  -m "$IMAGE_URL" \
  --settings '{"channel":"123456789012345678"}' \
  -i "discord-id"

Scheduled Weekly Update

Terminal

# Schedule a weekly update for Monday morning
postiz posts:create \
  -c "Weekly Update - March 3, 2025

Here's what we shipped this week:
- Feature A: New dashboard
- Feature B: API improvements
- Bug fix: Login issue resolved

Thanks for being part of our community!" \
  -s "2025-03-03T09:00:00Z" \
  --settings '{"channel":"123456789012345678"}' \
  -i "discord-id"

Multi-Channel Posting

Terminal

# Post to announcements channel
postiz posts:create \
  -c "v2.0 is live! Check the changelog." \
  --settings '{"channel":"111111111111111111"}' \
  -i "discord-id"

# Post detailed changelog to dev channel
postiz posts:create \
  -c "v2.0 Changelog:
- Redesigned API layer
- 50% faster response times
- New webhook support" \
  --settings '{"channel":"222222222222222222"}' \
  -i "discord-id"

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 Discord messages 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 Discord messages 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

Discord Messaging with Paperclip

Message Paperclip from any platform β€” it reads the Postiz skill, discovers your Discord integration, and handles the entire messaging 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 Discord bot via Postiz, and sends the message to the right channel β€” all while you go about your day.

Paperclip

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

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

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

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

Scheduled & Proactive

Paperclip orchestrates recurring co...

Paperclip supports cron-based heartbeat tasks. Set up a recurring job that sends weekly updates, daily tips, or event reminders to your Discord server automatically β€” no manual trigger needed.

paperclip.yaml (pipeline)

pipelines:
  daily_social:
    schedule: "0 9 * * 1-5"
    agents:
      - role: content_creator
        task: "Draft a Discord 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 Discord

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

  • βœ“Multi-agent teams for quality Discord 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 Discord + 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 Discord
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>

# Discord Settings
channel (required channel ID)

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 Discord integration, identifies the right channel, and sends your message with any attachments.

Claude Code

> Send an announcement to our Discord
  #releases channel that v2.0 is live,
  attach the changelog screenshot

Claude will automatically run:
  postiz integrations:list
  postiz upload ./changelog.png
  postiz posts:create \
    -c "v2.0 is now live! Check out
      the changelog below." \
    -m "uploaded-image-url" \
    --settings '{"channel":
      "123456789012345678"}' \
    -i "discord-id"

Discord + Other Platforms

Schedule the same announcement to Discord and other platforms in a single command. Each platform gets its own settings.

Terminal

# Announce to Discord and Twitter simultaneously
postiz posts:create \
  -c "We just launched v2.0! New features, faster performance, and more." \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "channel": "123456789012345678"
  }' \
  -i "discord-id,twitter-id"

# Batch schedule daily tips to Discord
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Daily Tip #$day: Stay productive with automation!" \
    -s "2025-03-0${day}T10:00:00Z" \
    --settings '{"channel":"123456789012345678"}' \
    -i "discord-id"
done

Start posting to Discord

Install Postiz Agent and automate your Discord community messaging with AI-powered scheduling and publishing.

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.