Start a data analysis from a Telegram request
Ask the question where you are. Get a ready workspace for exploring the data.
Trigger
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Action
Create Sandbox
Create a sandbox to execute python code in a jupyter notebook cell. this is useful for agents to communicate, execute code, see output, read files, write files, etc. it's like you own personal computer, but in the cloud. use /home/user folder to write/read files.
Why this helps
A useful data question can stall when setting up a notebook feels like a separate project.
- Starts a focused Python workspace for a specific question.
- Carries the request into the analysis context.
- Reduces the friction between spotting a question and exploring it.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Codeinterpreter to Notis once in the portal.
- 2Create an automation in the portal or tell Notis in plain language what it should do.
- 3Prompt Notis to create a sandbox when a message requests data analysis and include the question and any file context in its setup notes.
- 4Choose Telegram New Message Received as the trigger and a run-report channel.
- 5Test with a request that names a dataset and one concrete question.
Questions about this workflow
Does the trigger upload a dataset automatically?
No. This workflow creates a sandbox. Use a separate upload step or action when the file needs to be transferred.
Can I ask for a particular analysis?
Yes. State the question and any preferred approach in the Telegram message and prompt.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Codeinterpreter. A trigger fires from one place; an action lands in another.
Telegram triggers
Codeinterpreter actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Sandbox
Create a sandbox to execute python code in a jupyter notebook cell. this is useful for agents to communicate, execute code, see output, read files, write files, etc. it's like you own personal computer, but in the cloud. use /home/user folder to write/read files.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Execute Code
Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Run Terminal Command
Run a command in the terminal and returns the stdout, stderr, and error code. use /home/user folder to write/read files.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Upload File
Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Connect any two apps with Notis in the middle.
Telegram and Codeinterpreter, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Codeinterpreter.