Announce New Live Tennis Matches to Discord
Loading workflow…
Workflow Description
A schedule trigger runs every 5 minutes, fetching currently live tennis matches from the Live Tennis API using a header-auth API key. The response's data field is split into one item per match, a remove-duplicates node (keyed on the match id across previous executions) filters out matches already announced, and a Discord node posts a short message with both player names and the match status via an incoming webhook credential.
How it works
- 1.Schedule Trigger starts an execution every 5 minutes.
- 2.HTTP Request sends GET /matches?status=live with an X-API-Key header from a Header Auth credential.
- 3.Split Out Matches splits the data field into one item per match.
- 4.Remove Duplicates drops items seen in previous executions, keyed on {{ $json.id }}.
- 5.Discord posts a message with player names and status using a Discord Webhook credential.
Use cases
- Notify a sports community channel as tennis matches go live.
- Keep a shared Discord channel informed of live match coverage.
Requirements
- A Live Tennis API key configured as a Header Auth credential with name X-API-Key.
- A Discord Webhook credential pointing to a channel's incoming webhook URL.
- Activating the workflow so the 5-minute schedule runs.
Setup and testing in n8n
- Run the workflow manually from the Schedule Trigger and confirm the API request succeeds.
- Verify Split Out Matches produces one item per live match.
- Confirm a Discord message arrives on first sight of a match and does not repeat on the next execution.
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (6)
Sticky Note
Sticky Note
Schedule Trigger
Schedule Trigger
Get Live Matches
HTTP Request
Split Out Matches
Split Out
Only New Matches
Remove Duplicates
Discord
Discord
Source and license
Sticky Note
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides