Check resale deals and send buy or skip verdicts with Telegram, Apify and GPT-4o
UnknownWhat this workflow does
This AI workflow has 18 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, OpenAI Chat Model, Google Sheets and Apify (community).
How it runs
Trigger: On Telegram events (message) (plus 1 other trigger).
- Set your rules (Edit Fields (Set)): sets 12 fields: yourChatId, sellOn, sellFeePct…
- Who is asking (Switch): routes items into 2 branches
- Read the list from your message (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI model; output parser: List format
- Read your sourcing list (Google Sheets): read
- Build the list from your message (Code): runs custom JavaScript code
- Build the list from your sheet (Code): runs custom JavaScript code
- Got any products (If): checks a condition and branches into true / false
- Check the prices on four marketplaces (Apify): run actor and get dataset
- Tell you it started (Telegram): uses Telegram
- Show how to use it (Telegram): uses Telegram
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Telegram + OpenAI templates (807) · Other Telegram + Google Sheets templates (674)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Check the prices on four marketplaces).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Google Sheets
n8n-nodes-base.googleSheets - Apify
@apify/n8n-nodes-apify.apify
From the author
Quick overview This workflow accepts a product list via Telegram or reads a Google Sheets sourcing list on a daily schedule, checks current prices across Amazon, eBay, Best Buy, and Newegg using Apify, calculates profit/ROI using your rules, then sends…