See llms.txt for all machine-readable content.

Back to Templates

Retrieve deadlock game match statistics and send to Telegram

Deadlock Match Stats Bot is an automated workflow for n8n designed to send detailed player statistics from the most recent Deadlock match directly to Telegram. When the user sends the /match command to the Telegram bot, the workflow performs the following steps:

Loads the HTML content of the player's profile page from deadlocktracker.gg using a preconfigured Steam ID.

Extracts the most recent match ID from the first match link on the player profile.

Loads the HTML page for the specified match.

Parses the match page to extract relevant data for each player, including their nickname, selected hero, and rank when shown. The scoreboard currently omits individual ranks for some matches. The bot displays its unranked fallback when a rank is unavailable.

Formats the collected information into a single message and sends it to the Telegram chat that issued the command.