AutomationFlowsGeneral › Sleeper - Resolve User and Retrieve Leagues

Sleeper - Resolve User and Retrieve Leagues

Sleeper - Resolve User and Retrieve Leagues. Uses n8n-nodes-sleeper. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesN8N Nodes Sleeper
General Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Sleeper - Resolve User and Retrieve Leagues",
  "nodes": [
    {
      "parameters": {},
      "id": "2fcaf905-9005-4e58-8bbb-26a713b62611",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "a13ee785-bc79-4ef6-bf49-dac644a4d812",
              "name": "username",
              "value": "REPLACE_WITH_SLEEPER_USERNAME",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "60ea1d2e-becb-4ee9-b37c-30a4989c1a13",
      "name": "Set Sample Username",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        240,
        0
      ],
      "notesInFlow": true,
      "notes": "Replace the sample value with a public Sleeper username before running."
    },
    {
      "parameters": {
        "resource": "user",
        "operation": "get",
        "usernameOrUserId": "={{ $json.username }}"
      },
      "id": "d8e37625-25c1-46a7-bd62-d4f866073614",
      "name": "Resolve Sleeper User",
      "type": "n8n-nodes-sleeper.sleeper",
      "typeVersion": 1,
      "position": [
        500,
        0
      ]
    },
    {
      "parameters": {
        "resource": "league",
        "operation": "getManyForUser",
        "userId": "={{ $json.user_id }}",
        "sport": "nfl",
        "season": "2026"
      },
      "id": "3eb2eb67-7bd3-4d4d-8f9e-b57e2e9bfc15",
      "name": "Get User Leagues for 2026",
      "type": "n8n-nodes-sleeper.sleeper",
      "typeVersion": 1,
      "position": [
        760,
        0
      ]
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Set Sample Username",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Sample Username": {
      "main": [
        [
          {
            "node": "Resolve Sleeper User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resolve Sleeper User": {
      "main": [
        [
          {
            "node": "Get User Leagues for 2026",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "tags": []
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Sleeper - Resolve User and Retrieve Leagues. Uses n8n-nodes-sleeper. Event-driven trigger; 4 nodes.

Source: https://github.com/christopherjnelson/n8n-nodes-sleeper/blob/main/examples/get-user-leagues.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Sleeper - Get NFL State. Uses n8n-nodes-sleeper. Event-driven trigger; 2 nodes.

N8N Nodes Sleeper
General

Http-Handle. Uses httpRequest. Event-driven trigger; 13 nodes.

HTTP Request
General

Absen Otomatis. Uses ssh, executeWorkflowTrigger, scheduleTrigger, httpRequest. Event-driven trigger; 12 nodes.

Ssh, Execute Workflow Trigger, HTTP Request
General

Automate document translation and ensure translation accuracy using Straker Verify, Google Drive and Slack.

N8N Nodes Straker Verify, Google Drive, Google Drive Trigger
General

The Switch node is powerful — but easy to misconfigure. Without a proper fallback, things can silently break. 🧨

Stop And Error