Templates / Generate 7 new LinkedIn posts from top Apify posts using OpenAI and save to Google Sheets

Generate 7 new LinkedIn posts from top Apify posts using OpenAI and save to Google Sheets

Ready for 3.0

by Jonas Frewert ✓ · 17 views · created 2026-04-04 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Config (Edit Fields (Set)): sets 5 fields: apify_token, apify_actor_id, openai_api_key…
  2. Validate Config + Build Actor Input (Code): runs custom JavaScript code
  3. Apify Get LinkedIn Posts (HTTP Request): calls an HTTP API (POST)
  4. Normalize + Rank LinkedIn Posts (Code): runs custom JavaScript code
  5. OpenAI Analyze + Generate (HTTP Request): calls api.openai.com (POST)
  6. Parse OpenAI Output (Code): runs custom JavaScript code
  7. Prepare Google Sheets Rows (Code): runs custom JavaScript code
  8. Append Rows to Google Sheet (Google Sheets): append

Services it uses

Google Sheets

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

This workflow helps you turn your best-performing LinkedIn posts into a repeatable content creation system. It pulls LinkedIn post data from Apify, normalizes and ranks the posts by impressions, identifies the strongest-performing content, and sends the top…

Excerpt from Jonas Frewert's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.