doodle top mobile

Automate X with Perplexity Computer

Schedule tweets, control reply permissions, post threads, and publish to X Communities โ€” all from the command line or through your AI agent.

Setup Guide

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

doodle left mobiledoodle right mobile

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

# Schedule a post on X
postiz posts:create \
  -c "Hello world! #buildinpublic" \
  -s "2025-01-15T09:00:00Z" \
  --settings '{"who_can_reply_post":"everyone"}' \
  -i "your-x-integration-id"

# Post a thread (multiple -c flags)
postiz posts:create \
  -c "Thread time! Here's what I learned this week..." \
  -c "1/ First, always ship small increments." \
  -c "2/ Second, get feedback early and often." \
  -c "3/ Third, automate everything you can." \
  -s "2025-01-15T10:00:00Z" \
  --settings '{"who_can_reply_post":"everyone"}' \
  -i "your-x-integration-id"

X-Specific Features

๐Ÿ—ฃ

Reply Controls

Control who can reply to your posts: everyone, people you follow, mentioned users, subscribers, or verified accounts only.

๐Ÿงต

Thread Support

Create multi-tweet threads by passing multiple -c flags. Each flag becomes a separate tweet in the thread, posted in order.

๐Ÿ˜

Community Posting

Post directly to X Communities by providing a community URL. Reach targeted audiences with relevant content.

โœ

Simple Text Posts

Quickly publish text-only tweets with hashtags, mentions, and links. No media upload required for basic posts.

๐Ÿ“ธ

Media Attachments

Attach images or videos to your posts. Upload media through Postiz and include it seamlessly in your scheduled tweets.

๐Ÿ“…

Scheduled Posting

Schedule posts with precise timestamps. Queue up a week of content in minutes and let Postiz handle the publishing.

How It Works

1

Find Your X Integration

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

Discovery

# List all integrations
postiz integrations:list

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

# Get X settings schema
postiz integrations:settings <x-id>
2

Compose Your Content

Write your tweet or thread. Use multiple -c flags to create threads. Add media with the -m flag after uploading through Postiz.

Compose

# Simple tweet
postiz posts:create \
  -c "Just shipped a new feature!" \
  --settings '{"who_can_reply_post":"everyone"}' \
  -i "x-id"

# Thread with multiple tweets
postiz posts:create \
  -c "Big announcement incoming..." \
  -c "We just hit 10k users!" \
  -c "Here's what we learned along the way." \
  --settings '{"who_can_reply_post":"everyone"}' \
  -i "x-id"
3

Schedule & Publish

Schedule your post for a specific time or publish immediately. Set reply controls and optionally target an X Community.

Post Creation

postiz posts:create \
  -c "Check out our latest blog post!" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{
    "who_can_reply_post": "everyone",
    "community": "https://x.com/i/communities/123"
  }' \
  -i "x-id"

X Settings Reference

Every X post accepts these platform-specific settings via the --settings flag.

FieldTypeDescription
__typestringMust be "x"
who_can_reply_poststringWho can reply: everyone, following, mentionedUsers, subscribers, verified
communitystringX Community URL to post into

Common Configurations

Copy-paste these settings for common X posting scenarios.

Public Post โ€” Everyone Can Reply

settings.json

{
  "who_can_reply_post": "everyone"
}

Followers Only Replies

settings.json

{
  "who_can_reply_post": "following"
}

Community Post with Verified Replies

settings.json

{
  "who_can_reply_post": "verified",
  "community": "https://x.com/i/communities/1234567890"
}

Mentioned Users Only

settings.json

{
  "who_can_reply_post": "mentionedUsers"
}

What is Perplexity Computer?

Perplexity Computer is a general-purpose digital worker that decomposes high-level goals into subtasks, spawns specialized sub-agents across 19 AI models, and delivers finished results โ€” from code to marketing campaigns.

๐Ÿงฉ

Task Decomposition

Perplexity Computer breaks complex social media campaigns into subtasks and handles each one with specialized sub-agents for maximum quality.

๐Ÿ”„

Multi-Model

Spawns sub-agents across 19 different AI models, picking the best model for each subtask โ€” content writing, image generation, scheduling, and more.

๐ŸŽฏ

End-to-End Delivery

From content ideation to final publishing โ€” Perplexity Computer handles the complete social media workflow and delivers finished results.

How Postiz Works with Perplexity Computer

Perplexity Computer discovers Postiz commands through its tool integration system. It can decompose a social media campaign into subtasks and use Postiz to execute each one.

  • โœ“Install Postiz Agent and set your POSTIZ_API_KEY
  • โœ“Perplexity Computer discovers Postiz through tool integration
  • โœ“Tasks are decomposed across specialized sub-agents
  • โœ“Each sub-agent picks the best model for its subtask
  • โœ“Results are delivered end-to-end with verification

Install Postiz

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

# Set your API key
export POSTIZ_API_KEY=your_api_key

# Perplexity Computer discovers Postiz
# through its tool integration system
# and decomposes tasks across sub-agents

X Posting with Perplexity Computer

Give Perplexity Computer a high-level goal and it decomposes it into subtasks, discovers your integrations via Postiz, and delivers a complete posting workflow.

๐ŸŒ

From Any Chat App

Give Perplexity Computer a high-level go...

Give Perplexity Computer a high-level goal and it decomposes it into subtasks, discovers your integrations via Postiz, and delivers a complete posting workflow.

Perplexity Computer

You: Create a week-long X
  campaign for our product launch

Perplexity Computer:
  Breaking this into subtasks:
  1. Research trending topics
  2. Draft 5 posts with varied angles
  3. Find your X integration
  4. Schedule posts across the week

  All 5 posts scheduled!
  Mon-Fri at 10:00 AM.
๐ŸŒ

Scheduled & Proactive

Perplexity Computer can execute rec...

Perplexity Computer can execute recurring workflows. Set up campaigns that automatically generate and publish content on a schedule.

Perplexity Computer Task

Tell Perplexity Computer:

"Every Monday morning, create a
week's worth of X content
based on trending topics in our
industry. Schedule one post per day
at 10 AM. Use engaging hooks and
relevant hashtags."

Perplexity Computer will:
  1. Research current trends
  2. Generate 5 unique posts
  3. Schedule via Postiz
  4. Report results back

Why Perplexity Computer + Postiz for X

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

  • โœ“Decomposes complex X campaigns into optimized subtasks
  • โœ“19 AI models โ€” picks the best one for each part of the workflow
  • โœ“End-to-end delivery from ideation to scheduled publishing
  • โœ“Research-powered content based on real-time trending topics
  • โœ“Cross-post to X + other platforms in a single request
  • โœ“Available to Perplexity Max subscribers

SKILL.md (auto-discovered)

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

# X Settings
who_can_reply_post, community

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 X integration, composes your tweet or thread, applies reply settings, and schedules the post.

Claude Code

> Post a thread about our product launch
  on X, schedule for tomorrow, everyone
  can reply

Claude will automatically run:
  postiz integrations:list
  postiz posts:create \
    -c "Big news! We just launched..." \
    -c "Here's what makes it special..." \
    -c "Try it out today at..." \
    -s "2025-03-02T09:00:00Z" \
    --settings '{"who_can_reply_post":
      "everyone"}' \
    -i "x-id"

X + Other Platforms

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

Terminal

# Post to X and LinkedIn simultaneously
postiz posts:create \
  -c "Excited to announce our new feature! #buildinpublic" \
  -s "2025-03-01T09:00:00Z" \
  --settings '{"who_can_reply_post":"everyone"}' \
  -i "x-id,linkedin-id"

# Batch schedule a week of X content
for day in 1 2 3 4 5; do
  postiz posts:create \
    -c "Day $day tip! #dailytips" \
    -s "2025-03-0${day}T10:00:00Z" \
    --settings '{"who_can_reply_post":"everyone"}' \
    -i "x-id"
done

Reply Options

Everyone

everyone

Following

following

Mentioned Users

mentionedUsers

Subscribers

subscribers

Verified

verified

Start posting to X

Install Postiz Agent and automate your X 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.