Skip to main content

Create WordPress articles in author style with Gemini, Telegram and Pinecone

Workflow preview

Workflow preview
100%
Create WordPress articles in author style with Gemini, Telegram and Pinecone preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow ingests your WordPress site content into Google Sheets and Pinecone, analyzes each author’s writing style with Google Gemini, then sources new topic ideas from Reddit a...

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.xml, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.noop, n8n-nodes-base.executeworkflow, n8n-nodes-base.scheduletrigger, n8n-nodes-base.filter

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Create WordPress articles in author style with Gemini, Telegram and Pinecone
Workflow name
Create WordPress articles in author style with Gemini, Telegram and Pinecone

Quick Overview

This workflow ingests your WordPress site content into Google Sheets and Pinecone, analyzes each author’s writing style with Google Gemini, then sources new topic ideas from Reddit and scraped websites via Browserless, routes approvals through a Telegram bot, and drafts new internally linked WordPress posts using Perplexity research.

How it works

  1. Runs on a daily schedule, fetches your site’s XML sitemap, and filters URLs updated since the last run.
  2. For each new/updated URL, fetches the WordPress page HTML, extracts title/content/date/author, saves the data to Google Sheets, and stores chunked embeddings in Pinecone using Google Gemini embeddings.
  3. On manual execution, reads recent articles per author from Google Sheets and uses Google Gemini to generate a writing-style analysis that it writes back to an “AuthorStyles” sheet.
  4. Runs weekly to pull new tech posts from Reddit and scrape additional sources with Browserless, uses Google Gemini (via OpenRouter) to generate article ideas, checks Pinecone for near-duplicates, and sends fresh ideas to Telegram with Approve/Disapprove buttons while logging them to Google Sheets.
  5. When a Telegram user approves an idea or submits /newidea or /bestproducts, the workflow records the state in Google Sheets and prompts the user to choose an author from the AuthorStyles list.
  6. After author selection, it uses Perplexity to research the topic, generates a 2000-word HTML draft in the chosen author’s style with Google Gemini/OpenRouter, injects internal links based on existing WordPress posts, and creates a draft post in WordPress.

Setup

  1. Add credentials for Google Sheets, Pinecone, Telegram, WordPress, Google Gemini (PaLM), OpenRouter, Perplexity, Reddit, and Browserless.
  2. Replace the sitemap URL in the initial HTTP request and ensure your WordPress HTML selectors match the fields being extracted (title/content/date/author).
  3. Create and configure the Google Sheets documents/tabs used for Articles, AuthorStyles, and State, and ensure columns match the fields being appended/updated.
  4. Create a Pinecone index (for example, “kb”) compatible with your chosen Gemini embeddings and keep the index name consistent across insert and load steps.
  5. Set your Telegram chat ID in the send-message steps and connect the Telegram trigger webhook URL in your bot configuration.
  6. Connect WordPress API credentials and verify author IDs in the AuthorStyles sheet so drafts are created under the selected author.

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 - BlogSitemapFetch

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

Block 2 - ParseSitemapURLs

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

Block 3 - SplitItems

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

Block 4 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - Replace Me

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

Block 6 - Call Process Blog Batch

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

Block 7 - Schedule Trigger

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

Block 8 - Filter

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

Block 9 - Calculate Filter Time

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

Block 10 - HTML1

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

Block 11 - FetchBlogHTML

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

Block 12 - Add Url Back

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Start

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

Block 14 - Append row in sheet

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

Block 15 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 16 - Pinecone Vector Store1

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

Block 17 - Default Data Loader1

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 18 - Embeddings Google Gemini1

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 19 - FetchAuthorList

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

Block 20 - Get All Articles from Sheet

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

Block 21 - Filter and Select 5 Recent

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

Block 22 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 23 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 24 - Update row in sheet

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

Showing the first 24 of 122 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create WordPress articles in author style with Gemini, Telegram and Pinecone
Complexity advanced
Nodes 122
Categories Content Creation, AI RAG
Author Kshitij Matta
Published 09 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16202/16202.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 Create WordPress articles in author style with Gemini, Telegram and Pinecone do?

Quick Overview This workflow ingests your WordPress site content into Google Sheets and Pinecone, analyzes each author’s writing style with Google Gemini, then sources new topic ideas from Reddit a...

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, AI RAG use case.