anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
An n8n workflow that writes draft posts for X, LinkedIn, Reddit and Instagram from one topic, using a model on your own Ollama server. A second pass reads them again and fixes mistakes. Nothing is posted for you.
Social posts for four platforms from a local Ollama model is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
You run it by hand
It starts when you press Test workflow. It reads:
Draft posts for X, LinkedIn, Reddit and Instagram, with a flag that says whether the review step worked
What you need before you start.
Local model
Writes the four drafts and reviews them.
NeedsA running Ollama server with `llama3:8b` pulled, and an address that n8n can reach
Checked by Mindket on 13 Nov 2026
This n8n workflow turns one topic into four draft posts without sending your text to a cloud model. You set the topic, the brand voice and the audience in one Set step. A request goes to your own Ollama server, where llama3:8b answers with JSON. The JSON holds a post for X, a post for LinkedIn, a title and body for Reddit and a caption for Instagram. A Code step pulls the JSON out of the reply. A second request asks the same model to check grammar, tone, format and hashtags and to return corrected versions. The last Code step keeps the reviewed posts. Six nodes run it, beside one sticky note. Nothing is published anywhere.
Developers, small teams and privacy-minded creators who want first drafts from a model that runs on their own machine. Skip it if you need polished copy, because a small local model writes plain drafts that need an edit. Skip it too if you want the posts sent for you. This workflow only writes them.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Open source | Maintainers | Announce a release on four networks from one note | A maintainer sets the topic to a new version and edits the four drafts. |
| Marketing | Small teams | Draft a week of posts without paying for each call | A marketer runs it five times with five topics and keeps the best lines. |
| Consulting | Freelancers | Turn a topic into a LinkedIn post and a short X post | A consultant keeps a brand voice in the Set step and changes only the topic. |
| Education | Course authors | Announce a lesson in the voice of the course | An author pastes the lesson title and gets a caption and a Reddit post. |
You need to know n8n’s settings: import a file and run a workflow by hand. You also need Ollama running on a machine you control.
It needs an n8n that can reach your Ollama server, so it suits a self-hosted n8n on the same machine or network.
localhost on your computer, so the address of the server must be one that n8n can reachDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup is one model download and one check of the address.
| Need | Detail |
|---|---|
| n8n | A self-hosted n8n that can reach your Ollama server |
| Ollama | Installed and running on its usual port, 11434. No key is needed |
| The model | llama3:8b, which Ollama’s library lists at 4.7 GB with an 8K context window. Pull it first with ollama pull llama3:8b |
ollama pull llama3:8b.workflow.json.Write Posts With Ollama and Review Posts With Ollama. If n8n does not run on the same machine as Ollama, or runs in Docker, replace http://localhost:11434 with an address that n8n can reach.Content Parameters and write your own topic, brand voice and audience.Change the three fields in Content Parameters, run the workflow and copy the drafts you like. The first run can be slow, because Ollama loads the model into memory.
| To change | Where |
|---|---|
| The topic, the voice and the audience | The three fields in Content Parameters |
| The model | The model name in both request nodes |
| How creative the first draft is | temperature in Write Posts With Ollama |
| How long a reply may be | num_predict in both request nodes |
| What each post must contain | The prompt text in the two request nodes |
You keep the topic as “Benefits of self-hosting AI models” and run the workflow.
{"twitter": "...", "linkedin": "...", "reddit_title": "...", "reddit_body": "...", "instagram_caption": "...", "reviewed": true}The last node returns one item with a draft for each of the four networks, plus the topic and the time. The field reviewed says whether the second pass could be read.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one asks a model on your own computer to write posts, then asks it to check them. Start with the sample topic to see the shape of the answer.
For experts. Both requests use /api/generate with stream turned off.
| Node | What it does | What to know |
|---|---|---|
Write Posts With Ollama | Posts one prompt to Ollama | One JSON object comes back, with the text in response. A reply may take up to 120 seconds before n8n gives up |
Parse Content JSON | Cuts the first JSON object out of the reply | It throws an error when the reply holds none |
Review Posts With Ollama | Asks the model to check and correct the drafts | The temperature is 0.2, so it changes less |
Final Content Output | Keeps the reviewed posts | If the review cannot be read, it returns the first drafts with reviewed set to false |
This is a drafting tool. Read every post before you publish it.
response, because a JSON reply is already parsed and has no data field. They still accept the old shapelocalhost means the machine n8n runs on. In Docker or on n8n Cloud it is not your Ollama server, so use an address n8n can reachllama3:8b as updated two years ago. You can name a newer model in both request nodesAn n8n workflow that writes draft posts for X, LinkedIn, Reddit and Instagram from one topic. The model runs on your own
Ollama server, so your text stays with you. A second pass asks the model to read the drafts again and fix mistakes.
Nothing is posted for you.
workflow.json: the workflow as n8n exports it, seven nodes. One is a sticky note. It holds no credential.README.md: these notes./api/generate, which takes a POST. Bothdata field that a JSON reply does not have. They now read responseWrite Posts With Ollama. The wiring isllama3:8b. Ollama's library lists it at 4.7 GB with an 8K context window.ollama pull llama3:8b.workflow.json.Write Posts With Ollama and Review Posts With Ollama. If n8n runs in Docker or on another machine, replacehttp://localhost:11434 with an address that n8n can reach.Content Parameters and write your own topic, brand voice and audience.Content Parameters makes one item with a topic, a brand voice and a target audience.Write Posts With Ollama posts a prompt to Ollama with stream off, at temperature 0.7 and with at most 2000 tokens. Thetwitter, linkedin, reddit_title, reddit_body andinstagram_caption.Parse Content JSON cuts the first JSON object out of the reply, adds the topic and the time, and stops with an error ifReview Posts With Ollama sends all four drafts back and asks the model to check grammar, tone, format and hashtags andFinal Content Output merges the reviewed fields over the drafts and sets reviewed to true. If the review cannot bereviewed set to false.Content Parameters.temperature in Write Posts With Ollama.num_predict in both request nodes.localhost means the machine n8n runs on. In Docker or on n8n Cloud it is not your Ollama server.llama3:8b as updated two years ago. You can name a newer model in both request nodes.NOTICE.md 632 B README.md 4 KB workflow.json 7 KB
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
LiconStudio · Kit
Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…