Ampost node for n8n
By ArturPublished Updated
n8n-nodes-ampost adds an Ampost node and an Ampost Trigger node to n8n: create, schedule and manage posts on the networks you connect, upload media, read analytics, and start a workflow when a post is published or fails.
For self-hosted n8n (1.x and 2.x). n8n Cloud installs only community nodes that n8n has verified, and this node is not verified yet: on n8n Cloud, use the HTTP Request workflow instead.
Install
In n8n, open Settings, Community nodes, Install, enter n8n-nodes-ampost, tick the risk box and install. For queue mode or a Docker image built ahead of time, install it from npm in n8n's nodes folder and restart n8n:
cd ~/.n8n/nodes # create it with `npm init -y` if missing
npm install n8n-nodes-ampost
# restart n8nPublish a post
Create an API key in Settings, API keys. In n8n, add an Ampost API credential with the key, then an Ampost node with these settings. Its output is the post, with one entry per account in platformPosts.
Resource: Post
Operation: Create
Platform Names or IDs: bluesky, threads
Text: {{ $json.text }}
When: Publish NowWhat it does
- Post: create, validate, get, list, publish, retry, delete, unpublish and edit published posts, with per-platform options.
- Media upload from binary data, accounts, platform sets, queue slots and analytics.
- The Ampost Trigger creates its own webhook and checks each event's signature.
- The Ampost node works as a tool of n8n's AI Agent.
Templates
The n8n guide has a ready workflow to import. The repository has more: RSS to social media, a Google Sheets schedule, an AI post with Slack approval, YouTube cross-posting and failure alerts.
Links
- Source code (MIT): github.com/ampost-io/n8n-nodes-ampost
- Package: npm: n8n-nodes-ampost
- Guide: Post to social media from n8n with Ampost
- REST API reference