Skip to main content

Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing

Workflow preview

Workflow preview
100%
Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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, ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.gmail, n8n-nodes-base.scheduletrigger, n8n-nodes-base.wait, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatanthropic, @n8n/n8n-nodes-langchain.outputparserstructured

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Marco Venturi.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing
Workflow name
Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing

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 on the LinkedIn page.

Setup Instructions

1. Credentials You'll need to add credentials for the following services in your n8n instance:

  • News API: A credential for your chosen news provider.
  • LLM: Your API key for the LLM you want to use.
  • Google OAuth: For both Gmail and Google Sheets.
  • WordPress OAuth2: To publish articles via the API. See the WordPress Developer Docs.
  • LinkedIn OAuth2: To share the post on a company page.

2. Node Configuration Don't forget to:

  • Fetch News (HTTP Request): Set the query parameters (keywords, language, etc.) for your news source.
  • Basic LLM Chain: Review and customize the prompt to match your desired tone, language, and style.
  • Approval request (Gmail): Set your email address in the Send To field.
  • HTTP Request WP - Push article: Replace <site_Id> in the URL with your WordPress Site ID.
  • getImageId (Code Node): Update the array with your image IDs from the WordPress Media Library.
  • Create a post (LinkedIn): Enter your LinkedIn Organization ID.
  • Append row in sheet (Google Sheets): Select your Google Sheet file and the target sheet.
  • All Email Nodes: Make sure the Send To field is your email.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Approval request

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 3 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 5 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 7 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 8 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Success message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Failure message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Fetching news

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - JSON Parsing

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Append log to sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 20 - Choose image from array

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Push article to WordPress

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - GET Image for Linkedin

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 23 - Push to Linkedin Page

Type / Role
n8n-nodes-base.linkedIn - linkedIn
Config choices
Version 1

3. Summary Table

Workflow Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing
Complexity advanced
Nodes 23
Categories Content Creation, Multimodal AI
Author Marco Venturi
Published 19 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9920/9920.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate WordPress articles from news with Claude AI and LinkedIn sharing do?

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, ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.