# Scrape US auto transport leads with SerpAPI and OpenAI: n8n workflow

> Started by a clock, and works across Google Sheets. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/scrape-us-auto-transport-leads-with-serpapi-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Scrape US auto transport leads with SerpAPI and OpenAI

Started by a clock, and works across Google Sheets. It hands the judgement calls to OpenAI. 25 steps, 3 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%2Fscrape-us-auto-transport-leads-with-serpapi-and-openai)

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

**0** Branches: places the flow splits

**3** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 1 Logic 16 Service 6

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

- 1 **When Daily at 7AM** Schedule trigger *Starts it*
- 2 **On Error Trigger** Error trigger *Starts it*
- 3 **Set Configuration Values** Set *Logic*
- 4 **Log Workflow Errors** Google Sheets *Service*
- 5 **Read States from Sheets** Google Sheets *Service*
- 6 **Filter for Active States** Filter *Logic*
- 7 **Expand State Keywords** Code *Logic*
- 8 **Build Search Query** Set *Logic*
- 9 **Loop Over Search Queries** Split In Batches *Logic*
- 10 **FETCH SerpAPI Search Results** Http Request *Service*
- 11 **Split Local Results** Split Out *Logic*
- 12 **Log Errors in Sheets** Google Sheets *Service*
- 13 **Set Lead Information** Set *Logic*
- 14 **Filter Valid Leads** Filter *Logic*
- 15 **Deduplicate by Key** Remove Duplicates *Logic*
- 16 **Wait 1 Second** Wait *Logic*
- 17 **Filter Leads with Website** Filter *Logic*
- 18 **GET Contact Page** Http Request *Service*
- 19 **Parse Contact Email** Code *Logic*
- 20 **Set No Website Contact** Set *Logic*
- 21 **Set Enriched Lead Data** Set *Logic*
- 22 **AI Generate Email** Open Ai *Model*
- 23 **Set Final Lead Object** Set *Logic*
- 24 **Append to Leads Sheet** Google Sheets *Service*
- 25 **Wait 3 Seconds** Wait *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 25, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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 25 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 25 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%2Fscrape-us-auto-transport-leads-with-serpapi-and-openai)
- **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.

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

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**AI-powered lead generation with Apollo and LinkedIn** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-lead-generation-with-apollo-and-linkedin)
- [**Automate personalized B2B outreach with LinkedIn** 25 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/automate-personalized-b2b-outreach-with-linkedin)
- [**Send dental clinic audit outreach with DeepSeek and SerpAPI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/send-dental-clinic-audit-outreach-with-deepseek-and-serpapi)
- [**Find and email website-less local businesses** 25 steps · Gmail, Google Drive](https://millionrounds.com/workflow/find-and-email-website-less-local-businesses)
- [**Generate scored B2B leads from Google Maps websites** 25 steps · Google Sheets](https://millionrounds.com/workflow/generate-scored-b2b-leads-from-google-maps-websites)
- [**AI-powered Google Maps business scraper with OpenRouter** 24 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-google-maps-business-scraper-with-openrouter)
