AI Automation / Content Generation·1 Week·n8n Automation Expert & Shopify DeveloperDelivered

LinkedIn Post Generator

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

n8nShopifyOpenAIGmailGoogle SheetsWebhooks
LinkedIn Post Generator

Project Type

AI Automation / Content Generation

Timeline

1 Week

My Role

n8n Automation Expert & Shopify Developer

Status

Delivered

The Challenge

Content Creation Eating Hours Every Week

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.

  • Manual post writing took 30–60 minutes per piece with inconsistent quality
  • No centralised log of generated content for reuse or analytics
  • No way to get instant feedback in the UI while background tasks ran
  • Needed professional LinkedIn tone without hiring a copywriter
LinkedIn Post Generator screenshot
The Solution

n8n Content Pipeline with Instant UI Response

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.

Shopify Webhook Input

Frontend sends a POST with topic and tone (e.g. {"topic": "AI automation trends", "tone": "professional"}) to trigger the n8n pipeline.

GPT Content Generation

OpenAI node generates a polished LinkedIn post with a system prompt enforcing professional style, plain-text output, and platform-appropriate formatting.

Data Preparation Node

Code node normalises webhook input and AI output into a single clean data object for downstream logging and email formatting.

Google Sheets History Log

Every generated post is appended to a Google Sheet with Topic, Tone, Output, and Timestamp columns for analytics and content reuse.

Gmail Admin Notification

Formatted HTML email sent to the admin with the full post content, topic, tone, and timestamp — running in parallel with the UI response.

Instant Webhook Response

responseNode pattern returns the generated post to the Shopify UI immediately while Sheets logging and email delivery continue in the background.

The Results

Professional Posts in Seconds, Not Hours

3–5s
Total execution time
100%
Posts auto-logged to Sheets
0
Manual drafting needed
Topics supported
  • LinkedIn-ready posts generated from a single topic + tone input
  • UI receives the post instantly via webhook response — no polling required
  • Google Sheets provides a searchable content history with timestamps
  • Admin email notifications keep the team in the loop on every generation
  • Explicit node references in expressions prevent data loss across the chain
  • Architecture supports Slack publishing, scheduling, and multi-platform expansion