Templates / Answer research questions using OpenAI GPT-4.1 and arXiv papers

Answer research questions using OpenAI GPT-4.1 and arXiv papers

Needs changes

by Mikhail · 79 views · created 2026-01-23 · Market Research, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 10 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model.

How it runs

Trigger: When a chat message arrives.

  1. Planning Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  2. Json Parser (Code): runs custom JavaScript code
  3. Check research q (If): checks a condition and branches into true / false
  4. arXiv Search (HTTP Request): calls an HTTP API
  5. General Reasoning Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  6. Normalize arXiv (Function): runs custom JavaScript (legacy Function node)
  7. Json Parser (Code): runs custom JavaScript code
  8. Arxiv Grounded Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model

Services it uses

OpenAI Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Normalize arXiv: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Normalize arXiv
Code node, mode 'Run Once for All Items'

Nodes used (7)

From the author

How it works A user query is received via the Chat Trigger node. The Planning Agent decides whether the question requires a general knowledge answer or a research-oriented response. If a research query is detected, the arXiv Search node queries the arXiv API…

Excerpt from Mikhail'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.