Postiz n8n Automation: Build a Smart Social Media Workflow in 2026

Published September 21, 2026 · 14 min read

Postiz handles your social media scheduling. n8n handles everything else. Combine these two free, open source tools and you get AI-generated captions, RSS-driven auto-posting, cross-platform workflows, and analytics collection — all running on a $5/month VPS with no per-post fees. Here's exactly how to build it.

What Is n8n and Why Pair It with Postiz?

n8n is a free, open source workflow automation platform — similar to Zapier or Make, but self-hostable and without per-task pricing. You connect apps, services, and APIs into visual workflows that run automatically based on triggers you define.

Postiz is the best open source social media scheduler in 2026. It has a full REST API that covers queues, scheduling, analytics, users, and workspaces. n8n can call that API to build intelligent automation on top of Postiz's scheduling engine.

Together, they create a system where content flows automatically from your sources — RSS feeds, Google Sheets, AI models, Notion databases — into scheduled posts across 20+ platforms, without any manual publishing.

What You'll Build

Postiz API: Your Automation Foundation

Before building workflows, you need to understand what Postiz exposes. The API is available at:

Base URL (self-hosted) http://YOUR-POSTIZ-URL/api/v1 Authentication Authorization: Bearer YOUR_API_TOKEN Generate tokens at: Postiz Settings → API Keys

Key API endpoints you'll use in n8n:

Check the Postiz GitHub wiki for the full API documentation.

Setting Up n8n (Quick Start)

n8n is easier to deploy than Postiz. Here's the fastest route:

Option 1: n8n Cloud (Free Tier)

n8n offers a free hosted tier at n8n.io — no server required. Sign up, connect your Postiz instance via the API, and start building. Best for testing workflows before self-hosting.

Option 2: Docker on Your VPS

Deploy n8n with Docker docker run -d \ --name n8n \ -p 5678:5678 \ -v n8n_data:/home/node/.n8n \ -e N8N_BASIC_AUTH_ACTIVE=true \ -e N8N_HOST=n8n.yourdomain.com \ -e N8N_PROTOCOL=https \ n8nio/n8n # Access at http://YOUR_SERVER:5678 # Set up HTTPS with Nginx or Caddy reverse proxy

If you're already running Postiz on Docker, add n8n to the same Docker Compose stack for unified management.

Option 3: One-Click on Railway

n8n also has a one-click deploy on Railway — similar to Postiz, you connect GitHub, Railway auto-detects n8n, and spins up the container with environment variables pre-configured.

Ready to Automate Your Social Media?

Postiz handles the scheduling. n8n handles the intelligence. Together they're a free, enterprise-grade social media automation stack. Start with Postiz — it's free and takes 5 minutes to deploy.

Try Postiz Free →

Workflow 1: RSS Feed → Auto-Post to All Platforms

The most popular n8n + Postiz automation. Every time your blog publishes a new article, n8n detects it, extracts the title and summary, formats posts for each platform, and queues them in Postiz.

Trigger: RSS Read Node

n8n has a built-in RSS Read node. Point it at your blog's RSS feed:

n8n workflow node configuration Node: RSS Read URL: https://yourblog.com/feed.xml Trigger: Schedule (Cron) — Run every hour Frequency: Every 60 minutes

Step 2: Format for Each Platform

Use n8n's Switch node to route different formats to each social channel. Or use a single format and rely on Postiz's per-platform preview to tweak before publishing.

n8n HTTP Request node — Create Postiz post Method: POST URL: http://YOUR-POSTIZ/api/v1/posts Authentication: Bearer Token Body (JSON): { "content": "{{ $json.title }}", "socialMediaTypes": ["X", "LINKEDIN", "FACEBOOK", "THREADS"], "queued": true, "scheduledAt": "{{ $json['scheduledDate'] || new Date().toISOString() }}", "workspaceId": "YOUR_WORKSPACE_ID" } Headers: Content-Type: application/json Authorization: Bearer YOUR_POSTIZ_API_KEY

Set queued: true to add posts to your Postiz queue rather than publishing immediately. This lets you review and approve before anything goes live.

Step 3: Auto-Schedule with n8n Expressions

Use n8n expressions to spread posts across optimal times. For example, space new blog posts across Monday, Wednesday, and Friday at 10 AM:

n8n Expression for smart scheduling // In the scheduledAt field: {{ new Date().toISOString() }} // For queue-based posting (recommended): "queued": true // Postiz will use your queue's default posting schedule

Workflow 2: AI-Generated Captions with OpenAI

Write a product description or bullet points. n8n calls OpenAI (or Claude via Anthropic) to generate platform-specific captions. Postiz queues the result.

The n8n Workflow

n8n AI node configuration Node: AI Agent (or OpenAI node) Model: gpt-4o Prompt: "Generate 5 different social media captions for this product update. Each caption should be platform-specific: 1. Twitter/X: punchy, max 280 chars, include a hook 2. LinkedIn: professional, 150-200 words, include a insight 3. Facebook: conversational, 50-100 words, include a question 4. Threads: casual, 50-100 words, trendy tone 5. Instagram: visual-first, 100-150 words, include 3 hashtags Product update: {{ $json.productUpdate }}" Output: Array of 5 caption objects

Postiz's own AI caption feature already handles this natively — but chaining it through n8n lets you pull source data from your own databases, CRMs, or content management systems before generation.

Workflow 3: Google Sheets Content Calendar

Manage your entire social media calendar in Google Sheets. n8n reads new rows, validates the data, and bulk-creates Postiz posts. This is how agencies manage 50+ client accounts without logging into each one.

Google Sheets → Postiz bulk scheduling Node: Google Sheets (Watch New Rows) Spreadsheet: Social Media Calendar Sheet: Content Queue Node: Function (transform data) const rows = $input.all(); const posts = rows.map((row, i) => ({ content: row.json.caption, socialMediaTypes: row.json.platforms.split(','), scheduledAt: row.json.publishDate, queued: false, workspaceId: 'YOUR_WORKSPACE_ID' })); return posts.map(p => ({ json: p })); Node: HTTP Request (POST to Postiz) Runs once per row (set "Execute Once" = false) URL: http://YOUR-POSTIZ/api/v1/posts Body: {{ $json }}

Google Sheets Template Structure

Create a sheet with these columns:

n8n can also write back to the Status column after successful posting, creating a complete audit trail.

Workflow 4: Cross-Platform Content Syndication

Write once, publish everywhere. n8n takes a single source (a blog post, a YouTube video, a podcast episode) and automatically distributes adapted versions across your entire social network.

Cross-platform syndication flow Trigger: New blog post (RSS or webhook) │ ├──► Format for X/Twitter (280 char hook + link) │ └──► POST /posts to Postiz (X queue) │ ├──► Format for LinkedIn (professional summary + insights) │ └──► POST /posts to Postiz (LinkedIn queue) │ ├──► Format for Facebook (engaging question + image idea) │ └──► POST /posts to Postiz (Facebook queue) │ ├──► Format for Threads (casual, trendy, short) │ └──► POST /posts to Postiz (Threads queue) │ └──► Format for Reddit (valuable, community-aware) └──► POST /posts to Postiz (Reddit queue)

Each transformation uses n8n's AI node to adapt the source content for the specific platform's tone, length, and audience expectations. LinkedIn posts get professional framing. Reddit posts drop the marketing language and focus on genuine value. Twitter gets a sharp hook.

Workflow 5: Analytics Collection to Notion

Postiz tracks post performance. n8n pulls those analytics weekly and writes them to a Notion database — giving you a historical record of what works, without logging into Postiz every time.

Postiz analytics → Notion Trigger: Schedule (every Monday 9 AM) │ Node: HTTP Request GET http://YOUR-POSTIZ/api/v1/analytics?from=2026-09-14&to=2026-09-21 Headers: Authorization: Bearer YOUR_API_KEY Node: Notion (Update Database Page) Database: Social Media Weekly Report Properties: - Week: {{ $json.week }} - Total Posts: {{ $json.totalPosts }} - Total Reach: {{ $json.reach }} - Top Platform: {{ $json.topPlatform }} - Top Post: {{ $json.topPostContent }}

How to Connect n8n to Postiz (API Setup)

Getting n8n and Postiz talking to each other takes about 5 minutes:

  1. Get your Postiz API key: Log into Postiz → Settings → API Keys → Generate new key. Copy it immediately — it won't be shown again.
  2. Get your workspace ID: Found in Postiz Settings → Workspace. You'll need this for all API calls.
  3. Add credentials in n8n: n8n → Settings → Credentials → Create New → Bearer Token Auth. Paste your Postiz API key.
  4. Test the connection: Create a simple n8n workflow with an HTTP Request node calling GET /api/v1/queues with your credentials. You should see your Postiz queues returned.

Self-Hosting Both: The Complete Stack

Run Postiz and n8n together on a single $10/month VPS using Docker Compose:

docker-compose.yml for Postiz + n8n version: '3.8' services: postiz: image: gitroom/postiz-app container_name: postiz ports: - "5002:5002" environment: - DATABASE_URL=postgresql://user:pass@db:5432/postiz depends_on: - db n8n: image: n8nio/n8n container_name: n8n ports: - "5678:5678" volumes: - n8n_data:/home/node/.n8n environment: - N8N_BASIC_AUTH_ACTIVE=true db: image: postgres:15 environment: - POSTGRES_USER=user - POSTGRES_PASSWORD=pass - POSTGRES_DB=postiz volumes: n8n_data:
Start the stack docker compose up -d # Postiz: http://your-server:5002 # n8n: http://your-server:5678

Add a reverse proxy (Nginx or Caddy) with HTTPS in front of both services for production use. Point subdomains at each: postiz.yourdomain.com and n8n.yourdomain.com.

How This Compares to Commercial Alternatives

Zapier + Buffer

  • $20-$49/month for Zapier
  • $6/channel/month for Buffer
  • Limited platform support
  • No self-hosting option
  • Zaps limited to 2-step flows
  • No AI caption generation

n8n + Postiz

  • Free (both are MIT/open source)
  • $10/month VPS (both tools)
  • 20+ platforms via Postiz
  • Full self-hosting control
  • Unlimited workflow steps
  • AI captions via OpenAI/Claude

Getting Started Today

You don't need to build all five workflows at once. Start with the simplest one — RSS auto-posting. It takes 30 minutes to set up, and you'll immediately see the value of automated social publishing.

Here's your launch sequence:

  1. Deploy Postiz (Railway one-click or Docker on a VPS)
  2. Connect your social accounts in Postiz
  3. Deploy n8n (Docker or Railway)
  4. Generate a Postiz API key
  5. Build your first RSS workflow in n8n
  6. Expand from there as you discover what your content workflow needs

Both tools have active Discord communities and documentation. If you get stuck, the n8n Discord and Postiz Discord are responsive and beginner-friendly.

Start Building Your Automation Stack

Postiz is the scheduling layer. n8n is the intelligence layer. Together they're free, self-hosted, and infinitely extensible. Get Postiz running in 5 minutes and connect it to n8n to unlock powerful automations.

Try Postiz Free →

Frequently Asked Questions

Can I automate Postiz with n8n?

Yes. Postiz has a full REST API that n8n can connect to directly. You can trigger posts from Google Sheets, automate AI-generated captions via OpenAI, import content from RSS feeds, and auto-post to multiple platforms on a schedule — all without writing code or paying for a SaaS automation tool.

What can I automate between Postiz and n8n?

The most popular n8n + Postiz automations include: auto-posting from RSS feeds, AI-generated captions via OpenAI/Claude, content calendar imports from Google Sheets, cross-platform reposting (e.g., blog → Twitter + LinkedIn + Facebook), and analytics collection into Notion or Airtable. The Postiz API covers all core scheduling operations.

How do I connect Postiz to n8n?

Postiz exposes its API at http://your-postiz-instance/api/v1. Generate an API token from Postiz Settings → API Keys, then use n8n's HTTP Request node to authenticate with Bearer token auth. The Postiz GitHub wiki documents all available endpoints including queues, analytics, users, and workspace management.

Is Postiz + n8n really free?

Yes. Postiz is MIT-licensed open source (free), and n8n is also open source and free to self-host. Both run on Docker. Combined with a $5-$10/month VPS, you get a full enterprise-grade social media automation stack for under $10/month total — no per-post fees, no per-channel costs.

How does RSS-to-Postiz automation work?

n8n monitors an RSS feed (e.g., your blog or industry news) using its RSS Read node. When new items appear, n8n extracts the title, description, and link, formats the content for each social platform, and calls the Postiz API to create queued posts for each channel. This keeps your social profiles active with zero manual effort.

Conclusion: Two Free Tools, One Powerful System

Postiz and n8n are each the best-in-class open source tool for their respective roles — scheduling and automation. Combined, they rival commercial stacks costing $200-$500/month. The catch? You manage your own infrastructure. But for creators and small teams who want full control, maximum flexibility, and zero per-channel pricing, this stack is unmatched in 2026.

Start small. Deploy Postiz first, connect your accounts, and feel the difference of managing all your social channels in one free dashboard. Then add n8n when you're ready to automate the repetitive parts. Each workflow you build saves you time every week, forever.

Get Started with Postiz

Deploy in minutes. Connect 20+ platforms. Schedule unlimited posts. Start building your free automation stack today.

Try Postiz Free →