Practical guide

Build a betting bot with AI: 3 easy bots for Telegram, Discord and WhatsApp

The same architecture, three networks. Steps, the prompt to get an AI to write the script for you and the message format of each bot.

To build a betting bot with AI you combine four pieces: a scheduled trigger, a data source, a rule with parameters and a message. The simplest is the Discord one, Telegram comes next and WhatsApp takes the most work. All three send alerts: they do not bet for you.

Vélez Sarsfield players during a match, an example of a match an alert bot can watch
Vélez Sarsfield: an alert bot watches the spreadsheet for you and writes only when your rule is met — Photo: Vincenzo.togni · CC BY-SA 4.0 · Wikimedia Commons
  • All three bots share the architecture: trigger → data → rule or AI → message.
  • Discord is the simplest, Telegram the most complete and WhatsApp the one that asks for the most paperwork.
  • The bot alerts, it does not bet: never give it your bookmaker username or password.

Each bot can be built in one short session. Save this article to your bookmarks: your ticks stay in this browser and you come back to the step where you left off.

Your progress is saved in this browser.

What does a betting bot with AI do, and what does it not do?

An alert bot does only one thing: it writes to you when your rule is met.

It checks a spreadsheet or an odds source every so often.

If it finds what you asked for, it sends a message.

If not, it stays quiet.

The bot does not bet, does not log into your account and does not guarantee anything.

The decision is still yours, with the odds of the moment in front of you.

If you do not use AI to analyze yet, start with how to bet with AI step by step.

And if you want to see free predictions before building anything, they are in the free AI for sports betting.

Three non-negotiable safety rules.

The bot alerts, it does not bet: never give it your bookmaker username or password.

The token and the webhook are secrets: do not share them or upload them anywhere.

Respect the terms of use of each platform and each data source.

How it works inside: the common architecture

The three bots in this article are the same bot with a different output.

Only the last piece changes.

If you understand these four, you can build any of them.

  1. Scheduled trigger: a clock that runs the bot every so many minutes or hours.
  2. Data source: your own spreadsheet or an odds API that allows that use.
  3. Rule or AI model: the condition with parameters that decides whether there is an alert.
  4. Message: the text that goes out to Telegram, Discord or WhatsApp.

The rule can be a simple comparison: “the odds are higher than my minimum odds”.

Or it can add AI: a model that reads the row and writes the alert in plain language.

How to choose each parameter is in build your own betting bot with parameters.

Here we focus on connecting the pieces.

What you build it with: no code or a short script

  • Automation platform (Make, n8n, Zapier): you join blocks with the mouse. They have a schedule block, a spreadsheet block and a send block.
  • Google Apps Script: a short script inside your Google spreadsheet, with a time-based trigger. An AI writes it using the prompts below.
  • Spreadsheet as the source: it is the simplest option to start with. You enter matches and odds, the bot only reads.

The general no-code setup, piece by piece, is in build your own online alert software.

This article gets concrete: three outputs, three recipes.

Comparison table: Telegram, Discord or WhatsApp

BotDifficultyApproximate costBest for
DiscordLowFreeYour first bot and groups with channels
TelegramLow to mediumFreeAlerts on your phone, alone or in a channel
WhatsAppHighPaid provider plan, depending on usageAnyone who already has a business account

The cost in the table is only that of the channel.

The automation platform and the data source have their own plans.

Confirm the current limits in the official documentation of each one.

Bot 1: betting alerts on Telegram

Telegram has an official API for bots, free and well documented.

You need two pieces of data: the bot token and the chat ID.

With those, sending a message is a single call to the sendMessage method.

Prompt
Write me a Google Apps Script for my spreadsheet.
The sheet is called [SHEET NAME] and has these columns: [COLUMNS, FOR EXAMPLE: MATCH, MARKET, ODDS, MINIMUM ODDS, ALERTED].
The script has to go through the rows and, when [RULE, FOR EXAMPLE: ODDS is greater than or equal to MINIMUM ODDS] and ALERTED is empty, send a message through the Telegram Bot API using the sendMessage method.
After sending, it should write “yes” in ALERTED.
The token and the chat ID are read from the script properties, they are not written in the code.
Explain step by step where to paste it, how to set the token and the chat ID, and how to create a time-based trigger every [MINUTES] minutes.
Do not add anything that logs in to a bookmaker or places bets.

Telegram message format

Prompt
🔔 ALERT [NAME OF YOUR RULE]
Match: [HOME] vs [AWAY]
Market: [MARKET]
Odds seen: [ODDS] (minimum: [MINIMUM ODDS])
Data time: [TIME]
This is an alert, not an order. Check the current odds before deciding.

If you want to learn more uses of this channel, see the article on the betting bot on Telegram.

Atlético Peñarol players in a match
Atlético Peñarol: enter in the spreadsheet only matches from leagues you follow; the bot knows no more than your data — Photo: jikatu · CC BY-SA 2.0 · Wikimedia Commons

Bot 2: Discord alerts with a webhook

It is the simplest of the three bots.

A webhook is a private web address that belongs to a channel.

Anything you send to it in the right format appears as a message in that channel.

There is no need to create an application or handle a bot token.

Prompt
Write me a Google Apps Script for my spreadsheet.
The sheet is called [SHEET NAME] and has these columns: [COLUMNS].
When a row meets [RULE] and the ALERTED column is empty, send a POST to the Discord webhook with a JSON that has the content field and the alert text.
After sending, write “yes” in ALERTED.
The webhook URL is read from the script properties, it is not written in the code.
If Discord responds with an error, note it in an ERROR column and continue with the next row.
Explain where to paste the script, how to store the URL and how to create a time-based trigger every [MINUTES] minutes.
Do not add anything that logs in to a bookmaker or places bets.

Discord message format

Prompt
**🔔 ALERT [NAME OF YOUR RULE]**
Match: [HOME] vs [AWAY]
Market: [MARKET] · Odds seen: [ODDS]
Rule met: [RULE IN ONE LINE]
Data time: [TIME]
Informational alert. The decision is yours.

Discord accepts bold with two asterisks, as in the first line.

A message has a maximum length: keep each alert short and without filler.

Bot 3: WhatsApp alerts, the most laborious

Here we have to be honest.

WhatsApp has no equivalent of BotFather or a channel webhook.

To send automatic messages in a permitted way there are two routes.

One is the official WhatsApp Business API, offered by Meta.

The other is the WhatsApp connector of an automation platform or an authorized provider, which uses that same API behind the scenes.

  • You need a business account and a phone number dedicated to the bot.
  • Messages the bot starts usually require templates approved in advance.
  • There may be a cost per message or per conversation, depending on the provider and the country.
  • Unofficial apps that automate WhatsApp can end with the number being blocked.

WhatsApp’s requirements change often.

Before you start, confirm in the official documentation which account you need, which messages require a template and how much it costs in your country.

If you only want alerts for yourself, Telegram or Discord solve the same thing with much less paperwork.

Prompt
I want to send automatic alerts through WhatsApp using [CHOSEN ROUTE: OFFICIAL WHATSAPP BUSINESS API / CONNECTOR OF (PLATFORM)].
My data is in a spreadsheet with these columns: [COLUMNS].
The rule is: [RULE].
Build me the flow step by step: trigger every [MINUTES] minutes, reading the sheet, filtering by the rule, sending the message with the template [TEMPLATE NAME] and the “alerted” mark.
Indicate at each step which piece of data I have to confirm in the official documentation because it may have changed.
If you are not sure about a menu name or a requirement, write “confirm it in the documentation”.
Do not add anything that logs in to a bookmaker or places bets.

WhatsApp message format

Prompt
Alert [NAME OF YOUR RULE]
Match: [HOME] vs [AWAY]
Market: [MARKET]
Odds seen: [ODDS] at [TIME]
Informational alert. Check the current odds before deciding.
Tottenham Hotspur players competing in a Premier League match
Tottenham: whichever network you use, the alert has to state the match, the market, the odds and the data time — Photo: Jim Easton · CC0 · Wikimedia Commons

How to add AI to the bot’s rule

So far the AI wrote the script for you.

It can also work inside the bot.

Automation platforms have blocks to call an AI model between reading and sending.

  • Draft: the AI turns the data row into a short, clear alert.
  • Filter: the AI checks whether the row meets several conditions written in plain language.
  • Summarize: instead of ten separate alerts, one summary per day.
Prompt
I am giving you a row from my spreadsheet: [ROW].
My rules are: [RULES WITH PARAMETERS].
Answer only “ALERT” or “NOTHING” on the first line.
If it is ALERT, add a message of at most [NUMBER] lines with match, market, odds and the rule met.
Do not add data that is not in the row.
Do not recommend how much to bet.

An AI inside the bot uses an API key of its own, which is also secret and may cost money per use.

To give that model stable rules, follow the guide create and train your own AI.

And to understand the whole concept, read what an AI betting bot is.

How to test your bot before trusting it

  1. Enter a test row that meets the rule and confirm that a single alert arrives.
  2. Enter a row that does not meet it and confirm that nothing arrives.
  3. Let it run for a week without betting and write down each alert with its result.
  4. Set a daily cap on alerts: a bot that writes all the time stops being read.
  5. Check that the token, the webhook and the keys are not in any visible cell.

Betting carries the risk of losing money.

An alert gives you the moment, not the result.

Bet only what you can afford to lose.

For adults 18 and over only.

And if you prefer a ready-made bot?

Building a bot teaches you a lot, but it takes time and testing.

If your interest is live corners, Gambeta already has one running.

It sends the alerts to a private Telegram channel and there is nothing to set up.

See Gambeta’s corner bot

With the channel sorted, the next step is fine-tuning the rule.

If you are interested in corners, move on to how to program a live corner bot with AI.

If you have not yet defined market, moment and cap, go back to the template of betting bot parameters.

And to compare your alerts with a long, public record, see the free AI predictions for betting and their full record.

Frequently asked questions

How do I build a betting bot with AI without knowing how to code?

Use an automation platform such as Make, n8n or Zapier, or ask an AI to write you a Google Apps Script.

You define the rule and the message.

The AI and the platform handle the technical part.

Which of the three bots is the easiest?

The Discord one.

You only need the channel’s webhook address and a request with the text.

There is no bot token or chat ID.

Can the bot bet for me?

No, and it is not a good idea to try.

These bots only send alerts.

Never give a bot your bookmaker username or password.

Is it free to build an alert bot?

Telegram bots and Discord webhooks can be created at no cost.

WhatsApp may charge per message depending on the provider.

Automation platforms and odds APIs have free plans with limits: confirm them on each site.

Where does the AI come in on an alert bot?

In three places.

It writes the script for you, helps you define the rule with parameters and can draft the message.

The AI does not replace the data: it works with what you give it.

What happens if someone sees my token or my webhook?

They can send messages in the name of your bot.

Revoke the token in BotFather or delete the webhook in Discord and create a new one.

Do not paste them into chats, screenshots or shared spreadsheets.

🌍 GLOBALFrom any country · Telegram with a translator into your language

📲 The AI's picks, free on your phone

Every new pick arrives the moment it's made, with a link to its analysis. Choose where to get it:

How each one works: Free AI betting channel on Telegram · Free WhatsApp betting tips channel · Betting channel: Telegram or WhatsApp?

–
Next generation
New AI picks
9
Picks today
9
Live
2,005
Total picks
Related topics

🧠 AI reasoning for upcoming matches