One-click LinkedIn content generation — AI-powered posts delivered in seconds via n8n and Shopify.

Project Type
AI Automation / Content Generation
Timeline
1 Week
My Role
n8n Automation Expert & Shopify Developer
Status
Delivered
The client needed to publish consistent, professional LinkedIn content but spent hours drafting each post manually. They wanted a system where they could enter a topic and tone, get a polished post back instantly, and keep a searchable history of everything generated.

I built an n8n workflow triggered by a Shopify webhook. The flow receives a topic and tone, generates a LinkedIn-ready post via GPT, logs it to Google Sheets, emails the admin, and returns the post to the UI immediately using n8n's responseNode pattern — all in 3–5 seconds.
Frontend sends a POST with topic and tone (e.g. {"topic": "AI automation trends", "tone": "professional"}) to trigger the n8n pipeline.
OpenAI node generates a polished LinkedIn post with a system prompt enforcing professional style, plain-text output, and platform-appropriate formatting.
Code node normalises webhook input and AI output into a single clean data object for downstream logging and email formatting.
Every generated post is appended to a Google Sheet with Topic, Tone, Output, and Timestamp columns for analytics and content reuse.
Formatted HTML email sent to the admin with the full post content, topic, tone, and timestamp — running in parallel with the UI response.
responseNode pattern returns the generated post to the Shopify UI immediately while Sheets logging and email delivery continue in the background.