Fix social posts in n8n before they publish
A 7-node n8n workflow: your post goes through Postifuse's free preflight, comes back corrected for each network that needs it, and publishes. It stops only for what no rewrite solves, like a video that is too long. No key, no account.
Set it up in 3 steps
- In n8n, open a new workflow, then … > Import from File and pick the JSON.
- In Your post, map
text,networksand optionalmedia(an array of{"url": "…"}) from your trigger: a sheet row, a form, an RSS item. - Replace Publish here with the node that posts: your scheduler's API, Buffer, or the networks' own nodes.
What it does
| Node | What happens |
|---|---|
| When clicking 'Test workflow' | Starts the test run. Swap it for your real trigger. |
| Your post | Holds the caption, the networks and the media URLs. |
| Preflight (free, no key) | POST https://postifuse.com/v1/preflight, no key. Media files are read from their headers. Each network that breaks a rule gets a corrected text, checked again. |
| Ready, as is or fixed? | Continues when ready is true: every network passes, as written or corrected. |
| Final text per network | Picks the text to publish on each network, the corrected one where there is one, plus one line saying what changed. |
| Publish here (your nodes) | Your publishing node goes here. Use posts.x, posts.instagram… |
| Stop: needs a person | Only for what no rewrite solves, such as a video too long or a file in the wrong format, with what to do. |
What the sample post gives
The sample post in the template has 7 hashtags and goes to instagram, x, bluesky, linkedin. The run does not stop: it publishes, and says what it corrected:
Instagram: Kept the first 5 hashtags, removed #10k #tips. Every network is ready with the fixed text.
Text published on instagram: New reel is live #running #pace #marathon #training #run
Prefer Make, Zapier or code?
Use an HTTP module with the same body. The full contract is in the preflight docs, and the rules as JSON at /v1/rules. AI agents can call the same check through the MCP server.