Automated AI news curation and LinkedIn posting with GPT-5 and Firebase
Ready for 3.0What this workflow does
This AI workflow has 47 nodes and runs on a schedule (cron 0 10,12,19,21 * * *). Along the way it connects OpenAI Chat Model, Google Cloud Firestore and LinkedIn. It also calls newsapi.org over HTTP.
How it runs
Trigger: On a schedule (cron 0 10,12,19,21 * * *).
- Get Previous News Titles (Google Cloud Firestore): uses Google Cloud Firestore
- API NEWS (HTTP Request): calls newsapi.org
- Collect Articles (Edit Fields (Set)): sets 1 field: articles
- Select Articles (Code): runs custom JavaScript code
- URL checker (If): checks a condition and branches into true / false
- Description Checker (If): checks a condition and branches into true / false
- LinkedIn post redaction (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- LinkedIn post redaction (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- Post setup (Edit Fields (Set)): sets 1 field: input image url
- Post setup (Edit Fields (Set)): sets 1 field: input image url
…plus 30 more steps. See the full node list below.
Services it uses
HTTP calls to: newsapi.org
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 (11)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Cloud Firestore
n8n-nodes-base.googleFirebaseCloudFirestore - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - LinkedIn
n8n-nodes-base.linkedIn
From the author
What this workflow does Automatically: 1. fetches fresh news, 2. filters out aggregators/PR wires and duplicates, 3. writes a human-sounding LinkedIn post with GPT, 4. downloads the article image to verify it’s usable, 5. publishes to LinkedIn (with or…