Delay football goal alerts with API-Football, Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs on a schedule (every 10 minutes). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: On a schedule (every 10 minutes).
- Setup Validation (Code): runs custom JavaScript code
- Load User Preferences (Google Sheets): uses Google Sheets
- Filter Active Users Only (If): checks a condition and branches into true / false
- Check Match Timing Window (Code): runs custom JavaScript code
- Should Poll API? (If): checks a condition and branches into true / false
- API-Football: Get Live Match (HTTP Request): calls an HTTP API
- Detect New Goals (Code): runs custom JavaScript code
- Check Match Status (Code): runs custom JavaScript code
- Filter Error Results (If): checks a condition and branches into true / false
- Is Match Finished? (If): checks a condition and branches into true / false
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Gmail
n8n-nodes-base.gmail
From the author
Your streaming service is 45 seconds behind live. Your phone notifications aren't. This workflow fixes that. Real-time alerts arrive before they happen on your screen. You're watching a corner kick, your phone buzzes with a goal notification, moment…