Templates / Predict SEO traffic impact scenarios with Postgres and OpenAI GPT-4.1

Predict SEO traffic impact scenarios with Postgres and OpenAI GPT-4.1

Ready for 3.0

by Oneclick AI Squad ✓ · 3 views · created 2026-09-24 · Market Research, AI Summarization

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 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Postgres and OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set - Config (Edit Fields (Set)): sets 4 fields: maxActions, maxHorizonMonths, defaultHorizonMonths…
  2. Code: runs custom JavaScript code
  3. If: checks a condition and branches into true / false
  4. Postgres: run a query
  5. Respond - Validation Error (400) (Respond to Webhook): sends the response back to the webhook caller
  6. Code: runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Code: runs custom JavaScript code
  9. Code: runs custom JavaScript code
  10. Code: runs custom JavaScript code

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

Services it uses

PostgresOpenAI Chat Model

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 (9)

From the author

Quick overview This workflow exposes a header-authenticated webhook API that simulates the SEO traffic impact of merging, creating, or removing pages using baseline metrics from Postgres, then generates a validated strategy narrative with OpenAI and logs the…

Excerpt from Oneclick AI Squad'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.