- Community nodes —
n8n-nodes-postsivapackage with 43 dedicated nodes (recommended for most workflows) - MCP AI Agent — natural-language tool selection (best for flexible AI workflows)
- REST HTTP Request — deterministic calls to specific endpoints (best for custom or uncovered endpoints)
Prerequisites
- n8n instance (cloud or self-hosted) with MCP or HTTP Request nodes
- Pro plan with
mcp_enabled(MCP) orapi_keys_enabled(REST) - Workspace API key:
psk_live_YOUR_KEY - Social accounts connected in the target workspace
Option A — Community nodes (recommended)
Installn8n-nodes-postsiva from Settings → Community nodes for 43 ready-made nodes: posting, scheduling, drafts, inbox, AI generation, AI Watcher, and brand persona.
See the full guide: n8n integration.
Option B — MCP AI Agent
Use when the workflow should decide which Postsiva action to take based on incoming data or chat input.MCP server config
| Field | Value |
|---|---|
| URL | https://mcp.postsiva.com/mcp |
| Transport | Streamable HTTP |
| Auth header | X-API-Key: psk_live_YOUR_KEY |
- Add MCP server Postsiva with the URL and header above
- Connect the agent to your trigger (Webhook, Schedule, Slack, etc.)
- System prompt example:
Example workflow — Webhook → Agent → Slack
Webhook body:idea_to_content → publish with draft: true
Example workflow — Scheduled content
- Schedule Trigger — every Monday 08:00
- AI Agent — “Generate 3 LinkedIn post ideas from our blog RSS themes and save top one as draft”
- HTTP Request (optional) — notify team in Slack with draft link
Option C — REST HTTP Request
Use for fixed pipelines where you know the exact endpoint.Shared credentials
Create n8n Header Auth credential:| Header name | Value |
|---|---|
X-API-Key | psk_live_YOUR_KEY |
https://backend.postsiva.com
Pattern 1 — Generate and publish
Node 1: HTTP Request — generate copyPattern 2 — Sync analytics daily
$json in Google Sheets, Airtable, or your data warehouse.
Pattern 3 — Comment auto-reply (deterministic)
GET /unified/comments?platforms=instagram&limit=5- IF node — filter unanswered
POST /unified/comments/reply?platform=instagram&comment_id={{ $json.id }}&text=Thanks for your comment!
For AI-generated replies, use the MCP AI Agent with
get_comments + reply_to_comment instead of hard-coded text.Community nodes vs MCP vs REST
| Community nodes | MCP AI Agent | HTTP Request | |
|---|---|---|---|
| Setup | Install n8n-nodes-postsiva + credential | MCP server + agent prompt | Per-endpoint nodes |
| Coverage | 43 Postsiva actions | Full MCP tool catalog | Any REST path |
| Flexibility | Medium — pick node + fields | High — agent picks tools | Low — fixed paths |
| Best for | Scheduled posts, inbox, watcher | Chatbots, variable instructions | Custom / debug endpoints |
Environment variables
Store secrets in n8n credentials or env vars:{{ $env.POSTSIVA_API_KEY }}
Error handling
| Error | Action |
|---|---|
401 | Rotate or fix API key credential |
Plan / 402 message | Upgrade workspace to Pro |
Tool success: false | Branch on $json.success; log $json.error |
| Rate limits | Add Wait node; reduce schedule frequency |
Example: RSS → AI → schedule
AI Generate Post from Idea
Postsiva node with
idea = post title + summary, platforms = linkedin, threadsCreate Scheduled Post
Postsiva node with caption from AI output and
scheduled_time = next business day 09:00 UTCSame flow works with HTTP Request nodes — see REST AI content and n8n HTTP fallback.
Security
- Store
psk_live_keys in n8n Credentials, not in workflow JSON exports - Use scoped keys (
linkedin_postsread-only for analytics-only workflows) - Restrict webhook URLs with authentication
Next
Community nodes
Install n8n-nodes-postsiva
Cursor guide
MCP in Cursor
REST AI content
Generate endpoints
Authentication
Scopes and headers