Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI
Workflow preview
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER
Early Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Important notice
This workflow is provided as-is. Please review and test before using in production.
Overview
Telegram Restaurant Bot Workflow
This workflow creates a Telegram bot that fetches the top 5 rated restaurants for any specified area in Egypt using SerpAPI's Google Maps search. It's designed to provide quick, detailed, and richly formatted information directly in your chat.
Key Features
- Simple Command Trigger: Activate the search with a straightforward command (e.g., التحرير)
- Real-Time Restaurant Data: Utilizes SerpAPI to pull live data, ratings, and details from Google Maps
- Top 5 Ranking: Automatically sorts restaurants by their rating in descending order and presents the top five
- Richly Formatted Replies: Generates a clean, user-friendly Markdown message with essential details:
- Rating ⭐
- Phone Number ☎️
- Website 🌐
- Service Options (Dine-in ✅ | Takeaway ❌)
- A direct link to the location on a map 📍
- Arabic Language Focused: The workflow is initially configured to process requests and format replies in Arabic
How It Works
- A user sends a place name like
التحريرto the Telegram bot - The Parse Area node extracts the location name from the message text
- The Geocode (Nominatim) node finds the geographic coordinates for the area (this can be adapted for more precise location searches)
- The Find Restaurants (SerpAPI) node uses this area to perform a Google Maps search
- The Format Reply node processes the search results. It sorts them by rating, takes the top 5, and builds a detailed Markdown-formatted string
- The Send to Telegram node delivers the final formatted message back to the user who made the request
Setup
- Telegram: Configure your credentials in the Telegram Trigger and Send to Telegram nodes
- SerpAPI: Add your free or paid API key in the Find Restaurants (SerpAPI) HTTP Request node