Overview
Developed an automated system that helps e-commerce brands generate complete social media posts from simple product inputs. It uses AI to create realistic visuals of real products in diverse environments, offering unlimited on-brand imagery without extra photoshoots. The workflow also crafts tailored captions, saving teams time while keeping content consistent, engaging, and ready for platforms like Instagram and Facebook.
In practice, it behaves like a small content agency: you drop in products and a rough brief, and it returns fully structured, image-backed content packs plus a posting calendar.
How it works
- Ingest the request. The workflow takes loose inputs (product names, post type, notes, channels) and pulls in brand guidelines so the AI stays on voice.
- Resolve products to real catalog items. It uses search to match fuzzy product names to the actual products stored in Notion, including materials, colors, plating, existing images, and descriptions.
- Prepare the creative "brain". A prompt-building step configures four post-type agents (showcase, UGC-style, how-to, promo/sale) that all share brand context but have different instructions.
- Generate posts per channel. Based on the selected platforms, it generates structured JSON posts with captions, tone, platform rules, and a list of images that should exist for each post.
- Generate images. Those image briefs are sent to image-generation pipelines (Midjourney/diffusion-style), producing assets that match the product and style. Posts are updated with real image URLs.
- Assemble the content calendar. All posts are wrapped into a clean schedule entry: date, weekday, platform, caption, and media URLs—plus preview links.
- Link posts back to products. Each Notion product record can track every social post that references it.
- Optional Notion export. The Notion-writing steps are currently disabled, but can be re-enabled to automatically create calendar entries and update product records.
Visual examples
Stack
- n8n for orchestration
- Perplexity for research
- OpenAI for caption and content generation
- Image-generation pipelines (nano-banana)
- Notion API and related integrations