Telegram

Robusta can send playbook results to Telegram conversations.

Note

Tables are sent as file attachments to Telegram sinks because it's too big for most Telegram chat clients.

In addition, 2-way interactivity (CallbackBlock) isn't implemented yet.

Get your Bot token

Follow the instructions here to create a new Bot, and get your Bot token.

Chat id

Before using the sink, you must first start the conversation with your Bot. (Locate your Bot in your Telegram app, and start the conversation)

If you want to send messages to a group, add the created Bot to your group (new or existing) and give the Bot the following group permissions: Send Messages, Send Media, Send Stickers and GIFs

Next, we will need to obtain the chat id. Checkout this post to find out how.

Configuring the Telegram sink

Now we're ready to configure the Telegram sink.

values.yaml

sinks_config:
- telegram_sink:
    name: personal_telegram sink
    bot_token: <YOUR BOT TOKEN>
    chat_id: <CHAT ID>

Note

If you don't want Robusta to send file attachments, set send_files to False under your Telegram sink. (True by default)

You should now get playbooks results in Telegram!