Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Chatbots & Messaging Bots

Chatbots & Messaging Bots

Answer Discord game price and deal commands with IsThereAnyDeal

Parses Discord commands received by webhook to look up game prices, current deals, or help, then replies in the channel using IsThereAnyDeal data and stored price history.

What it does

## Discord Game Search Command ### How it works 1. The webhook receives Discord commands and a parsing node extracts the command and arguments. 2. A router node dispatches the command to one of three branches (lookup, deals, or help). 3. The lookup branch searches ITAD for a game, finds the best match, fetches price details, loads stored history, and builds a lookup reply. 4. The deals branch queries ITAD for deals and builds a deals reply. 5. Built replies (lookup, deals, or help) are sent back to Discord by the Discord reply node. ### Setup steps - [ ] Configure the Discord Message Webhook with the correct webhook URL or set up the Discord credentials in the Discord node. - [ ] Add the ITAD API key (isthereanydeal) into HTTP Request credentials or environment variables used by the ITAD request nodes. - [ ] Ensure the data table node (Load Stored History) is initialized and has the correct table name/schema accessible to the workflow. - [ ] Verify the Parse Command and custom code nodes have any required environment variables or secret values available in n8n. ### Customization Adjust command names and parsing logic in the Parse Command node, modify outgoing message templates in the Build Reply nodes, and change how history is stored/queried by updating the data table node.

The steps

  1. When Discord Message Received
  2. Parse Discord Command
  3. Route by Command
  4. Fetch ITAD Game Search
  5. Extract Best Game Match
  6. Fetch ITAD Game Prices
  7. Load Stored Price History
  8. Build Lookup Reply Message
  9. Post Reply to Discord
  10. Fetch ITAD Deals
  11. Build Deals Reply Message
  12. Build Help Reply Message

Similar automations