Skip to main content

WordPress content assistant: Article recommendations & Q&A with Mistral AI

Workflow preview

Workflow preview
100%
WordPress content assistant: Article recommendations & Q&A with Mistral AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

WordPress Content Assistant: Article Recommendations & Q&A with Mistral AI Ideal for WordPress site owners who want to enhance user engagement This template attempts to create an AI powered content...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chainretrievalqa, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.textclassifier, @n8n/n8n-nodes-langchain.memorybufferwindow

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tan Yong Sheng.

Original n8n.io source

1.1 Workflow description

Title
WordPress content assistant: Article recommendations & Q&A with Mistral AI
Workflow name
WordPress content assistant: Article recommendations & Q&A with Mistral AI

WordPress Content Assistant: Article Recommendations & Q&A with Mistral AI

Ideal for WordPress site owners who want to enhance user engagement

This template attempts to create an AI-powered content assistant for WordPress sites using Mistral AI, enabling article recommendations, content summarization, and contextual Q&A capabilities.

Pre-requisites: Mistral API key (or you could replace this with other LLM model)

Disclaimer

This service is independent of Mistral AI. It is a community-built and maintained service that accesses Mistral's API. Please use at your own risk.

How it works

  • Uses a multi-agent architecture with an intent router powered by Mistral to classify user queries
  • Recommends relevant articles based on user interests through keyword planning and content matching
  • Answers specific questions about current page content through content retrieval or summarization
  • Handles basic conversation flows and greeting interactions

How to use

  • Import the template JSON file into your n8n instance
  • Configure your Mistral API key in this workflow
  • You must publish this workflow and ensure your Chat URL is publicly accessible.
  • Add the provided HTML (in this n8n template or my blog here) to your WordPress site using WPCode plugin as custom HTML snippet, and change the <N8N_WEBHOOK_URL> to your Chat URL.

Need Help?

Go to my website or ask in the Forum!

Happy chatbot Building!


Note: This template is available for FREE on my blog: https://www.tanyongsheng.com/blog/how-to-create-a-custom-chatbot-for-wordpress-using-n8n/. If you'd like to support my work in creating helpful resources like this, you can purchase the template. Thanks for your consideration!

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 chat message received

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

Block 2 - Sticky Note1

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

Block 3 - Structured Output Parser

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

Block 4 - Post Recommendation Agent

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

Block 5 - Structured Output Parser1

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

Block 6 - Writer Agent

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

Block 7 - Question and Answer Chain

Type / Role
@n8n/n8n-nodes-langchain.chainRetrievalQa - chainRetrievalQa
Config choices
Version 1.4

Block 8 - Sticky Note3

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

Block 9 - Sticky Note4

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

Block 10 - Search blog

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

Block 11 - Sticky Note6

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

Block 12 - LLM Router

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

Block 13 - Greeting Agent

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

Block 14 - 'Handle Unexpected Situation' Agent

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

Block 15 - Window Buffer Memory1

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

Block 16 - Respond to Webhook1

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

Block 17 - Sticky Note7

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

Block 18 - Sticky Note8

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

Block 19 - Sticky Note9

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

Block 20 - Sticky Note

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

Block 21 - Parse text field to JSON dictionary

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

Block 22 - Add blog url from 'slug' field

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

Block 23 - Sticky Note11

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

Block 24 - Articles agent

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

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

3. Summary Table

Workflow WordPress content assistant: Article recommendations & Q&A with Mistral AI
Complexity advanced
Nodes 63
Categories Support Chatbot, AI Chatbot
Author Tan Yong Sheng
Published 19 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3220/3220.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 WordPress content assistant: Article recommendations & Q&A with Mistral AI do?

WordPress Content Assistant: Article Recommendations & Q&A with Mistral AI Ideal for WordPress site owners who want to enhance user engagement This template attempts to create an AI powered content...

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