# Automated competitor research agent with OpenAI and Notion: n8n workflow

> Started by an event in a connected app, and works across Notion. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automated-competitor-research-agent-with-openai-and-notion (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Automated competitor research agent with OpenAI and Notion

Started by an event in a connected app, and works across Notion. It hands the judgement calls to OpenAI. 30 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-competitor-research-agent-with-openai-and-notion)

**30 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 19 Logic 8 Service 2

The steps in the order they run, from what starts it.

- 1 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 2 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 3 **Search Crunchbase** Tool Http Request *Model*
- 4 **Search WellFound** Tool Http Request *Model*
- 5 **Search LinkedIn** Tool Http Request *Model*
- 6 **Structured Output Parser1** Output Parser Structured *Model*
- 7 **Webscraper Tool1** Tool Http Request *Model*
- 8 **Check Company Profiles Exist** Tool Http Request *Model*
- 9 **Webscraper Tool** Tool Http Request *Model*
- 10 **Search Company Website** Tool Http Request *Model*
- 11 **Structured Output Parser** Output Parser Structured *Model*
- 12 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 13 **Search Product Review Sites** Tool Http Request *Model*
- 14 **Webscraper Tool2** Tool Http Request *Model*
- 15 **Structured Output Parser2** Output Parser Structured *Model*
- 16 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 17 **Get Company News** Tool Http Request *Model*
- 18 **Set Source Company** Set *Logic*
- 19 **Company Overview Agent** Agent *Model*
- 20 **Company Product Offering Agent** Agent *Model*
- 21 **Company Product Reviews Agent** Agent *Model*
- 22 **Competitor Search via Exa.ai** Http Request *Service*
- 23 **Collect Results** Set *Logic*
- 24 **Results to List** Split Out *Logic*
- 25 **Insert Into Notion** Notion *Service*
- 26 **Extract Domain** Set *Logic*
- 27 **2sec** Wait *Logic*
- 28 **Remove Duplicates** Remove Duplicates *Logic*
- 29 **Loop Over Items** Split In Batches *Logic*
- 30 **Limit** Limit *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 30, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Notion
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Notion account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 30 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-competitor-research-agent-with-openai-and-notion)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Notion](https://millionrounds.com/workflows?service=Notion#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Find top-performing Instagram Reels & save insights to Notion** 29 steps · Apify, Notion](https://millionrounds.com/workflow/find-top-performing-instagram-reels-and-save-insights-to-not)
- [**Tech news aggregator: The Verge & TechCrunch RSS to Notion** 25 steps · calls a model · Notion, RSS](https://millionrounds.com/workflow/tech-news-aggregator-the-verge-and-techcrunch-rss-to-notion)
- [**Deep research agent - research & Notion report builder** 36 steps · calls a model · Notion](https://millionrounds.com/workflow/deep-research-agent-research-and-notion-report-builder)
- [**Automated multi-agent trading analysis with OpenAI** 23 steps · calls a model · Notion, Telegram](https://millionrounds.com/workflow/automated-multi-agent-trading-analysis-with-openai)
- [**Generate multi-agent research reports with Tavily and Groq** 22 steps · calls a model · Notion, Supabase vectors](https://millionrounds.com/workflow/generate-multi-agent-research-reports-with-tavily-and-groq)
- [**CallForge - 02 - prep Gong calls with Google Sheets and Notion** 20 steps · Google Sheets, Notion](https://millionrounds.com/workflow/callforge-02-prep-gong-calls-with-google-sheets-and-notion)
