Overview
Build an n8n workflow where an AI Agent node runs several web searches on one question, writes a sourced brief, and a Notion node saves it as a page in a drafts database for review.
Problem or Objective
- Which agents investigate a question and report back?
- Which agents can draft a document section by section and save it in a reusable, structured format?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Notion · SerpApi
- Prerequisites
- An n8n instance, a chat model API key, a search API account for the search tool, and a Notion integration with access to a drafts database.
How It Works
In n8n, add an AI Agent node, connect a chat model and connect a web search tool: the SerpApi (Google Search) tool sub-node lets the agent call Google search, but the docs mark it deprecated from n8n 2.35.0 and point to the SerpApi Official community node instead, so use whichever your version supports, with your search API credentials. Give the agent a system message that asks it to split the question into several searches, keep the URL of every page it relies on, and return a brief with a sources list at the end. Pass the agent output to a Notion node set to create a page in a database you keep only for draft briefs, using your Notion credentials. Test-run the workflow on one question, read the brief in Notion, open the cited links and check the claims; only after that review do you move the page to a shared space or share it with anyone.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Notion, SerpApi.
- Check the prerequisitesAn n8n instance, a chat model API key, a search API account for the search tool, and a Notion integration with access to a drafts database.
- Gather your detailsCollect what the prompt asks for: The question to research, How many searches to run, Who will read the brief.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Research a question and draft a sourced brief
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You are the research agent in an n8n workflow. Question: [The question to research]. Split it into [How many searches to run] focused web searches using the search tool. Read the results and write a brief for [Who will read the brief] with a short answer, the key findings, open questions and a sources list with the URL of every page you relied on. Mark anything you could not confirm. The workflow saves the brief as a draft page in Notion; a person checks the sources before it is shared.Save each brief to a Notion database used only for drafts. A person opens the cited links and checks the claims before the page is moved to a shared space or sent to anyone.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs support connecting a chat model and tools to an AI Agent node, letting an agent call Google search through the SerpApi tool, and creating pages with the Notion node. They do not say how good the searches or summaries will be, and they do not say whether Markdown headings and links keep their formatting in the Notion page, so check one test page before relying on it.
Limitations and Considerations
An AI Agent node needs at least one connected tool, as its docs say. The SerpApi (Google Search) tool node is deprecated from n8n 2.35.0; check which search node your n8n version offers and what the search service charges per query. The model can misread or misquote a page, so a person checks the cited links before the brief is shared. Check before the first run that the drafts database in Notion is not shared, and that the Notion integration has access only to the pages it needs. Model and search calls cost money on most providers. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- You must connect at least one tool sub-node to an AI Agent node.
- SerpApi (Google Search) | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 14:22 UTC
What this source supports
- The SerpAPI node allows an agent in your workflow to call Google's Search API.
- The SerpApi (Google Search) node is deprecated from n8n 2.35.0.
- Notion | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- n8n has built-in support for a wide range of Notion features, including getting and searching databases, creating pages, and getting users.

