Skip to main content

View fantasy football roster details with Sleeper API and Telegram chatbot

Workflow preview

Workflow preview
100%
View fantasy football roster details with Sleeper API and Telegram chatbot preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Sleeper NFL Team Chatbot Starter A Telegram chatbot built to look up your fantasy football team in the Sleeper app and return your roster details, player names, positions, and team info. This start...

Best for

  • Personal Productivity automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, n8n-nodes-base.airtable, n8n-nodes-base.merge, n8n-nodes-base.telegramtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Patrick Jennings.

Original n8n.io source

1.1 Workflow description

Title
View fantasy football roster details with Sleeper API and Telegram chatbot
Workflow name
View fantasy football roster details with Sleeper API and Telegram chatbot

Sleeper NFL Team Chatbot Starter

A Telegram chatbot built to look up your fantasy football team in the Sleeper app and return your roster details, player names, positions, and team info.

This starter workflow is perfect for users who want a simple, conversational way to view their Sleeper team in-season or pre-draft.


What It Does

When a user types their Sleeper username into Telegram, this workflow:

  1. Extracts the username from Telegram
  2. Pulls their Sleeper User ID
  3. Retrieves their Leagues and selects the first one (by default)
  4. Pulls the full league Rosters
  5. Finds the matching roster owned by that user
  6. Uses player_ids to look up full player info from a connected database (e.g. Airtable or Google Sheets)
  7. Returns a clean list of player names, positions, and teams via Telegram

Requirements

To get this running, you’ll need:

  • A Telegram bot (set up through BotFather)
  • A Sleeper Fantasy Football account
  • A synced player database that matches player_id to full player details (we recommend using the companion template: Sleeper NFL Players Daily Sync)

Setup Instructions

  1. Import the workflow into your n8n instance
  2. Add the required credentials:
    • Telegram (API Key from BotFather)
    • Airtable (or replace with another database method like Google Sheets or HTTP request to a hosted JSON file)
  3. Trigger the workflow by sending your exact Sleeper username to the bot
  4. Your full team roster will return as a formatted message

> If the user is in multiple Sleeper leagues, the current logic returns the first league found.


Example Output

You have 19 players on your roster:
Cam Akers (RB - NO), Jared Goff (QB - DET), ...

Customization Notes

  • Replace Telegram Trigger with any other input method (webhook, form input, etc.)
  • Replace Airtable node with Google Sheets, SQL DB, or even a local file if preferred
  • You can hardcode a Sleeper username if you're using this for a single user

Related Templates

  • Sleeper NFL Players Daily Sync (syncs player_id to player name, position, team) -Create Player Sync first then either integrate it to this template or reate a subworkflow from it & use most recent data set.

Difficulty Rating & Comment (from the author)

  • 3 out of 10 if this ain't you're first rodeo, respectfully. Just a little bit more work on adding the Players Sync as your data table & knowing how to GET from Sleeper.
  • If you use Sleeper for fantasy football, lets go win some games!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Extract Username

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Get Sleeper User ID

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get Leagues

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Extract League ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Get Rosters

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Find User Roster

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Send a text message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Search records

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 11 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Send Message to Chatbot

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

3. Summary Table

Workflow View fantasy football roster details with Sleeper API and Telegram chatbot
Complexity advanced
Nodes 17
Categories Personal Productivity
Author Patrick Jennings
Published 29 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6655/6655.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does View fantasy football roster details with Sleeper API and Telegram chatbot do?

Sleeper NFL Team Chatbot Starter A Telegram chatbot built to look up your fantasy football team in the Sleeper app and return your roster details, player names, positions, and team info. This start...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.