Templates / Generate real-time IPL commentary from CricAPI data with GPT-4o

Generate real-time IPL commentary from CricAPI data with GPT-4o

Ready for 3.0

by Rahul Joshi ✓ · 280 views · created 2026-03-26 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs on a schedule (cron */6 14-23 * * *) (plus 1 other trigger). Along the way it connects OpenAI and Google Sheets. It also calls api.cricapi.com over HTTP.

How it runs

Trigger: On a schedule (cron */6 14-23 * * *) (plus 1 other trigger).

  1. Fetch live match list (HTTP Request): calls api.cricapi.com
  2. Compute Match Indicators (Code): runs custom JavaScript code
  3. Is Live Match ? (If): checks a condition and branches into true / false
  4. Narrative Generator (OpenAI): uses OpenAI
  5. Parse Narrative (Code): runs custom JavaScript code
  6. Log to IPL Win Probability Log (Google Sheets): append
  7. Respond to Webhook: sends the response back to the webhook caller

Services it uses

OpenAIGoogle Sheets

HTTP calls to: api.cricapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

📊 Description IPL fans expect more than a scoreboard. They want to know what the score means — is the batting team ahead of the game, is the chase getting away from them, who has the pressure right now. This workflow answers all of that automatically by…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.