Package Information
Downloads: 1,202 weekly / 1,202 monthly
Latest Version: 0.1.13
Author: The Next Gen
Documentation
n8n-nodes-autopost
An n8n community node for AutoPost TheNextGen — the all-in-one social media scheduling and inbox management platform.
Features
- Schedule posts across Facebook, Instagram, LinkedIn, TikTok, and Twitter/X
- Manage your inbox — read and reply to DMs and comments
- List connected accounts to drive dynamic workflows
Installation
In n8n (recommended)
- Open your n8n instance.
- Go to Settings → Community Nodes.
- Click Install a community node.
- Enter
n8n-nodes-autopostand click Install.
Manual (self-hosted)
cd /path/to/your/n8n/data
npm install n8n-nodes-autopost
Then restart n8n.
Setup
1. Get your API Key
- Log in to autopost.thenextgen.ai.
- Navigate to Settings → API.
- Copy your API key (it starts with
up_).
2. Add credentials in n8n
- In n8n, open Credentials → New.
- Search for AutoPost API.
- Paste your API Key.
- Leave Base URL as
https://autopost.thenextgen.ai(or change it if self-hosting). - Click Save.
Resources & Operations
Posts
| Operation | Description |
|---|---|
| Create | Schedule a post with content, platforms, optional scheduled time, and image URL |
| Get All | Retrieve posts with optional filters: status, limit, page |
| Delete | Delete a post by ID |
Create Post fields:
content— post text (required)platforms— one or more of:facebook,instagram,linkedin,tiktok,twitterscheduled_at— ISO 8601 datetime (leave empty to publish immediately)image_url— optional public image URL
Messages (DMs)
| Operation | Description |
|---|---|
| Get All | List messages filtered by platform, is_read, limit |
| Reply | Reply to a message by ID |
| Mark as Read | Mark all messages from a sender_id + platform as read |
Comments
| Operation | Description |
|---|---|
| Get All | List comments filtered by platform, is_read, limit |
| Reply | Reply to a comment by ID |
Accounts
| Operation | Description |
|---|---|
| Get All | List all connected social media accounts |
Example Workflows
Auto-reply to unread Instagram DMs
- Schedule Trigger — runs every 15 minutes
- AutoPost → Messages → Get All — filter:
platform=instagram,is_read=false - IF — check message content for keywords
- AutoPost → Messages → Reply — send automated response
Publish content from Google Sheets
- Google Sheets → Read Rows — read scheduled content
- AutoPost → Posts → Create — pass content, platforms, and scheduled_at from the sheet
- Google Sheets → Update Row — mark the row as published
Notify Slack when new comments arrive
- Schedule Trigger — runs every 5 minutes
- AutoPost → Comments → Get All — filter:
is_read=false,limit=10 - IF — items exist
- Slack → Send Message — post a summary to your team channel
- AutoPost → Comments → Reply — optional: send an auto-acknowledgement
GitHub Repository
https://github.com/UbaiSalih/n8n-nodes-autopost
To publish as a separate package, initialize a new git repo inside this folder:
cd n8n-nodes-autopost
git init
git add .
git commit -m "feat: initial release of n8n-nodes-autopost v0.1.0"
git remote add origin https://github.com/UbaiSalih/n8n-nodes-autopost.git
git push -u origin main
Then publish to npm:
npm login
npm publish --access public
API Reference
Full API documentation is available at autopost.thenextgen.ai/docs/api.
License
MIT © The Next Gen