🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Amazon to Telegram, instant product comparisons

Lisa Granqvist Partner Workflow Automation Expert

You open Amazon to “quickly check a few options,” and 20 tabs later you’re still comparing prices, reviews, and random “best seller” badges that don’t really help.

E-commerce operators feel it when sourcing new inventory. Product managers feel it when they need a fast competitor scan. And honestly, busy shoppers do too. This Amazon Telegram automation turns one message into a clean shortlist you can actually act on.

You’ll send a product idea in Telegram, the workflow validates the query, scrapes Amazon results via Decodo, scores and categorizes options, then replies with a tidy “budget / premium / best value” recommendation in under a minute.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: Amazon to Telegram, instant product comparisons

Why This Matters: Stop Drowning in Product Research Tabs

Manual Amazon research is sneaky. It starts as “I’ll just compare a few listings,” then turns into review skimming, seller credibility checks, price-to-rating guesses, and trying to remember which tab had the one decent option. If you’re doing this for work, it gets worse because you also need justification: “Why this product, why that price point, why now?” You end up making decisions slower, or you decide fast but with shaky confidence, which leads to returns, poor margins, or stock you shouldn’t have bought.

It adds up fast. Here’s where it usually breaks down.

  • You spend about 45 minutes bouncing between listings just to get a “good enough” shortlist.
  • Comparisons aren’t consistent because you’re eyeballing value instead of scoring it the same way every time.
  • Teams can’t repeat the process, so research lives in someone’s browser history instead of a reusable workflow.
  • One vague search term can send you into irrelevant results, and you only realize after you’ve wasted time.

What You’ll Build: Telegram-In, Amazon Shortlist-Out

This workflow turns Telegram into your “research inbox.” You message a product idea (like “wireless earbuds” or “iPhone 15 Pro Max case”), and the automation first checks if the query is specific enough to be useful. If it passes, it sends a scraping request to Decodo to pull Amazon search results including prices, ratings, reviews, and sales signals. Next, a transformation step cleans the dataset, removes duplicates, and calculates a simple value score so you’re not guessing. Finally, an AI step writes a Telegram-friendly recommendation that groups products into categories like budget, premium, best value, and most popular, with clean links you can click immediately.

The workflow starts with a Telegram message and a quick AI validation using a Gemini chat model. Then Decodo collects the raw product results, and n8n processes them into a structured shortlist. The last step sends a formatted reply back to Telegram, plus optional admin alerts if anything fails.

What You’re Building

Expected Results

Say you research 5 product ideas a week for sourcing or content planning. Manually, if each one takes about 45 minutes, that’s roughly 4 hours of pure comparison work. With this workflow, you spend maybe 1 minute sending a message and reading the shortlist, while the automation does the scraping and scoring in under 40 seconds. That’s about 3 hours back most weeks, and your picks are more consistent.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Telegram Bot for the chat-based input and replies.
  • Decodo account to scrape Amazon search results reliably.
  • Google Gemini API key (get it from Google AI Studio) for query validation.

Skill level: Intermediate. You’ll connect a few credentials, paste in API keys, and test with real Telegram messages.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

A Telegram message kicks things off. You send a product name to your bot, and the workflow grabs the chat details so it knows where to reply.

The query gets validated before spending any API calls. A Gemini-based AI check extracts the core keywords and decides if the request is “valid” or too ambiguous, which prevents garbage-in results.

Amazon results are scraped and normalized. Decodo pulls listing data, then a processing step removes duplicates, computes value scores, and prepares the “top picks” buckets (budget, premium, best value, most popular).

A clean recommendation is delivered back to Telegram. An AI agent crafts a short, readable message with Telegram-optimized formatting and direct URLs. If something fails, an error trigger can notify an admin channel so you’re not debugging blind.

You can easily modify the scoring and categories to match how you buy (for example, prioritize review count over rating). See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Telegram Trigger

This workflow begins when a user sends a Telegram message to your bot, which is captured by the trigger node.

  1. Add the Telegram Intake Trigger node and set Updates to message.
  2. Credential Required: Connect your telegramApi credentials in Telegram Intake Trigger.
  3. Confirm the parallel start: Telegram Intake Trigger outputs to both Validate Product Query and Delay Briefly in parallel.
Tip: Ensure your Telegram bot is set up with a webhook in n8n so incoming messages trigger Telegram Intake Trigger reliably.

Step 2: Connect Telegram Notifications and Acknowledgments

The workflow uses multiple Telegram nodes to acknowledge valid/invalid inputs and provide progress updates.

  1. In Delay Briefly, set Amount to 2 to delay the processing notice.
  2. Configure Post Processing Update with Text set to =Processing your input... and Chat ID to {{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  3. Set up Send Valid Acknowledgment with Text set to =Input <b>Valid</b> | keyword: <b>{{ $json.output.keyword }}</b> <i>processing your request...</i> and Chat ID to {{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  4. Configure Send Invalid Notice with Text set to =no product detected on your input, please try again and Chat ID to {{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  5. Credential Required: Connect your telegramApi credentials to all Telegram nodes (5+ nodes handle acknowledgments, progress updates, and admin alerts).
⚠️ Common Pitfall: If the Telegram bot is not added to the chat or lacks permissions, Post Processing Update and Send Valid Acknowledgment will fail even when the trigger works.

Step 3: Set Up Query Validation and Routing

Before scraping, the workflow validates the user’s input using an AI prompt and routes based on validity.

  1. In Validate Product Query, set Text to {{ $json.message.text }} and keep Has Output Parser enabled.
  2. Attach Parse Validation Result as the output parser with JSON Schema Example set to { "keyword": "<product_name_or_empty>", "status": "VALID or INVALID" }.
  3. Connect Gemini Flash Model as the language model for Validate Product Query and Craft Recommendation Text. Credential Required: Connect your googlePalmApi credentials in Gemini Flash Model.
  4. In Verify Query Status, set the condition Left Value to {{ $json.output.status }} and Right Value to VALID.
  5. Confirm parallel flow: Verify Query Status outputs to both Derive Chat & Keyword and Send Valid Acknowledgment in parallel.
Tip: Parse Validation Result is an AI sub-node; add credentials on the parent Gemini Flash Model node, not the parser.

Step 4: Connect Product Scraping and Dataset Transformation

Valid queries are converted to a search keyword, scraped from Amazon, and transformed into an AI-ready dataset.

  1. In Derive Chat & Keyword, set chatId to {{ $('Telegram Intake Trigger').item.json.message.chat.id }} and message to {{ $json.output.keyword.replaceAll(' ','+') }}.
  2. In Decodo Scrape Request, set Operation to amazon and URL to =https://www.amazon.com/s?k={{ $json.message }}.
  3. Credential Required: Connect your decodoApi credentials in Decodo Scrape Request.
  4. Keep Transform Product Dataset code as provided to clean URLs, score products, and structure categories for the AI prompt.
⚠️ Common Pitfall: If Decodo Scrape Request returns empty results, Transform Product Dataset will output empty arrays and the AI response may be generic.

Step 5: Generate Recommendations and Send the Reply

Structured product data is converted into a Telegram-friendly recommendation response and delivered back to the user.

  1. In Craft Recommendation Text, keep the long prompt text and ensure it references dynamic values like {{ $json.query }} and {{ $json.stats.avg_price }}.
  2. Connect Craft Recommendation Text to Deliver Telegram Reply.
  3. Configure Deliver Telegram Reply with Text set to {{ $json.text }} and Chat ID set to {{ $('Derive Chat & Keyword').item.json.chatId }}.
  4. Credential Required: Connect your telegramApi credentials in Deliver Telegram Reply.

Step 6: Add Error Handling and Admin Alerts

Error handling ensures you get notified if any node fails during execution.

  1. Use Failure Event Trigger to capture workflow errors.
  2. Keep the provided code in Compose Error Alert to format a concise error message.
  3. In Alert Administrator, set Text to {{ $json.message }} and replace Chat ID [YOUR_ID] with your Telegram user ID.
  4. Credential Required: Connect your telegramApi credentials in Alert Administrator.

Step 7: Test and Activate Your Workflow

Run a full test to confirm validation, scraping, AI generation, and Telegram delivery all work as expected.

  1. Click Execute Workflow and send a test message to your Telegram bot.
  2. Verify that Send Valid Acknowledgment or Send Invalid Notice responds correctly, and that Post Processing Update appears after the delay.
  3. Confirm that Deliver Telegram Reply sends a formatted recommendation message containing URLs.
  4. Trigger a failure (e.g., invalid credentials) to verify Failure Event TriggerCompose Error AlertAlert Administrator works.
  5. Once successful, toggle the workflow to Active for production use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Telegram credentials and webhook settings can be finicky. If replies suddenly stop, check your bot token in n8n and confirm Telegram updates are still arriving in the Trigger node.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Decodo can hit rate limits or Amazon can throttle scraping. If your shortlist comes back empty, verify your Decodo dashboard status and slow down repeated requests for the same keyword.

Quick Answers

What’s the setup time for this Amazon Telegram automation?

About 30 minutes if you already have your API keys.

Is coding required for this Amazon Telegram product comparison?

No. You’ll mostly paste credentials, review the prompts, and test a few Telegram messages.

Is n8n free to use for this Amazon Telegram automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Decodo scraping costs and Gemini API usage (usually small per request for short prompts).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this Amazon Telegram automation workflow for different use cases?

Yes, and you should. You can tweak the “Validate Product Query” and “Craft Recommendation Text” prompts to match your buying rules, change how strict the “Verify Query Status” decision is, and adjust the dataset rules inside “Transform Product Dataset” if you want different scoring (like weighting review count more heavily).

Why is my Telegram connection failing in this workflow?

Usually it’s a bad or rotated bot token. Update the token in your Telegram credentials in n8n, then re-test the Telegram trigger to confirm updates are arriving. If the trigger works but sending fails, check that your bot can message the chat (some groups require adding the bot properly) and make sure you’re using the expected Markdown mode so special characters don’t break formatting.

What volume can this Amazon Telegram automation workflow process?

If you self-host, volume mostly depends on your server and Decodo limits. On n8n Cloud, your monthly execution limit depends on plan; most small teams are fine unless they run this hundreds of times a day. In practice, one request equals one execution chain, so it scales cleanly as long as your scraping provider and AI API can keep up.

Is this Amazon Telegram automation better than using Zapier or Make?

Often, yes. This workflow benefits from the “messy middle” that n8n handles well: branching logic (valid vs invalid queries), dataset transformation, and error routing to an admin channel. Zapier and Make can do parts of it, but you may end up fighting limitations around code steps, long prompts, or execution costs as usage grows. The self-host option is also a big deal if you want predictable costs. If you only want a basic “send query, get reply” chat bot, the simpler tools can be fine. Talk to an automation expert if you’re not sure which fits.

Once this is running, product research turns into a quick chat message and a decision you can defend. Less tab chaos, fewer “wait, which one was it?” moments, and a workflow you can reuse every time.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal