Back to all work
AI Implementation

AI Social Media Content Engine

Self-initiated project View the code on GitHub

AI Social Media Content Engine turns a one-line topic into a finished social media post. An AI agent researches the topic on the live web, writes the post in the right length and tone for the chosen platform, suggests a headline with alternative hooks, adds hashtags and, if asked, creates a matching image. The draft comes back with a live preview and the sources it used, so every fact can be checked and anything can be edited. Nothing is posted until a person clicks Publish and confirms; the post then goes live through an API and the system checks the platform's own response to confirm it really went out. The business gets consistent, well-researched posts in seconds instead of hours, without giving up control of what is published in its name.

INDUSTRY Marketing and content
TOOLS n8n, OpenAI, Tavily, OpenRouter, Upload-Post, PHP
MY ROLE Solution design, build and documentation
THE PROBLEM

A good social media post takes research, a strong hook, a visual, hashtags and time to format and publish for each platform. Done by hand, posting becomes irregular, facts go unchecked, and a business that should be visible every week goes quiet. Fully automatic posting tools fix the time problem but create a new one: content goes out in the brand's name that no one has read.

THE SOLUTION

Two n8n workflows behind a simple admin page. The first researches the topic with web search, writes the post and headline options with AI, and creates an optional image sized for the platform. The second publishes the approved post with or without the image and reads the platform's own result, so a failed post is never reported as live. A person reviews, edits and approves every post in between, and a failed image never loses the written post.

HOW IT WORKS
01

Choose

Enter a topic, then pick the platform, the tone, and whether to add an AI image and hashtags.

02

Research

An AI agent searches the live web for current facts on the topic.

03

Draft

AI writes the post, a headline with alternative hooks and hashtags, and creates an image if requested.

04

Approve

Review, edit and preview the post with its sources, then click Publish and confirm.

05

Publish

The post goes live, and the platform’s own response confirms it was published.

SEE IT IN ACTION
BUSINESS VALUE
Posts ready in seconds: research, writing and image in about 17 seconds Consistent presence: regular posting without a dedicated writer, manage multiple platforms under a single interface Grounded content: every draft lists the sources it used Full control: nothing is published without human approval Reliable publishing: each post is confirmed with the platform itself Low running cost: about 4 cents of API usage per post, image included
RESULTS
17 s To research, write and illustrate a post
16 s To publish it, image included
~4¢ API cost per post, image included

Measured on the live system, October 2026.