Search game prices and deals with Discord and IsThereAnyDeal
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Discord. It also calls api.isthereanydeal.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Parse Discord Command (Code): runs custom JavaScript code
- Route by Command (Switch): routes items into 3 branches
- Fetch ITAD Game Search (HTTP Request): calls api.isthereanydeal.com
- Fetch ITAD Deals (HTTP Request): calls api.isthereanydeal.com
- Build Help Reply Message (Code): runs custom JavaScript code
- Extract Best Game Match (Code): runs custom JavaScript code
- Build Deals Reply Message (Code): runs custom JavaScript code
- Post Reply to Discord (Discord): work with message
- Fetch ITAD Game Prices (HTTP Request): calls api.isthereanydeal.com (POST)
- Load Stored Price History (Data table): get
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api.isthereanydeal.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Data table
n8n-nodes-base.dataTable - Discord
n8n-nodes-base.discord
From the author
Quick overview This workflow receives Discord messages via a webhook, looks up game prices or current deals using the IsThereAnyDeal (ITAD) API, optionally checks stored price history in an n8n Data Table, and posts a formatted reply back to a Discord channel…