- 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
In n8n’s AI Agent node (or MCP Client tool):
- 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:
Base URL:
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
See n8n integration for community node workflows.
Environment variables
Store secrets in n8n credentials or env vars:{{ $env.POSTSIVA_API_KEY }}
Error handling
Enable Continue On Fail on HTTP nodes only when downstream logic handles partial success (e.g. multi-platform publish).
Example: RSS → AI → schedule
1
RSS Read
Trigger on new blog post URL
2
AI Generate Post from Idea
Postsiva node with
idea = post title + summary, platforms = linkedin, threads3
Create Scheduled Post
Postsiva node with caption from AI output and
scheduled_time = next business day 09:00 UTC4
Notify
Send confirmation email or Slack message with scheduled time
Same 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