# Scrape Shopify store leads with ScraperCity: n8n workflow

> Started by an event in a connected app, and works across HubSpot. 25 steps, 2 branches, 6 loops or waits: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/scrape-shopify-store-leads-with-scrapercity (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Scrape Shopify store leads with ScraperCity

Started by an event in a connected app, and works across HubSpot. 25 steps, 2 branches, 6 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscrape-shopify-store-leads-with-scrapercity)

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

**2** Branches: places the flow splits

**6** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Logic 17 Service 7

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

- 1 **When clicking Execute workflow** Manual trigger *Starts it*
- 2 **Configure Search Parameters** Set *Logic*
- 3 **Start Shopify Store Scrape** Http Request *Service*
- 4 **Store Scrape Run ID** Set *Logic*
- 5 **Wait Before First Poll** Wait *Logic*
- 6 **Poll Loop Controller** Split In Batches *Logic*
- 7 **Check Scrape Status** Http Request *Service*
- 8 **Is Scrape Complete?** If *Logic*
- 9 **Download Scraped Store Leads** Http Request *Service*
- 10 **Wait 60 Seconds Before Retry** Wait *Logic*
- 11 **Parse CSV Lead Data** Code *Logic*
- 12 **Filter Records with Emails** Filter *Logic*
- 13 **Remove Duplicate Leads** Remove Duplicates *Logic*
- 14 **Collect Emails for Validation** Code *Logic*
- 15 **Start Email Validation** Http Request *Service*
- 16 **Store Validation Run ID** Set *Logic*
- 17 **Wait Before Validation Poll** Wait *Logic*
- 18 **Validation Poll Loop Controller** Split In Batches *Logic*
- 19 **Check Validation Status** Http Request *Service*
- 20 **Is Validation Complete?** If *Logic*
- 21 **Download Validation Results** Http Request *Service*
- 22 **Wait 30 Seconds Before Validation Retry** Wait *Logic*
- 23 **Merge Leads with Validation Results** Code *Logic*
- 24 **Filter Valid Emails Only** Filter *Logic*
- 25 **Create or Update HubSpot Contact** Hubspot *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 25, with 2 branches, 6 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** HubSpot
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own HubSpot account. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

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-shopify-store-leads-with-scrapercity)
- **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.

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

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Vet new Shopify leads with ZeroBounce** 20 steps · Google Sheets, HubSpot](https://millionrounds.com/workflow/vet-new-shopify-leads-with-zerobounce)
- [**Recover Abandoned Shopify Carts with Email Follow-ups** 9 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/recover-abandoned-shopify-carts-with-email-follow-ups)
- [**Process Shopify lead emails from Gmail** 8 steps · Gmail, HubSpot](https://millionrounds.com/workflow/process-shopify-lead-emails-from-gmail)
- [**Sync Shopify customers to your HubSpot contacts** 8 steps · HubSpot](https://millionrounds.com/workflow/sync-shopify-customers-to-your-hubspot-contacts)
