Publish
Overview
Senti allows you to automatically publish your task execution results to different channels, making it easy to share information with your users. Currently, Senti supports publishing to:
X (formerly Twitter)
Telegram
This guide will walk you through the process of setting up and using these publishing features.
Setting Up Publishing Channels
Before you can publish task results, you need to connect your social media accounts in the Profile page.
Adding an X Account
In the "Your X Accounts" section, click "Connect", then complete the authorization process when prompted.
Adding a Telegram Account
In the "Your Telegram Credentials" section, click "Connect", enter the following information:
Bot Access Token
Chat ID
To get a bot access token and chatID, see the Instruction.

Publishing Task Results
Once you've connected your accounts, you can configure tasks to publish their results automatically.
On the Autonomous Tasks page, select the task you want to configure
In the "Edit Task" modal, find the "Publish" section
To publish to X, check the "Publish to X" option, then select which connected X account you want to publish through
To publish to Telegram, check the "Publish to Telegram" option, then select which Telegram destination you want to publish to
Save your changes

Get a Bot Access Token and Chat ID
Create a Telegram Bot and get a Bot Token
Open Telegram application then search for @BotFather
Click Start
Click Menu -> /newbot or type
/newbot
and hit SendFollow the instruction until we get message like so
Done! Congratulations on your new bot. You will find it at t.me/lynn_note_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this. Use this token to access the HTTP API: 63xxxxxx71:AAFoxxxxn0hwA-2TVSxxxNf4c Keep your token secure and store it safely, it can be used by anyone to control your bot. For a description of the Bot API, see this page: https://core.telegram.org/bots/api
So here is our bot access token
63xxxxxx71:AAFoxxxxn0hwA-2TVSxxxNf4c
(make sure we don't share it to anyone).
Get Chat ID for a Private Chat
Search and open our new Telegram bot
Click Start or send a message
Open this URL in a browser
https://api.telegram.org/bot{our_bot_token}/getUpdates
See we need to prefix our token with a word
bot
Eg:
https://api.telegram.org/bot63xxxxxx71:AAFoxxxxn0hwA-2TVSxxxNf4c/getUpdates
We will see a json like so
{ "ok": true, "result": [ { "update_id": 83xxxxx35, "message": { "message_id": 2643, "from": {...}, "chat": { "id": 21xxxxx38, "first_name": "...", "last_name": "...", "username": "@username", "type": "private" }, "date": 1703062972, "text": "/start" } } ] }
The Chat ID is
21xxxxx38
Get Chat ID for a Channel
Invite our Telegram bot to the channel where you want to publish content
Promote the bot to administrator status in the channel settings
This admin access is required for the bot to successfully post content to your channel
Send the following message to the channel:
https://api.telegram.org/bot{our_bot_token}/getUpdates
Click the URL from the channel, we will see a json like
{
"ok": true,
"result": [
{
"update_id": 838xxxx36,
"channel_post": {...},
"chat": {
"id": -1001xxxxxx062,
"title": "....",
"type": "channel"
},
"date": 1703065989,
"text": "https://api.telegram.org/bot{our_bot_token}/getUpdates"
}
}
]
}
The Chat ID is
-1001xxxxxx062
Get Chat ID for a Group Chat
Invite our Telegram bot to the group chat where you want to publish content
Promote the bot to administrator status in the group settings
This admin access is required for the bot to successfully post content to your channel
Send the following message to the group:
https://api.telegram.org/bot{our_bot_token}/getUpdates
Click the URL from the channel, we will see a json like
{
"ok": true,
"result": [
{
"update_id": 838xxxx36,
"message": {...},
"chat": {
"id": -47xxxxxx79,
"title": "....",
"type": "group",
},
"date": 1703065989,
"text": "https://api.telegram.org/bot{our_bot_token}/getUpdates"
}
}
]
}
The Chat ID is
-47xxxxxx79
Last updated