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
- In ChatGPT, open Plugins and choose Add.
- Choose Add custom MCP server.
- Enter a name (for example TeleBotBuilder) and the connection URL
https://api.telebotbuilder.com/mcp. - Accept and connect.
- 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
Tip: name the bot when you have more than one, for example "on @mybakerybot".
Example: a FAQ bot in a few messages
Which bots do I have?
You have one bot, @mybakerybot, with one flow called Welcome.
Add a FAQ to it: a /faq command with buttons for opening hours, delivery and allergens, each with a short answer.
I wrote the flow and checked it: no problems found. Shall I save it?
Yes.
Saved as a new flow called FAQ, started by /faq. It is already in your editor.
Make the delivery answer say we also deliver on Saturdays.
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:
- List your bots and their flows.
- Read a flow, in the same blueprint format it writes.
- Create a flow or change one, after a check that lists every problem before anything is saved.
- Undo a change by bringing back the copy saved before it.
- Add a ready-made template to a bot.
- Show simple counts, such as how many contacts a bot has.
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
TeleBotBuilder is an independent product and is not affiliated with OpenAI or Anthropic.