doodle top mobile

Automate Pinterest with nanoclaw

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

nanoclaw is a lightweight, container-based alternative to nanoclaw by Qwibit AI. It connects to WhatsApp, Telegram, Slack, Discord, and Gmail, features memory and scheduled jobs, and runs on Anthropic's Agents SDK.

📦

Container-Based

nanoclaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.

💬

Multi-Platform Chat

Connect to WhatsApp, Telegram, Slack, Discord, and Gmail. Message nanoclaw from wherever you already communicate.

🧠

Memory & Context

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

How Postiz Works with nanoclaw

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

  • Install Postiz skill with npx skills add gitroomhq/postiz-agent
  • nanoclaw reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • Skills are loaded on-demand, keeping the agent context clean
  • Runs on Anthropic&apos;s Agents SDK for reliable execution

Install Postiz

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

# Set your API key
export POSTIZ_API_KEY=your_api_key

# nanoclaw discovers Postiz through
# its skill system
nanoclaw skills list

Pinterest Pinning with nanoclaw

Message nanoclaw from any platform — it reads the Postiz skill, discovers your Pinterest integration, and handles the entire pinning workflow autonomously.

🐳

From Any Chat App

Message nanoclaw from WhatsApp, Telegram...

Send a message to nanoclaw 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.

nanoclaw

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

nanoclaw: On it! Here's my plan:
  1. Found your Pinterest integration
  2. Composing your post
  3. Scheduling for tomorrow 9:00 AM

  Done! Your post is scheduled.
  Post ID: abc-123
🐳

Scheduled & Proactive

nanoclaw supports scheduled jobs ou...

nanoclaw 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.

nanoclaw.json (scheduled job)

{
  "scheduled_jobs": [
    {
      "cron": "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 nanoclaw + Postiz for Pinterest

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

  • Message from WhatsApp or Telegram to post to Pinterest — no terminal needed
  • Container-based — easy to deploy, isolate, and scale
  • Built-in memory remembers your content preferences
  • Scheduled jobs for hands-free daily posting
  • Cross-post to Pinterest + other platforms in a single conversation
  • Runs on Anthropic&apos;s Agents SDK — reliable and extensible

SKILL.md (auto-discovered)

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