Answer research questions using OpenAI GPT-4.1 and arXiv papers
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Normalize arXiv | Code node, mode 'Run Once for All Items' |
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - Function
n8n-nodes-base.function - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
What it does
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 and retrieves recent relevant papers. JSON Parsers process the API response and extract metadata such as titles, abstracts, and links. The arXiv-Grounded Agent summarizes each paper and generates a final answer to the user question based strictly on retrieved content. The final response includes summaries and clickable citations from arXiv.