Skip to main content

Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI

Workflow preview

Workflow preview
100%
Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Telegram Restaurant Bot Workflow This workflow creates a Telegram bot that fetches the top 5 rated restaurants for any specified area in Egypt ...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.function, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by M Sayed.

Original n8n.io source

1.1 Workflow description

Title
Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI
Workflow name
Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI

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

  1. A user sends a place name like التحرير to the Telegram bot
  2. The Parse Area node extracts the location name from the message text
  3. The Geocode (Nominatim) node finds the geographic coordinates for the area (this can be adapted for more precise location searches)
  4. The Find Restaurants (SerpAPI) node uses this area to perform a Google Maps search
  5. The Format Reply node processes the search results. It sorts them by rating, takes the top 5, and builds a detailed Markdown-formatted string
  6. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Parse Area

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 3 - Find Restaurants (SerpAPI)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Geocode (Nominatim)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Format Reply

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 6 - Send to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI
Complexity intermediate
Nodes 12
Categories Personal Productivity
Author M Sayed
Published 18 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6107/6107.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Telegram bot for finding top-rated restaurants with Google Maps via SerpAPI do?

Telegram Restaurant Bot Workflow This workflow creates a Telegram bot that fetches the top 5 rated restaurants for any specified area in Egypt ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.