Daily sync of NFL players from Sleeper API to Airtable for fantasy football
Needs changesWhat this workflow does
This workflow has 5 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Airtable. It also calls api.sleeper.app over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch Sleeper NFL Players (HTTP Request): calls api.sleeper.app
- Convert Players Object to Array (Function): runs custom JavaScript (legacy Function node)
- Filter Active Fantasy Players (Function): runs custom JavaScript (legacy Function node)
- Create or update a record (Airtable): create or update
Services it uses
HTTP calls to: api.sleeper.app
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Convert Players Object to Array, Filter Active Fantasy Players: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Convert Players Object to Array, Filter Active Fantasy Players | Code node, mode 'Run Once for All Items' |
Nodes used (4)
- HTTP Request
n8n-nodes-base.httpRequest - Function
n8n-nodes-base.function - Manual Trigger
n8n-nodes-base.manualTrigger - Airtable
n8n-nodes-base.airtable
From the author
Sleeper NFL Players Sync This template uses the Sleeper API to fetch the complete list of NFL players and stores them in an Airtable base. It’s built to run daily and ensures you have the most up-to-date player list for fantasy football workflows --- What it…