Start a Python sandbox for a new contact
Give contact-specific analysis a ready workspace without setting up a notebook by hand.
Trigger
Contact Created Trigger
Contact Created Trigger
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
Small analysis tasks can get postponed when opening and preparing a workspace takes more effort than the task.
- Create a cloud sandbox in response to a new contact event.
- Provide a focused workspace for a follow-on analysis instruction.
- Reduce setup overhead for small Python tasks.
Setup
Build it in a few focused steps.
- 1Connect HubSpot and Codeinterpreter once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Tell Notis to create a sandbox for each new contact and state what analysis you intend to run using the available details.
- 4Select Contact Created as the trigger and choose where run reports should go.
- 5Test with one real contact and confirm the sandbox creation report is useful.
Questions about this workflow
Does creating the sandbox run an analysis too?
No. This action creates the sandbox. Use a separate Execute Code action when you want Python code run.
Can the sandbox contain contact data?
Specify only the information needed for your task in the instruction and rely on the data the workflow makes available.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Hubspot to Codeinterpreter. A trigger fires from one place; an action lands in another.
Hubspot 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.
Contact Created Trigger
Contact Created Trigger
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
Deal Stage UpdatedTrigger
Deal Stage UpdatedTrigger
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.
Hubspot 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.