Generate AI images via Telegram with WaveSpeed, credit system, PIX and S3
UnknownWhat this workflow does
This workflow has 90 nodes and runs on Telegram events (message, callback query, pre checkout query) (plus 1 other trigger). Along the way it connects Telegram, S3 and Wavespeed (community). It also calls api.mercadopago.com over HTTP.
How it runs
Trigger: On Telegram events (message, callback query, pre checkout query) (plus 1 other trigger).
- Global env (Edit Fields (Set)): sets 15 fields: botName, botToken, paymentDataTableId…
- raceConditionDelay (Wait): pauses before continuing
- getUser (Data table): get
- getPaymentStatus (HTTP Request): calls an HTTP API
- messageType (Switch): routes items into 3 branches
- fetchPaymentRecord (Data table): get
- getFilePath (HTTP Request): calls an HTTP API (POST)
- swtichW/WOCallback (Switch): routes items into 3 branches
- Switch: routes items into 3 branches
- downloadImage (HTTP Request): calls an HTTP API
…plus 78 more steps. See the full node list below.
Services it uses
HTTP calls to: api.mercadopago.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-wavespeed is verified or supports 3.0 (used in WaveSpeed text-to-image submit, editImageOnReply).
- Check that n8n-nodes-wavespeed is verified or supports 3.0 (used in checkTaskGenerate).
Nodes used (14)
- Wave Speed Task Submit
n8n-nodes-wavespeed.waveSpeedTaskSubmit - Telegram
n8n-nodes-base.telegram - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - S3
n8n-nodes-base.s3 - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Convert to File
n8n-nodes-base.convertToFile - Wait
n8n-nodes-base.wait - Wavespeed Task Status
n8n-nodes-wavespeed.wavespeedTaskStatus - Edit Image
n8n-nodes-base.editImage - Telegram Trigger
n8n-nodes-base.telegramTrigger
From the author
🤖 Generate images via Telegram using an AI bot with a credit system and S3 storage A complete, production-ready Telegram bot for AI-powered image generation and editing, featuring a built-in credit system, payment integration, and cloud storage. --- ✨…