Daily MLB Pitcher vs. Batter Matchup Analysis with Google Sheets and Telegram — n8n 工作流
概览
MLB "Hits" Workflow — Overview • Pulls today's MLB schedule incl. probablePitcher + lineups (statsapi.mlb.com) • Batches season stats for all involved players • Builds pitcher vs. batter matchup rows
Setup Steps:
- Google Sheets OAuth2 → point to your Google Sheet → Tab name
- Create Telegram Bot cred + chatId
- Optional: tweak ERA/OPS thresholds or Top N in nodes 6 or 8.
Optional Setup: Conditional Formatting in the Sheet for ColorScale on best stat in the column, as well as Lefty vs Righ
使用的节点
Google SheetsHTTP RequestTelegramCode
工作流预览
Loading workflow preview...
工作原理
- 1
触发器
工作流由 定时 触发器启动,按预定计划运行。
- 2
处理
数据流经 12 个节点, connecting code, googlesheets, httprequest。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (12)
GO#1
Google Sheets
googleSheets
HT#2
HTTP Request
httpRequest
TE#3
Telegram
telegram
CO#4
Code
code
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
daily-mlb-pitcher-vs-batter-matchup-analysis-with-google-sheets-and-telegram文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Daily MLB Pitcher vs. Batter Matchup Analysis with Google Sheets and Telegram", "nodes": [...], ...}
集成
codegooglesheetshttprequestscheduletriggertelegram
创建者
TheStock
@thestock
标签
codegooglesheetshttprequestscheduletriggertelegram