Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Chatbots & Messaging-Bots

Chatbots & Messaging-Bots

Discord-Befehle für Spielepreise und Angebote mit IsThereAnyDeal beantworten

Verarbeitet Discord-Befehle, die per Webhook eingehen, um Spielepreise, aktuelle Angebote oder Hilfe abzurufen, und antwortet im Kanal mit IsThereAnyDeal-Daten und gespeicherter Preishistorie.

Was sie bewirkt

## 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.

Die Schritte

  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

Ähnliche Automatisierungen