FREE N8N TEMPLATE · AI AGENTS & RESEARCH

This n8n workflow turns a new lead into a ready-to-read research brief. An AI agent searches the web and reads the company's own website, then returns a structured brief covering what the company does, locations, size signals, recent news, likely priorities and questions to ask, with a source link for each key fact. The brief is saved as a note on the HubSpot contact and emailed to the account owner.

DIFFICULTY
Intermediate
SET-UP TIME
About 45 minutes
NODES
11
CHECKED AGAINST
n8n 2.41
  • n8n
  • Webhook or HubSpot
  • OpenAI or Anthropic
  • SerpApi
  • HubSpot
  • Gmail

LAST REVIEWED OCTOBER 2026

ai-company-research-agent.n8n.jsonLOCKED

Get the free workflow

Leave your email to copy the workflow and paste it straight onto your n8n canvas.

FREE · NO CREDENTIALS INCLUDED · CLOUD OR SELF-HOSTED

001 / HOW IT WORKS

Step by step, node by node

  1. 01New lead webhook

    A form, another n8n workflow such as the speed-to-lead template, or a HubSpot workflow webhook posts the lead's name, email, company, website and the account owner's email.

  2. 02Research settings

    A Set node stores a description of your business and a default owner email, and fills in the company website from the email domain if it was not supplied.

  3. 03Research agent

    An AI Agent with a chat model and two tools: SerpApi web search tuned to Australian results, and an HTTP Request tool that reads public web pages. It decides which searches to run and which pages to read.

  4. 04Research brief format

    A structured output parser forces the agent to return fixed fields: overview, industry, locations, size signals, recent news, likely priorities, questions to ask, fit summary and source URLs.

  5. 05Format brief

    A Set node turns the structured brief into clean HTML with headings and bullet lists, plus a footer that says it was AI-generated from public sources.

  6. 06Find or create HubSpot contact

    The HubSpot node upserts the contact by email and returns its record ID, so the note attaches to the right person even if the lead is new.

  7. 07Save brief as HubSpot note

    An HTTP Request node calls the HubSpot notes API with your private app credential and associates the note with the contact, so it appears on the contact timeline.

  8. 08Email brief to account owner

    Gmail emails the same brief to the account owner, so it is in their inbox before the first call. This email only goes to your own team.

AI COMPANY RESEARCH AGENT: LEAD RESEARCH BRIEFS SAVED TO HUBSPOT
⚡︎New lead webhook≡Research settings✦Research agent◆Chat model⌕Web search↯Read companywebsite{}Research briefformat≡Format briefHFind or createHubSpot contact↯Save brief asHubSpot note@Email brief toaccount owner

THE REAL WORKFLOW YOU IMPORT · NODE NAMES AS THEY APPEAR IN N8N

002 / WHY IT EXISTS

Good salespeople research a prospect before the first call, but it takes time to read a website, search for news and work out how your offer might fit. When lead volume rises, that research is the first thing to be skipped, and first calls turn into generic discovery conversations that could have been sharper.

This template is for business development reps, account managers and founders in Australian B2B companies who want a consistent research brief waiting in the CRM before they pick up the phone. It suits professional services, SaaS, IT managed services, recruitment and wholesale businesses where each lead is worth a few minutes of preparation.

WHO IT'S FOR

  • →Sales reps who want context before every first call
  • →Founders who handle inbound leads themselves
  • →Account managers preparing for discovery meetings
  • →RevOps teams adding enrichment without buying another data tool

003 / WHAT YOU NEED

Tick them off as you go. Nothing is saved; it's just a checklist.

004 / SET IT UP

  1. 01

    Import the workflow and copy the Production URL from the New lead webhook node.

  2. 02

    Send leads to the webhook as JSON with email, firstName, lastName, company, website and ownerEmail. If you use the speed-to-lead template, add an HTTP Request node at its end that posts to this URL.

  3. 03

    Edit Research settings with a clear description of what your business sells and to whom. The agent uses it to suggest fit and questions.

  4. 04

    Add your OpenAI credential to Chat model, or swap in the Anthropic Chat Model node and connect it to Research agent.

  5. 05

    Create a SerpApi key and add it to the Web search tool. The tool is set to Australian Google results; change the country options if you sell overseas.

  6. 06

    Create a HubSpot private app with contacts and notes scopes and add the token to both HubSpot nodes.

  7. 07

    Connect Gmail to Email brief to account owner and set the default owner address.

  8. 08

    Test with three companies you know well. Check every fact against its source before you trust the output, then activate.

Get the workflow↑

005 / MAKE IT YOURS

  • +Add a LinkedIn company page reader or a company data API such as Apollo or Clay as extra tools for richer firmographics.
  • +Look up the company's ABN on the Australian Business Register with an HTTP Request tool to confirm the legal entity name and state.
  • +Post a short version of the brief to the deal's Slack channel as well as HubSpot.
  • +Run the agent only for leads above a score threshold to keep model and search usage in check.
  • +Write the brief to a Google Doc or Notion page when your team prefers longer account plans.

FOR AUSTRALIAN BUSINESSES

Research public company information, not individuals. The Privacy Act 1988 covers personal information you collect from any source, so do not add tools that pull a contact's personal social media or home details. The lead's name and email are sent to an AI provider and a search API, usually in the United States, which is a cross-border disclosure under APP 8; say so in your privacy policy. Australian results are favoured by setting the search tool to google.com.au. For Australian businesses, the free ABN Lookup web services can confirm a company's legal name and registered state. If you self-host n8n, an Australian cloud region keeps the stored briefs onshore.

Need it hosted in Australia? →

006 / TOOLS IN THIS WORKFLOW

007 / QUESTIONS

Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.

The agent only reports what it found and lists source URLs, and it is told to write 'Not found' rather than guess. Web pages can be outdated or wrong, so treat the brief as preparation and confirm key facts in the call.

We set up n8n end to end: hosting in Australia, connecting your systems, testing with real data and handing over documentation.

Book a free call→