Skip to content

gitroomhq/postiz-n8n

Repository files navigation

Introduction

Postiz is a powerful social media scheduling tool that allows you to manage your social media accounts efficiently.

You can use n8n to automate your workflow and post to multiple social media platforms at once.

You can self-host Postiz or use our cloud version. For example: Load news from Reddit >> Make it a video with AI >> Post it to your social media accounts.

Postiz supports: X, LinkedIn, BlueSky, Instagram, Facebook, TikTok, YouTube, Pinterest, Dribbble, Telegram, Discord, Slack, Threads, Lemmy, Reddit, Mastodon, Warpcast, Nostr and VK.

Installation (non-docker)

Go to your n8n installation usually located at ~/.n8n. Check if you have the custom folder, if not create it and create a new package.json file inside.

mkdir -p ~/.n8n/custom
npm init -y

Then install the Postiz node package:

npm install n8n-nodes-postiz

For docker users

Create a new folder on your host machine, for example ~/n8n-custom-nodes, and create a new package.json file inside:

mkdir -p ~/n8n-custom-nodes
npm init -y

install the Postiz node package:

npm install n8n-nodes-postiz

When you run the n8n docker container, mount the custom nodes folder to the container: Add the following environment variable to your docker run command:

N8N_CUSTOM_EXTENSIONS="~/n8n-custom-nodes"

If you are self-hosting Postiz on port 5000, your host must end with /api for example:

http://yourdomain.com/api

Alternatively, you can use the SDK with curl, check the Postiz API documentation for more information.