# An n8n content engine that drafts LinkedIn posts for a person to approve

Page: https://pixelteh.com/work/linkedin-content-engine · Last updated: 2026-11-25

_Internal tool · AI automation · n8n_

We built an n8n workflow for our own LinkedIn. It collects posts on our topics that people already react to, researches each topic on the web, keeps only recent original sources and drafts a post with an image. Every draft waits in a Google Sheet, next to its sources, until a person approves it.

## Challenge

A post worth reading starts with knowing what people in the field already say and what they miss. That reading is the first thing a busy team skips, and a post an AI model writes from a topic alone reads like the rest of the feed, often with numbers that are years old or made up.

## Outcome

Three drafts a week arrive in one sheet, each with an image and the sources behind it. Figures come only from original sources published in the last 12 months, and any number the sources don't support is flagged before a person reads the draft.

## Facts

- **Client**: Pixelteh
- **Status**: In internal use since November 2026

## Why we built it

A post worth reading starts with homework: what people in the field already say, which points get a reaction and what everyone leaves out. That homework takes the most time, so it is the first step a busy team skips. Asking an AI model to write from a topic alone skips it too. The result reads like the rest of the feed, and it fills the gaps with numbers that are years old or made up.

We wanted a workflow that does the reading, shows its sources and leaves the final call with a person.

## How it works

The workflow has three parts.

**Collect.** Every Monday, n8n searches LinkedIn through Apify for the past week's posts on each of our topics. It keeps the ones above a likes threshold and adds them to a Google Sheet, skipping posts it already has. A short form adds a one-off topic.

**Research and draft.** Three times a week, the workflow takes the next topic in turn and its three most-liked unused posts. A Gemini research agent finds the argument they share and what they miss, then searches the web with Tavily for a recent figure, a named example and a counterpoint. When a blog or roundup repeats someone else's figure, the agent opens the original study and records who published it, when, and which year the data covers.

A code step then drops every finding published more than 12 months ago, any data older than last year, social media sources and figures the agent couldn't trace to the original. Because it's code, the model can't argue its way past it. A Claude agent writes the post from what's left, a Gemini image model draws a picture for it, and the draft lands in a second sheet with its sources listed alongside. A last check flags any number in the draft that doesn't appear in those sources.

**Review.** The draft sheet is where a person works. They can approve a draft, or leave a comment and a revision agent rewrites it. They can also ask for a new image, which is redrawn from the old one and the comment. The workflow can publish approved posts to LinkedIn by itself, but we keep that switched off and post by hand.

All the models run through one OpenRouter account. Each step uses the model that suits it, and swapping one is a setting in n8n.

## What stays with a person

Every post waits for approval, because it goes out under someone's name. The reviewer sees the sources next to each draft and any figure the check flagged. A draft the AI has revised comes back marked as fixed by AI and stays unapproved until someone approves it again.

We added the source check after an early draft quoted a 2024 study through a 2026 repost. In client builds, the client decides which steps wait for a person and which run on their own.

## Stack

n8n (form, schedules and Google Sheets trigger), Apify LinkedIn post search, Tavily web search and page extraction, OpenRouter (Gemini for research, revisions and images, Claude for writing), Google Sheets and Google Drive

## Related

- [Add AI to an existing system](https://pixelteh.com/services/ai-integration)
- Next case study: [From a landing page to technical co-founder of a Swiss marketplace](https://pixelteh.com/work/swiss-fintech-advisor-marketplace): From a landing page to technical co-founder: launched in 6 weeks
