Skip to content
Notis

Make a chart from figures in WhatsApp

See a pattern in the numbers without pausing to set up a chart by hand.

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

A list of figures in chat can be hard to compare, especially when you need a quick visual before deciding what to do.

  • Create a visual from supplied numeric values
  • Save the chart as a file in the sandbox
  • Review a trend without manually rebuilding the data

Setup

Build it in a few focused steps.

  • 1Connect 2chat and Codeinterpreter once in the Notis portal.
  • 2Create an automation from Automations, New Automation, then set its name and prompt.
  • 3In one instruction, ask Notis to plot the labeled values included in the webhook request and save the chart file in the sandbox.
  • 4Choose the webhook trigger and a channel for run reports.
  • 5Test with one real message containing labeled values and review the generated output.

Questions about this workflow

Where is the chart saved?

The Codeinterpreter action can save files in its sandbox. The prompt should specify a filename and location under /home/user.

Can the chart use values that are not in the request?

No. Include the values and labels you want plotted in the incoming request.

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.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

Get File

Get a file from the sandbox and returns the file. the files should be read from /home/user folder.

ActionInstant

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.

ActionInstant

Upload File

Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.

ActionInstant

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.