Skip to main content

Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts

Workflow preview

Workflow preview
100%
Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts preview
Open on n8n.io

1. Workflow Overview

Who’s it For This template is perfect for daily fantasy sports (DFS) enthusiasts, sports analysts, and content creators who want automated, AI optimized lineups for DraftKings contests. Works for m...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts
Workflow name
Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts

Who’s it For

This template is perfect for daily fantasy sports (DFS) enthusiasts, sports analysts, and content creators who want automated, AI-optimized lineups for DraftKings contests. Works for multiple sports including NFL, NBA, MLB, NHL, and esports like LOL and CS.

How It Works / What It Does

The workflow uses the DraftKings API Actor to scrape real-time contest and player data. It calculates player value based on projected points and salary, and then uses AI to generate optimized DFS lineups. Generated lineups are logged to Google Sheets, emailed to subscribers with AI-personalized messaging, and internal teams are notified via Slack. Filters allow skipping contests that are too expensive, almost full, or starting too soon.

How to Set Up

  1. Configure DraftKings API Actor: select sport, maxContests, includePlayerData.
  2. Google Sheets: enter Sheet ID and worksheet for logging lineups.
  3. Email Node: configure SMTP or SendGrid for sending subscriber emails.
  4. Slack Node: enter channel for team notifications.
  5. Adjust workflow schedule for daily or pre-game runs.
  6. Optional: modify contest filters (entry fee, prize pool, start time).

Requirements

  • DraftKings API Actor access via Apify
  • n8n instance with nodes: DraftKings API Actor, Set, Function, IF, OpenAI, SplitInBatches, Google Sheets, Email, Slack
  • Google Sheets account
  • Slack workspace
  • SMTP/Email service for notifications

How to Customize the Workflow

  • Adjust sports, contest limits, or player data inclusion.
  • Change AI prompts in the OpenAI node to adjust lineup strategy.
  • Modify email templates for personalized messaging.
  • Add historical tracking logic for performance analysis.
  • Multi-sport branching can be expanded for other leagues.

Why This Template is Valuable

  • Saves DFS players hours of research and lineup building.
  • Provides actionable AI-optimized lineups daily.
  • Tracks contests and player trends over time.
  • Integrates notifications to both internal team and subscribers.
  • Branded for QuarterSmart by Hyrum Hurst: reliable, plug-and-play, high-value DFS automation.

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 - Daily DFS Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Workflow Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - DraftKings Contest Scraper

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

Block 4 - Normalize Contest Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Contest Filter: Entry Fee & Prize Pool

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 6 - Contest Filter: Start Time

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 7 - Fetch Player Data

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

Block 8 - Normalize Player Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Calculate Player Value

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

Block 10 - OpenAI GPT-4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 11 - AI Lineup Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 12 - Log Lineups to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 13 - Email Lineups to Subscribers

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

Block 14 - Notify Team on Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 15 - Log Skipped Contests

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

Block 20 - Sticky Note4

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

3. Summary Table

Workflow Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts
Complexity advanced
Nodes 20
Categories Content Creation, Multimodal AI
Author Hyrum Hurst
Published 22 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12928/12928.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 Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts do?

Who’s it For This template is perfect for daily fantasy sports (DFS) enthusiasts, sports analysts, and content creators who want automated, AI optimized lineups for DraftKings contests. Works for m...

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 Content Creation, Multimodal AI use case.