Calculate a draft estimate from WhatsApp
Get a first-pass calculation from the details already in the chat, with assumptions made visible.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
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.
Why this helps
Recomputing the same quote math by hand slows down replies and makes small arithmetic errors easier to miss.
- Calculate totals from supplied quantities and rates
- Make missing pricing inputs visible
- Get a draft figure ready for human review
Setup
Build it in a few focused steps.
- 1Connect 2chat and Codeinterpreter once in the Notis portal.
- 2Create an automation in Automations, New Automation, and provide a name and prompt.
- 3Ask Notis to calculate a draft estimate from quantities and rates present in the incoming webhook request, listing assumptions and missing values.
- 4Choose the webhook trigger and where run reports should go.
- 5Test with one real quote request and verify the result against your own calculation.
Questions about this workflow
Does this know my prices or tax rules?
Only if you include those rates and rules in the incoming request or automation instruction. Otherwise, the report should identify them as missing.
Can it send a binding quote to the customer?
This action runs Python and returns a result. Treat the calculation as a draft for review.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link 2chat to Codeinterpreter. A trigger fires from one place; an action lands in another.
2chat 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.
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
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.
Upload File
Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.
Connect any two apps with Notis in the middle.
2chat 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.