Automate Pinterest with Claude Cowork
Create pins, target boards, add destination links, and control visual branding with dominant colors — all from the command line or through your AI agent.
Please make sure there is always a human in the loop.
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
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>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.jpgCreate 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.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "pinterest" |
board | string | Board ID to pin to |
title | string | Pin title (max 100 characters) |
link | string | Destination URL when the pin is clicked |
dominant_color | string | Hex 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 Claude Cowork?
Claude Cowork is Anthropic's agentic AI tool for knowledge workers. It runs on your desktop, connects to local files and apps like Google Drive, Gmail, and DocuSign, and completes multi-step tasks autonomously.
Desktop Native
Claude Cowork runs directly on your desktop, connecting to your local files and apps. No browser or cloud setup needed to manage your social media workflow.
App Integrations
Connects to Google Drive, Gmail, DocuSign, and more. Pull content from your existing tools and publish it to social media seamlessly.
Autonomous Tasks
Schedule recurring tasks with cron jobs. Claude Cowork can pin your Pinterest content on a schedule without you having to ask each time.
How Postiz Works with Claude Cowork
When you install Postiz Agent globally, Claude Cowork automatically discovers it by reading the bundled SKILL.md file. This file tells Claude Cowork what commands are available, what environment variables are needed, and how to compose Pinterest pins with the right settings.
- ✓Install Postiz Agent and set your POSTIZ_API_KEY
- ✓Claude Cowork discovers Postiz through MCP integration
- ✓All Postiz commands become available as tools
- ✓Claude Cowork autonomously chains commands for complex workflows
- ✓Works seamlessly with your existing desktop apps and files
Install Postiz
# Install the Postiz skill
npx skills add gitroomhq/postiz-agent
# Set your API key
export POSTIZ_API_KEY=your_api_key
# Claude Cowork discovers Postiz
# through MCP tool integration
# and can call all commands directlyPinterest Pinning with Claude Cowork
Message Claude Cowork from any platform — it reads the Postiz skill, discovers your Pinterest integration, and handles the entire pinning workflow autonomously.
From Any Chat App
Tell Claude Cowork what to post from you...
Send a message to Claude Cowork 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.
Claude Cowork
You: Post to Pinterest about our new
feature launch, schedule for tomorrow
at 9am
Claude Cowork: I'll handle that for you.
1. Found your Pinterest integration
2. Composing your post
3. Scheduling for tomorrow at 9:00 AM
Done! Your post is scheduled.
Post ID: abc-123Scheduled & Proactive
Claude Cowork can be asked to perfo...
Claude Cowork 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.
Claude Cowork Task
Tell Claude Cowork:
"Every weekday morning, check my
~/content/drafts folder for new posts
and schedule them to Pinterest
for noon today. Move published drafts
to ~/content/published."
Claude Cowork will autonomously:
1. Monitor your drafts folder
2. Read and format each post
3. Schedule via Postiz
4. Move files when doneWhy Claude Cowork + Postiz for Pinterest
Claude Cowork makes Postiz a natural fit for your Pinterest workflow. The agent discovers all available commands and autonomously chains them together.
- ✓Desktop-native — no terminal or CLI knowledge needed
- ✓Connects to your local files to pull content for Pinterest posts
- ✓Multi-step autonomy — handles discovery, composition, and scheduling
- ✓Works with Google Drive, Gmail, and other desktop apps
- ✓Cross-post to Pinterest + other platforms in a single request
- ✓Powered by Claude — Anthropic's most capable AI model
SKILL.md (auto-discovered)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including Pinterest
metadata:
claude-cowork:
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 OpenClaw
Postiz Agent works as a CLI tool with any AI agent that can execute shell commands — including OpenClaw, the open-source personal AI agent.
OpenClaw
Open-source AI agent
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.
OpenClaw
> 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"
doneStart 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.
Open-source social media scheduling tool