Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 10:00) (plus 1 other trigger). Along the way it connects Gmail, Anthropic Chat Model, Google Sheets and LinkedIn. It also calls api.currentsapi.services and public-api.wordpress.com over HTTP.
How it runs
Trigger: On a schedule (every day at 10:00) (plus 1 other trigger).
- Fetching news (HTTP Request): calls api.currentsapi.services
- JSON Parsing (Code): runs custom JavaScript code
- Basic LLM Chain: sends a prompt to an LLM, with model: Anthropic Chat Model; output parser: Structured Output Parser
- Approval request (Gmail): send and wait for a reply
- Wait: pauses before continuing
- If: checks a condition and branches into true / false
- Append log to sheet (Google Sheets): append
- Choose image from array (Code): runs custom JavaScript code
- Failure message (Gmail): uses Gmail
- Push article to WordPress (HTTP Request): calls public-api.wordpress.com (POST)
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.currentsapi.services, public-api.wordpress.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 (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - LinkedIn
n8n-nodes-base.linkedIn
From the author
How it works This workflow sources news from news websites. The information is then passed to an LLM, which processes the article's content. An editor approves or rejects the article. If accepted, the article is first published on the WordPress site and then…