doodle top mobile

Automate Pinterest with Hermes Agent

Create pins, target boards, add destination links, and control visual branding with dominant colors β€” all from the command line or through your AI agent.

Setup GuideGitHub

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

doodle left mobiledoodle right mobile

Pin to Pinterest 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 Pinterest integration
postiz integrations:list

# Upload an image
IMAGE=$(postiz upload design.jpg)
IMAGE_URL=$(echo "$IMAGE" | jq -r '.path')

# Create a Pinterest pin
postiz posts:create \
  -c "Beautiful home office setup ideas for remote workers" \
  -m "$IMAGE_URL" \
  -s "2025-01-15T10:00:00Z" \
  --settings '{"board":"board-id","title":"Home Office Ideas","link":"https://example.com/home-office"}' \
  -i "your-pinterest-integration-id"

Pinterest-Specific Features

πŸ“Œ

Pin Creation

Create rich pins with images, descriptions, titles, and destination links. Drive traffic from Pinterest to your website.

πŸ“‹

Board Targeting

Pin directly to specific boards. Organize your content by topic, campaign, or audience segment for maximum reach.

πŸ”—

Link Pins

Attach destination URLs to your pins. Every click drives traffic directly to your website, product page, or blog.

🎨

Visual Branding

Set a dominant color for your pins to maintain brand consistency. Control how your content looks in Pinterest feeds.

πŸ–Ό

Image Uploads

Upload high-quality images directly via the CLI. Supports JPG, PNG, WEBP, and other common image formats.

πŸ“…

Scheduled Pinning

Schedule pins for optimal times when your audience is most active. Build a consistent pinning cadence automatically.

How It Works

1

Find Your Pinterest Integration

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

Discovery

# List all integrations
postiz integrations:list

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

# Get Pinterest settings schema
postiz integrations:settings <pinterest-id>
2

Upload Your Image

Upload your pin image to get a public URL. Pinterest requires high-quality images for best results. Supports JPG, PNG, WEBP, and more.

Upload

# Upload image and extract URL
RESULT=$(postiz upload design.jpg)
IMAGE_URL=$(echo "$RESULT" | jq -r '.path')

echo $IMAGE_URL
# https://uploads.postiz.com/your-image.jpg
3

Create Your Pin

Schedule a Pinterest pin with your image, description, board, title, destination link, and optional dominant color for brand consistency.

Pin Creation

postiz posts:create \
  -c "Inspiring workspace design tips" \
  -m "$IMAGE_URL" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "board": "your-board-id",
    "title": "Workspace Design Tips",
    "link": "https://example.com/tips",
    "dominant_color": "#682EE1"
  }' \
  -i "pinterest-id"

Pinterest Settings Reference

Every Pinterest pin accepts these platform-specific settings via the --settings flag.

FieldTypeDescription
__typestringMust be "pinterest"
boardstringBoard ID to pin to
titlestringPin title (max 100 characters)
linkstringDestination URL when the pin is clicked
dominant_colorstringHex color code for visual branding (e.g. "#FF6B35")

Common Configurations

Copy-paste these settings for common Pinterest pinning scenarios.

Simple Pin with Link

settings.json

{
  "board": "home-decor-board-id",
  "title": "10 Modern Living Room Ideas",
  "link": "https://example.com/living-room-ideas"
}

Branded Pin with Color

settings.json

{
  "board": "brand-pins-board-id",
  "title": "New Product Launch",
  "link": "https://example.com/product",
  "dominant_color": "#FF6B35"
}

Minimal Pin (Board Only)

settings.json

{
  "board": "inspiration-board-id"
}

Blog Post Pin

settings.json

{
  "board": "blog-posts-board-id",
  "title": "How to Automate Social Media in 2025",
  "link": "https://example.com/blog/automate-social-media",
  "dominant_color": "#682EE1"
}

What is Hermes Agent?

Hermes Agent is an open-source AI agent framework by Nous Research β€” β€œthe agent that grows with you.” It's a flexible platform for building and running AI agents that can execute real-world tasks.

🌱

Grows With You

Hermes Agent learns and adapts to your workflows over time. The more you use it, the better it understands your social media strategy and content style.

πŸ”§

Open-Source Framework

Built by Nous Research, Hermes Agent is fully open-source. Customize and extend it to fit your exact social media automation needs.

⚑

Tool Execution

Schedule recurring tasks with cron jobs. Hermes Agent can pin your Pinterest content on a schedule without you having to ask each time.

How Postiz Works with Hermes Agent

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

  • βœ“Install Postiz Agent globally with npx skills add
  • βœ“Hermes Agent discovers Postiz through tool execution framework
  • βœ“POSTIZ_API_KEY must be set in environment
  • βœ“All Postiz commands become available as agent tools
  • βœ“Works with any compatible LLM backend

Install Postiz

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

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Hermes Agent discovers Postiz
# through its tool execution framework
hermes tools list

Pinterest Pinning with Hermes Agent

Message Hermes Agent from any platform β€” it reads the Postiz skill, discovers your Pinterest integration, and handles the entire pinning workflow autonomously.

🧠

From Any Chat App

Hermes Agent reads Postiz commands throu...

Send a message to Hermes Agent from your favorite chat app. It runs as a persistent daemon on your machine, so it picks up your message, discovers your Pinterest account via Postiz, uploads the image, and creates the pin β€” all while you go about your day.

Hermes Agent

You: Post to Pinterest about our new
  feature launch, schedule for tomorrow
  at 9am

Hermes: I'll handle that! Let me:
  1. Find your Pinterest integration
  2. Compose your post content
  3. Schedule for tomorrow 9:00 AM

  Done! Post scheduled successfully.
  Post ID: abc-123
🧠

Scheduled & Proactive

Hermes Agent supports scheduled tas...

Hermes Agent supports cron-based heartbeat tasks. Set up a recurring job that checks a folder for new images and pins them to Pinterest automatically β€” no manual trigger needed.

hermes-config.yaml

scheduled_tasks:
  - name: daily_social_posts
    schedule: "0 9 * * 1-5"
    prompt: |
      Check ~/content/posts for new
      .txt files. For each one, read
      the content and schedule a post
      to Pinterest for today at noon.
      Move posted files to
      ~/content/published.

Why Hermes Agent + Postiz for Pinterest

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

  • βœ“Open-source and fully customizable for your Pinterest workflow
  • βœ“Grows and adapts to your content strategy over time
  • βœ“Tool execution framework discovers Postiz commands automatically
  • βœ“Scheduled tasks for hands-free daily posting
  • βœ“Cross-post to Pinterest + other platforms in a single conversation
  • βœ“Works with any LLM backend β€” not locked to a single provider

SKILL.md (auto-discovered)

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

# Pinterest Settings
board (required), title,
link (destination URL),
dominant_color (hex branding)

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 Pinterest integration, uploads your image, selects the right board, and creates the pin with your link and branding.

Claude Code

> Pin my new product image to the
  "Spring Collection" board with a link
  to the product page, use brand color

Claude will automatically run:
  postiz integrations:list
  postiz upload ./product-image.jpg
  postiz posts:create \
    -c "New spring collection!" \
    -m "uploaded-image-url" \
    -s "2025-03-02T09:00:00Z" \
    --settings '{"board":
      "spring-collection-id",
      "title":"Spring Collection",
      "link":"https://shop.example.com
        /spring",
      "dominant_color":"#682EE1"}' \
    -i "pinterest-id"

Pinterest + Other Platforms

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

Terminal

# Pin to Pinterest and post to Instagram simultaneously
postiz posts:create \
  -c "Check out our latest design! #design #inspiration" \
  -m "$IMAGE_URL" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "board": "design-inspiration-id",
    "title": "Latest Design Showcase",
    "link": "https://example.com/designs",
    "dominant_color": "#682EE1"
  }' \
  -i "pinterest-id,instagram-id"

# Batch schedule a week of Pinterest pins
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Design tip #$day for the week" \
    -m "tip${day}-image-url" \
    -s "2025-03-0${day}T10:00:00Z" \
    --settings '{"board":"design-tips-id","title":"Design Tip '$day'","link":"https://example.com/tips/'$day'"}' \
    -i "pinterest-id"
done

Start pinning to Pinterest

Install Postiz Agent and automate your Pinterest content strategy 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.