Build a Telegram bot with ChatGPT

Tell ChatGPT what your bot should do. It writes the flow into your TeleBotBuilder account, checks it before saving, and you keep editing it in the visual editor whenever you like.

You need a TeleBotBuilder account, which you open by signing in with Google, and a Telegram bot connected to it. No bot yet? Get a token from @BotFather and connect it in TeleBotBuilder first; ChatGPT then works on that bot.

The connector address

https://api.telebotbuilder.com/mcp

Connect ChatGPT

  1. In ChatGPT, open Plugins and choose Add.
  2. Choose Add custom MCP server.
  3. Enter a name (for example TeleBotBuilder) and the connection URL https://api.telebotbuilder.com/mcp.
  4. Accept and connect.
  5. A TeleBotBuilder page opens: sign in with Google if you are not signed in already, then press Allow.

If you do not see Plugins, your ChatGPT account or workspace may not offer custom servers yet.

ChatGPT asks you to confirm before each change the connector makes to your flows. That is expected: changes are marked as such.

What to ask ChatGPT

A FAQ botMake a FAQ bot for @mybakerybot: a /faq command with buttons for opening hours, delivery, custom cakes and allergens, each with a short answer and a Back button.
Friendlier wordsRewrite the texts in my Welcome flow so they sound warmer, and keep every button as it is.
A templateAdd the referral program template to my bot, then tell me what each of its flows does.
A quick checkRead my FAQ flow and list every button with the answer it leads to.
UndoThat last change was wrong. Put the FAQ flow back the way it was before it.

Tip: name the bot when you have more than one, for example "on @mybakerybot".

Example: a FAQ bot in a few messages

You

Which bots do I have?

ChatGPT

You have one bot, @mybakerybot, with one flow called Welcome.

You

Add a FAQ to it: a /faq command with buttons for opening hours, delivery and allergens, each with a short answer.

ChatGPT

I wrote the flow and checked it: no problems found. Shall I save it?

You

Yes.

ChatGPT

Saved as a new flow called FAQ, started by /faq. It is already in your editor.

You

Make the delivery answer say we also deliver on Saturdays.

ChatGPT

Done. A copy of the previous version was saved first, so I can undo this if you want.

An example of how it goes; ChatGPT's exact words vary.

What ChatGPT can see and do

On the sign-in page you choose what ChatGPT may do. With both Read and Write allowed, it can:

What it can never do. It can never delete bots or flows, send messages or broadcasts, see your contacts or their messages, see your bot tokens or touch payments. Keys and passwords inside a flow show as placeholders such as <<YOUR_API_KEY>>, and your real value is kept.

What it builds follows the same limits as the editor. Some blocks need a Pro or trial account.

Disconnect ChatGPT

On the website, open Settings and find Connected AI apps. On a phone and in the Android app it is in Profile. Press Disconnect and confirm: the app loses access at once, and your bots and flows stay as they are.

You can also remove the connector inside ChatGPT. Disconnecting in TeleBotBuilder is what ends its access on our side.

Questions

Why does ChatGPT ask me before every change?

ChatGPT shows each change the connector would make and waits for your confirmation. The connector marks those actions as changes, so this is expected.

What name should I give the server in ChatGPT?

Any name works, for example TeleBotBuilder. The name only labels it in ChatGPT; what connects it is the connection URL, https://api.telebotbuilder.com/mcp.

Can ChatGPT delete my bot or a flow?

No. The connector has no way to delete bots or flows. It can change a flow, and a copy is saved first, so any change can be undone.

More about the connector

How the AI connector works Build a Telegram bot with Claude

TeleBotBuilder is an independent product and is not affiliated with OpenAI or Anthropic.