How to create your first Balsio bot 🤖

A bot is a member of your Balsio chats that runs on its own. It can send you a morning summary, post new requests from your website, or make a ticket when your team asks it to.

You can write the code yourself, or ask the AI tool you already use, like ChatGPT, Claude or Grok Build, to write it with you. This guide shows what you can build, then how to create your first bot in five steps.

A bot is a member of your Balsio chats that runs on its own. It can send you a morning summary, post new requests from your website, or make a ticket when your team asks it to.

You can write the code yourself, or ask the AI tool you already use, like ChatGPT, Claude or Grok Build, to write it with you. This guide shows what you can build, then how to create your first bot in five steps.

A bot is a member of your Balsio chats that runs on its own. It can send you a morning summary, post new requests from your website, or make a ticket when your team asks it to.

You can write the code yourself, or ask the AI tool you already use, like ChatGPT, Claude or Grok Build, to write it with you. This guide shows what you can build, then how to create your first bot in five steps.

A bot is a member of your Balsio chats that runs on its own. It can send you a morning summary, post new requests from your website, or make a ticket when your team asks it to.

You can write the code yourself, or ask the AI tool you already use, like ChatGPT, Claude or Grok Build, to write it with you. This guide shows what you can build, then how to create your first bot in five steps.

Three ways to connect

Everything starts on the Integrations page in Balsio on the web. It has three sections, one for each way to connect. In each one, people see a different sender on your messages: the bot itself, or you.


Who people see
Good for

Bot

The bot, with its own name, picture and a Bot badge

Messages the whole chat should see as coming from a program: news, answers, translations

Personal token

You

A script only you use, such as one that sends your weekly update or starts a chat with each new customer

Connected app

You

The AI you already use, such as Claude or ChatGPT. You sign in, with no token and no code, and ask “What did I miss in the product chat this week?”

A bot and a personal token are set up the same way. In both cases, you get a token from Balsio, which works like a password, and you need a small program that uses it to send messages. Your AI tool can write that program for you.

This post shows you how to make a bot. If you'd rather have the program send messages as you, choose a personal token instead and follow the same steps, but skip Step 3. You don't need to add yourself to a chat, because you're already in your chats.

What a bot is

A bot is a member of a chat that a program controls. It reads and writes only in the chats it is in. It can send, edit and delete its own messages, reply, start a thread under a message, add reactions, mention people, send files up to 10 MB and start new chats. It cannot show buttons.

Your bot is yours. Nobody finds it in a list, but anyone who has its email address can add it to a chat.

A bot is a program, so it has to run somewhere: it can either run on your computer, on a service like GitHub Actions or on a different third party service.

How to create a bot

You create a bot in Balsio on the web, at balsio.com/app, with your usual account. The bot then works in every Balsio app. To write the program, use an AI tool that can create and run files on your computer, such as Claude Code, Grok Build or Codex, or write it yourself.

The Balsio API is free to use. Only the place where your bot runs may cost something.

If you can’t run programs on your computer, for example on a work laptop, ask your AI tool to set the bot up in a cloud service from the start.

The quick way: paste this into your AI tool, and it walks you through every step.

Read this page and help me create my first Balsio bot: https://www.balsio.com/blog/how-to-create-your-first-balsio-bot First, ask me what I want the bot to do and help me shape the idea. Then walk me through the steps on the page, and explain my options for where the bot can run and what each one costs. Never ask me to paste the bot’s token into this chat.

Read this page and help me create my first Balsio bot: https://www.balsio.com/blog/how-to-create-your-first-balsio-bot First, ask me what I want the bot to do and help me shape the idea. Then walk me through the steps on the page, and explain my options for where the bot can run and what each one costs. Never ask me to paste the bot’s token into this chat.

Read this page and help me create my first Balsio bot: https://www.balsio.com/blog/how-to-create-your-first-balsio-bot First, ask me what I want the bot to do and help me shape the idea. Then walk me through the steps on the page, and explain my options for where the bot can run and what each one costs. Never ask me to paste the bot’s token into this chat.

Read this page and help me create my first Balsio bot: https://www.balsio.com/blog/how-to-create-your-first-balsio-bot First, ask me what I want the bot to do and help me shape the idea. Then walk me through the steps on the page, and explain my options for where the bot can run and what each one costs. Never ask me to paste the bot’s token into this chat.

Or go through it step by step:

Step 1: create the bot

  1. In the web app, open the account menu and choose Integrations.

  2. Under Bots, choose + New bot.

  3. Give the bot a name. A picture and a short description are optional.

  4. Choose Create Integration.

The Integrations page in Balsio, with the New bot button in the Bots sectionThe new bot form in Balsio, with the name Standup Bot and the bot's email address shown under it

Step 2: copy the token

Balsio now shows the bot’s token. It starts with sk_ and it is the bot’s password: a program that has the token can write as the bot.

The Integration created screen in Balsio, with the Copy button next to the bot's token
  • Balsio shows the token only once. Copy it and keep it somewhere safe, such as a password manager.

  • Never paste the token into a chat, an email or your AI tool’s chat.

  • If you lose the token, choose Revoke on the bot and create a new bot.

Step 3: add the bot to a chat

You add a bot to a chat the same way you add a person: by its email address. Copy the address from the Integrations page, then start a new chat with the bot or add it to a chat you already have. For your first try, make a chat with only you and the bot.

The address is your own work email with a tag made from the bot’s name. If Elise at elise@northwind.io creates Standup Bot, the bot gets an address like elise+standup-bot-3fa2@northwind.io. Nobody sends email to it.

Step 4: build the bot with your AI tool

Start with a first message. It shows that the token and the chat work before you build anything else.

I created a Balsio bot and added it to a chat. In a new folder, build a small program that sends “Hello from my bot” to that chat. Read the Balsio API docs at https://docs.balsio.com/llms.txt first. Create a file named .env for the bot’s token and tell me where to paste the token. Never ask me to paste the token here. List the chats the bot is in and let me choose one. Tell me what to install first, and show me every command to type and where to type it.

I created a Balsio bot and added it to a chat. In a new folder, build a small program that sends “Hello from my bot” to that chat. Read the Balsio API docs at https://docs.balsio.com/llms.txt first. Create a file named .env for the bot’s token and tell me where to paste the token. Never ask me to paste the token here. List the chats the bot is in and let me choose one. Tell me what to install first, and show me every command to type and where to type it.

I created a Balsio bot and added it to a chat. In a new folder, build a small program that sends “Hello from my bot” to that chat. Read the Balsio API docs at https://docs.balsio.com/llms.txt first. Create a file named .env for the bot’s token and tell me where to paste the token. Never ask me to paste the token here. List the chats the bot is in and let me choose one. Tell me what to install first, and show me every command to type and where to type it.

I created a Balsio bot and added it to a chat. In a new folder, build a small program that sends “Hello from my bot” to that chat. Read the Balsio API docs at https://docs.balsio.com/llms.txt first. Create a file named .env for the bot’s token and tell me where to paste the token. Never ask me to paste the token here. List the chats the bot is in and let me choose one. Tell me what to install first, and show me every command to type and where to type it.

The token goes into the .env file the AI tool creates, not into the chat with the AI tool.

Then build your idea

Here are a few ideas to start from. Your bot can do anything you’d normally do by hand in a chat.

Example
What the bot does
What it needs

Daily brief

Sends you your meetings for the day every morning

Access to your calendar, and a job that runs each morning

Ticket bot

Makes a ticket when your team mentions it in a thread

Your ticket tool’s API, and a place to run all day

Standup question

Asks “What are you working on today?” in the team chat every weekday

A job that runs each morning

Website form

Posts new contact form answers in your sales chat

A public web address your website’s form can send to

Answers from documents

Answers questions from your own documents when someone mentions it

An AI service of its own, which has its own cost

Describe your idea to your AI tool in your own words, the way these rows do.

If your bot should answer people in the chat

Now make the bot listen. When someone mentions the bot in that chat, the bot replies to that message with “I am here”. Use the events WebSocket, so the bot works from my computer. Tell me how to start the bot and how to stop it. Only answer in the chat I chose. Tell me if you had to guess anything the docs don’t say.

Now make the bot listen. When someone mentions the bot in that chat, the bot replies to that message with “I am here”. Use the events WebSocket, so the bot works from my computer. Tell me how to start the bot and how to stop it. Only answer in the chat I chose. Tell me if you had to guess anything the docs don’t say.

Now make the bot listen. When someone mentions the bot in that chat, the bot replies to that message with “I am here”. Use the events WebSocket, so the bot works from my computer. Tell me how to start the bot and how to stop it. Only answer in the chat I chose. Tell me if you had to guess anything the docs don’t say.

Now make the bot listen. When someone mentions the bot in that chat, the bot replies to that message with “I am here”. Use the events WebSocket, so the bot works from my computer. Tell me how to start the bot and how to stop it. Only answer in the chat I chose. Tell me if you had to guess anything the docs don’t say.

To test it, type @ in the chat and choose the bot from the list.

Step 5: keep the bot running

On your computer, the bot stops when you close the program or the computer. When the bot should work all day, ask your AI tool:

Move this bot to a place where it keeps running when my computer is off. Show me the options, what each one costs, and set up the one I choose with me.

Move this bot to a place where it keeps running when my computer is off. Show me the options, what each one costs, and set up the one I choose with me.

Move this bot to a place where it keeps running when my computer is off. Show me the options, what each one costs, and set up the one I choose with me.

Move this bot to a place where it keeps running when my computer is off. Show me the options, what each one costs, and set up the one I choose with me.

Run only one copy of a bot. Two copies would both answer every message.

The technical details

You do not need this part for your first bot. It is here for situations when you, or your AI tool, want the exact facts.

  • Docs: docs.balsio.com, and a short version for AI tools at docs.balsio.com/llms.txt. A field that is not in the API reference does not exist.

  • Requests: the API is at https://balsio.com/api/v1. Every request sends Authorization: Bearer with the token, and X-Minor-Version with the current version from the docs.

  • Receiving messages: the events WebSocket at wss://balsio.com/api/v1/events/socket works from any computer. It needs a ping every 30 seconds and can continue from the last event after a restart. Webhooks need a public https address, which you set on the bot. Details: docs.balsio.com/events-socket.html.

  • The token lives in the .env file, which stays out of git. It is never printed.

  • No double answers: a bot ignores its own messages and sends each reply with an idempotency key.

  • Connected apps: the setup guide for Claude and ChatGPT is at docs.balsio.com/mcp.html.

Get help, and show us what you build

Give the message you see to your AI tool first. Most problems are a missing token, or a bot that is not in the chat yet. Still stuck, or built something you want to show us? Write to hello@balsio.com.

Follow product updates

Hear about new features first in our Product updates chat.

Join the chat

Follow product updates

Hear about new features first in our Product updates chat.

Join the chat

Follow product updates

Hear about new features first in our Product updates chat.

Join the chat

Follow product updates

Hear about new features first in our Product updates chat.

Join the chat

We’re looking forward to seeing what you build.

Ready to try Balsio?