AI Agents

Automated web research and lead database building

22 nodes 297 135 Automatic trigger
Download

Workflow Description

An intelligent AI agent searches the web for prospect information using OpenAI and SerpApi, analyzes results, organizes them in batches, and automatically logs findings to Google Sheets to support your sales pipeline.

How it works

  1. 1.Trigger research manually or on a scheduled basis
  2. 2.Send search queries to OpenAI agent powered by SerpApi
  3. 3.Parse and structure results using output parser
  4. 4.Batch and organize data before upload
  5. 5.Store compiled information in Google Sheets for team review

Use cases

  • Build and maintain a database of qualified leads with automated research
  • Track competitor intelligence and industry trends continuously
  • Extract contact details and company profiles at scale without manual effort

Requirements

  • Valid OpenAI API key with appropriate permissions
  • Google Sheets with editor access and correct folder structure
  • SerpApi key for web search integration

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Tool Output Parser Split In Batches Google Sheets AI Agent

Details

Trigger Automatic trigger
Nodes 22
Apps 6
Views 297
Downloads 135

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (22)

/

When clicking "Test workflow"

Manual Trigger

#1

Input

Set

#2

OpenAI Chat Model

OpenAI

#3

Get website content

Tool Workflow

#4

SerpAPI - Search Google

Tool Serp Api

#5

Structured Output Parser

Output Parser Structured

#6

Loop Over Items

Split In Batches

#7

AI Researcher Output Data

Set

#8

Google Sheets - Update Row with data

Google Sheets

#9

Merge data

Merge

#10

Sticky Note

Sticky Note

#11

Get rows to enrich

Google Sheets

#12

Sticky Note1

Sticky Note

#13

Sticky Note2

Sticky Note

#14

Sticky Note3

Sticky Note

#15

Sticky Note4

Sticky Note

#16

Schedule Trigger

Schedule Trigger

#17

Sticky Note5

Sticky Note

#18

AI company researcher

Agent

#19

Search Google with ScrapingBee

Tool Workflow

#20

Sticky Note6

Sticky Note

#21

Sticky Note7

Sticky Note

#22