n8n

Automate Postkea from n8n. The Postkea community node creates and schedules posts, lists accounts, imports media and reads analytics; the Postkea Trigger node starts a workflow when something happens in Postkea. For AI agents inside n8n, connect the MCP server.

Install the node

On self-hosted n8n open Settings, then Community nodes, choose Install and enter the package name:

npm package
n8n-nodes-postkea

Or install it from the command line in your n8n data folder and restart n8n:

shell
cd ~/.n8n/nodes
npm install n8n-nodes-postkea

Add credentials

Create a Postkea API credential with an API key from Developers, API keys, and the base URL https://postkea.com (or your own deployment). The credential test calls GET /api/v1/me.

Use an agent key with the approval or draft policy when an AI step writes the posts. Give the key the webhooks scope if you use the trigger.

Postkea node

Resources and operations:

ResourceOperations
PostCreate, get, list, delete, reschedule
AccountList
MediaUpload from URL, list
AnalyticsGet the overview for a period

Create post takes the text, the account IDs, an optional time (empty means now, or the queue when you pick Add to queue), media URLs and the raw per-network options as JSON.

Postkea Trigger

Pick one or more events, such as post.published, post.failed or comment.received. When you activate the workflow, the node registers a webhook in Postkea and removes it when you deactivate the workflow. Every delivery is checked against its X-Postkea-Signature before the workflow runs.

Postkea only delivers to public HTTPS addresses, so a trigger on n8n running on localhost needs a tunnel.

AI agents in n8n

Give an n8n AI Agent node the Postkea tools with an MCP Client Tool node:

MCP Client Tool
Endpoint: https://postkea.com/api/mcp
Server transport: HTTP Streamable
Authentication: Header Auth
  Name: Authorization
  Value: Bearer kea_live_...

Pick the compact tool set by adding ?tools=compact to the URL when the model has a small tool limit.