Daily MLB Pitcher vs. Batter Matchup Analysis with Google Sheets and Telegram — Workflow n8n

Moyen complexité Planifié12 nœuds🏷️ Miscellaneouspar TheStock

Aperçu

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:

  1. Google Sheets OAuth2 → point to your Google Sheet → Tab name
  2. Create Telegram Bot cred + chatId
  3. 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

Nœuds utilisés

Google SheetsHTTP RequestTelegramCode

Aperçu du workflow

Hits
MLB "Hits" Workflow — Overview
• Pulls today's MLB schedule incl. probablePitcher + li
• Batches season stats for all involved players
• Builds pitcher vs. batter matchup rows
3. Extract All Player IDs
4. Get Batched Player St…
2. Get Daily Games
5. Create Final Matchup …
6. Filter for Top Match…
Column Order
9
9am Clear
1
11:02 - 8:02
8. 21 Hitters
Clear your Sheet
7. Update Your Sheet
9. sendToTelegramChatbot
12 nodes10 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur planifié, s'exécutant selon un planning défini.

  2. 2

    Traitement

    Les données transitent par 12 nœuds, connecting code, googlesheets, httprequest.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (12)

GO

Google Sheets

googleSheets

#1
HT

HTTP Request

httpRequest

#2
TE

Telegram

telegram

#3
CO

Code

code

#4

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier daily-mlb-pitcher-vs-batter-matchup-analysis-with-google-sheets-and-telegram téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Daily MLB Pitcher vs. Batter Matchup Analysis with Google Sheets and Telegram", "nodes": [...], ...}

Intégrations

codegooglesheetshttprequestscheduletriggertelegram

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds12
Complexitémedium
Déclencheurscheduled
CatégorieMiscellaneous

Créé par

TheStock

TheStock

@thestock

Tags

codegooglesheetshttprequestscheduletriggertelegram

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows