Templates / Add internal links to WordPress posts with OpenAI, Notion, and Slack

Add internal links to WordPress posts with OpenAI, Notion, and Slack

Ready for 3.0

by Manik Chandra Dhor ✓ · 40 views · created 2026-07-10 · Content Creation, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Wordpress, OpenAI, Notion and Slack. It also calls api.openai.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Configuration (Code): runs custom JavaScript code
  2. Fetch All Posts (Wordpress): get many (post)
  3. Extract Post Data (Code): runs custom JavaScript code
  4. Loop Embeddings (Loop Over Items (Split in Batches)): loops over the items in batches
  5. OpenAI Embeddings (HTTP Request): calls api.openai.com (POST)
  6. Build Link Graph (Code): runs custom JavaScript code
  7. Has Suggestions? (If): checks a condition and branches into true / false
  8. Pick Anchor Text (OpenAI): uses OpenAI
  9. Build Update Payload (Code): runs custom JavaScript code
  10. Update WP Post (Wordpress): update (post)

…plus 5 more steps. See the full node list below.

Services it uses

WordpressOpenAINotionSlack

HTTP calls to: api.openai.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 (10)

From the author

Quick overview This workflow runs manually or every Monday at 9AM to analyze published WordPress posts with OpenAI embeddings, injects semantically relevant internal links using AI-selected anchor text, logs link updates to Notion, and posts Slack alerts for…

Excerpt from Manik Chandra Dhor's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.