What This Workflow Does
This automation creates a smart Telegram bot that helps users discover the best local restaurants instantly. When a user sends a location or area name, the bot queries Google Maps via SerpAPI to retrieve the top 5 highest-rated dining options in that vicinity.
The solution eliminates manual searching across multiple platforms by delivering curated restaurant recommendations directly within Telegram. Each result includes key details like rating, price range, cuisine type, and direct links - helping users make informed dining decisions quickly.
How It Works
1. User initiates restaurant search
The Telegram bot prompts users to share their location or enter a specific area name where they want to dine. The bot accepts both text-based location queries and precise GPS coordinates shared via Telegram's location feature.
2. Location processing
The workflow processes the user's input to extract or geocode the location details. For text queries, it may use additional services to resolve ambiguous location names into precise coordinates that Google Maps can understand.
3. SerpAPI query execution
The system sends the location data to SerpAPI, which queries Google Maps for restaurants in that area. The API returns structured data including names, ratings, review counts, price levels, and other key details about nearby dining options.
4. Results filtering and ranking
The workflow sorts restaurants by their Google rating (highest first) and applies any additional filters (like cuisine type or price range if specified). It selects the top 5 results to present to the user.
5. Response formatting and delivery
The bot formats the restaurant information into an attractive, easy-to-read message in Telegram. Each entry includes the name, star rating, price indicator, cuisine type, and a direct Google Maps link for navigation.
Pro tip: Consider adding cuisine type filters to make your bot more versatile. Users could specify preferences like "Italian" or "vegetarian" to get more tailored recommendations.
Who This Is For
This automation is ideal for food bloggers, travel agencies, hotel concierge services, and local business directories looking to provide value-added services to their audience. Restaurant owners can also use it to monitor their competition's ratings and positioning.
Tech-savvy individuals running Telegram channels about local dining or city guides will find this bot particularly useful for engaging their community with instant, valuable recommendations.
What You'll Need
- A Telegram bot token (created via BotFather)
- SerpAPI account with Google Maps API access
- n8n instance (self-hosted or cloud)
- Basic understanding of Telegram bot interactions
- Google Cloud account for additional geocoding (optional)
Quick Setup Guide
- Download the JSON template file
- Import it into your n8n instance
- Configure the Telegram bot node with your token
- Add your SerpAPI credentials to the appropriate nodes
- Test with sample locations to verify results
- Deploy the workflow and share your bot's username
Key Benefits
Instant access to top dining options - Users get curated restaurant recommendations in seconds, eliminating time-consuming manual searches across multiple platforms.
Increased engagement for businesses - Food-related services can offer this as a value-added feature to attract and retain customers through their Telegram channels.
Reliable data sourcing - Leveraging Google Maps via SerpAPI ensures you're working with the most comprehensive and up-to-date restaurant database available.
Customizable foundation - The workflow can be extended to include reservation links, menu previews, or integration with loyalty programs.
24/7 automated service - The bot provides consistent, immediate responses at any time of day without human intervention.