# Scrape Google Maps leads with OpenAI and Telegram: n8n workflow

> Started by an incoming Telegram message, and works across Notion and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/scrape-google-maps-leads-with-openai-and-telegram (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 Google Maps leads with OpenAI and Telegram

Started by an incoming Telegram message, and works across Notion and Telegram. It hands the judgement calls to OpenAI. 21 steps, 2 branches, 1 loop 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-google-maps-leads-with-openai-and-telegram)

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

**2** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 1 Logic 9 Service 9

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

- 1 **Manual Trigger** Manual trigger *Starts it*
- 2 **Telegram Callback** Telegram trigger *Starts it*
- 3 **📝 CONFIGURATION** Set *Logic*
- 4 **🕵️‍♂️ Find Agent** Notion *Service*
- 5 **1. Fetch Google Maps Data** Http Request *Service*
- 6 **Agent Exists?** If *Logic*
- 7 **2. Clean & Normalize** Code *Logic*
- 8 **📝 Assign Lead** Notion *Service*
- 9 **❌ Error Toast** Telegram *Service*
- 10 **🔄 Loop Items** Split In Batches *Logic*
- 11 **✅ Update Chat** Telegram *Service*
- 12 **🔎 Search Duplicate** Notion *Service*
- 13 **🛡️ Restore Data** Merge *Logic*
- 14 **🔔 Show Toast** Telegram *Service*
- 15 **Found?** If *Logic*
- 16 **🚫 Duplicate / Skip** No Op *Logic*
- 17 **🤖 AI Icebreaker** Open Ai *Model*
- 18 **🔗 Merge Final** Merge *Logic*
- 19 **💾 Create New Lead** Notion *Service*
- 20 **🎨 Prepare Message** Code *Logic*
- 21 **📢 Notify Team** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 21, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Notion, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on an incoming Telegram message.

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 21 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 21 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-google-maps-leads-with-openai-and-telegram)
- **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.

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

## Workflows like it

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

- [**AI-powered lead generation with Apollo and OpenAI** 21 steps · calls a model · Apify, Postgres](https://millionrounds.com/workflow/ai-powered-lead-generation-with-apollo-and-openai)
- [**Generate personalized cold email openers with Claude** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-personalized-cold-email-openers-with-claude)
- [**Automated local business lead generator with WhatsApp** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/automated-local-business-lead-generator-with-whatsapp)
- [**This AI-powered workflow finds HOT LinkedIn leads in SECONDS** 20 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/this-ai-powered-workflow-finds-hot-linkedin-leads-in-seconds)
- [**Automate lead qualification with OpenAI and Notion** 19 steps · calls a model · Notion](https://millionrounds.com/workflow/automate-lead-qualification-with-openai-and-notion)
- [**Automate lead qualification with OpenAI and Notion** 19 steps · calls a model · Notion](https://millionrounds.com/workflow/automate-lead-qualification-with-openai-and-notion-2)
