Generate live cricket score commentary using SerpAPI, GPT-4o-mini, and Telegram
Needs changesWhat this workflow does
This AI workflow has 10 nodes and runs on a schedule (every 10 seconds) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Telegram, Gmail and Slack and 1 more.
How it runs
Trigger: On a schedule (every 10 seconds) (plus 1 other trigger).
- Fetch Live Cricket Score (Serp Api): uses Serp Api
- Alert on Workflow Failure (Slack): uses Slack
- Extract Latest Match Data (Function): runs custom JavaScript (legacy Function node)
- Skip If No Match Result (If): checks a condition and branches into true / false
- Generate AI Match Commentary (AI Agent): runs an AI agent, with model: OpenAI GPT-4o-mini Model
- Send Commentary to Telegram (Telegram): uses Telegram
- Email Alert on AI Failure (Gmail): uses Gmail
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Extract Latest Match Data: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Extract Latest Match Data | Code node, mode 'Run Once for All Items' |
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Serp Api
n8n-nodes-serpapi.serpApi - Function
n8n-nodes-base.function - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger - Slack
n8n-nodes-base.slack
From the author
📘 Description This workflow is a real-time AI-powered cricket commentary bot that continuously monitors live match data and converts it into short, expert-style insights. It fetches live cricket scores every few seconds, extracts key match details, generates…