Automated Competitor Research with n8n and Exa.ai API

Discover how to automate competitor research using n8n with Exa.ai and SerpAPI. This workflow finds competitors, gathers detailed company insights, product offerings, and customer reviews, compiling all data into Notion seamlessly.
lmChatOpenAi
toolHttpRequest
agent
+11
Workflow Identifier: 1201
NODES in Use: manualTrigger, httpRequest, removeDuplicates, splitOut, limit, splitInBatches, lmChatOpenAi, toolHttpRequest, outputParserStructured, agent, notion, wait, set, stickyNote

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow automates the process of finding and analyzing competitor companies for a given business website.

It stops the long, manual work of looking for competitors’ funding, leadership, products, prices, and customer reviews.

At the end, the workflow creates a clear, organized competitor report and uploads it to Notion.


Who should use this workflow

Anyone who needs fast, reliable competitor research without spending hours gathering data by hand should use this.

It fits well for product managers, business analysts, marketing teams, or SaaS startups wanting quick insights.


Tools and services used in this workflow

  • n8n nodes: Uses specialized nodes like HTTP Request and SplitInBatches for control and data flow.
  • Exa.ai API: Finds competitor companies based on a source company URL.
  • SERPAPI: Provides Google-style searches for company profiles, news, and reviews.
  • Firecrawl API: Scrapes competitor websites to get detailed product and pricing information.
  • OpenAI API: Powers AI agents that extract structured data and summarize insights.
  • Notion API: Saves the final competitor analysis report into a Notion database for team access.

Inputs, processing steps, and output

Inputs

  • Start with a single source company URL (for example, https://notion.so).
  • API keys for Exa.ai, SerpAPI, Firecrawl, OpenAI, and Notion must be set beforehand.

Processing steps

  • Send the source company URL to Exa.ai to get a list of similar competitor URLs.
  • Split competitor URLs into individual items and remove any duplicates.
  • Limit the competitor list to 10 entries to manage system load.
  • Process each competitor one by one using a loop in the workflow.
  • For each competitor, run an AI agent that collects company overview details from Crunchbase, WellFound, and LinkedIn via SERPAPI and scraping.
  • Run another AI agent to find product details such as pricing, plans, and technologies via web scraping using Firecrawl.
  • A third AI agent searches review platforms like Trustpilot and Product Hunt, extracts customer reviews, and summarizes both positive and negative points.
  • Combine all data into one structured report object.
  • Insert the compiled report into the configured Notion database for team visibility.

Output

The output is a detailed competitor analysis report saved inside Notion, showing company background, funding, product features, pricing info, and customer feedback, all in one place.


Beginner step-by-step: How to use this workflow in n8n

Step 1: Import the workflow file

  1. Download the workflow file from the Download button on this page.
  2. Open the n8n editor where you want to use the workflow.
  3. Use the Import from File option to load the workflow.

Step 2: Add credentials and update settings

  1. Add your API keys for Exa.ai, SerpAPI, Firecrawl, OpenAI, and Notion inside n8n’s credential manager.
  2. Open the node labeled Set Source Company and update the URL to the company you want to analyze.
  3. Check the Insert Into Notion node and replace the Notion database ID with your own.

Step 3: Test the workflow

  1. Trigger the workflow manually with the Manual Trigger node to run one test cycle.
  2. Verify the competitor report appears correctly in Notion.

Step 4: Activate the workflow

  1. Once the test runs well, activate the workflow to start running by schedule or your chosen trigger.
  2. Monitor executions in n8n to check all steps complete without errors.

Note: For full control and privacy, consider self-host n8n.


Possible edge cases and failures

If an API key is wrong or expired, some nodes will show “401 Unauthorized” errors. Fix this by updating the credentials inside n8n.

If the source company URL is wrong or inactive, Exa.ai may return no competitor results. Check the URL and try a known live site.

Sometimes, data from scraping or AI agents may be missing or incomplete. Use the debug feature to check responses. Adjust prompts or handle errors to improve data accuracy.


Customization ideas

  • Change the company URL to research different competitors.
  • Adjust the competitor limit node to analyze more or fewer companies.
  • Add new data fields by modifying AI agent parsers to include extra details.
  • Switch the final data output to Google Sheets or databases if preferred over Notion.
  • Add error handling in the batch loop to skip problematic competitors without stopping the workflow.

Summary and results

✓ Saves more than 6 hours of manual research per week.

✓ Produces structured competitor profiles with funding, products, and reviews.

✓ Centralizes data into the Notion platform for easy team access.

→ Turns slow, error-prone competitor research into automated, consistent reports.

Frequently Asked Questions

Update or re-enter the API keys for Exa.ai, SerpAPI, Firecrawl, or OpenAI in n8n credentials and test the connections.
Check if the source company URL is correct and live. Try a different URL or verify Exa.ai API limits.
Scraping might have failed or AI agent prompts could be incomplete. Check debug logs and adjust prompts or error handling.
Yes. Increase the competitor limit node’s maxItems setting but monitor API usage to avoid hitting limits.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free