Find Local Business Contacts
Search for local business contact details online using AI, then deliver formatted results to Telegram and email with Google Maps links.
This workflow automates the discovery of local businesses—such as pizza shops in New York—by searching the internet for their contact details and delivering the curated information directly to a Telegram chat and via email. It includes Google Maps links for easy navigation and formats the data for clean Telegram display.
What It Does
- Manually triggers the workflow.
- Sets search parameters (business type and location).
- Performs an internet search to gather relevant business listings.
- Uses an AI agent to visit top search result pages, extract detailed contact info, and format each entry with a Google Maps link.
- Sends the collected business data to a specified Telegram chat and an HTML email.
What You Need
- A Needle account with access to the platform's internet search and AI browsing tools.
- A Telegram bot token and the chat ID of the Telegram chat where you want to receive messages.
- A Pipedream connector configured for the Telegram Bot API.
- A Gmail account connected via Pipedream for sending emails.
How the Flow Works
| Node | Description |
|---|---|
| Manual Trigger | Starts the workflow on demand. |
| Code Node | Defines the search query parameters—business type (e.g., "pizza shops"), location (e.g., "New York"), and keywords like phone, email, website, and address. |
| Internet Search | Conducts an online search using the formatted query to find relevant business listings. |
| AI Researcher | Analyzes the top search results, browses multiple pages, and extracts structured business information (name, phone, email, website, address). Each entry is formatted with a clickable Google Maps link and Telegram-compatible HTML. |
| Telegram Bot API | Sends the formatted business data as a message to the specified Telegram chat using HTML parsing. |
| Gmail Send Email | Sends the same business data as an HTML email to your chosen email address for your records. |
Output
By the end of the workflow, you'll receive a neatly formatted message in your Telegram chat listing around 8–10 businesses, each with:
- A direct Google Maps link
- Business name
- Address
- Phone number
- Email (if available)
- Website
You'll also get an HTML email with the same data for easy reference.
Customization
You can easily adapt this workflow for different use cases by editing the Code node:
- Change the business type (e.g., "dentists", "coffee shops", "plumbers").
- Change the location (e.g., "Los Angeles", "Chicago", "London").
Notes
- Make sure your Telegram bot is correctly set up and has access to the target chat. The Telegram node requires a valid chat ID (not a phone number).
- The AI agent visits multiple pages from the search results to maximize data completeness, but some businesses may still be missed.
- Output formatting follows Telegram's HTML requirements to ensure readability and clickable links.
- The message is truncated to 4,096 characters to comply with Telegram's message length limit.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
