Turn selected Salesforce record changes into analysis
Run a focused calculation when monitored values change on the Salesforce records you care about.
Trigger
Record Updated (Generic SObject)
Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.
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
Useful signals can sit in changing record values until someone manually exports and analyzes them.
- Analyze monitored values as records change
- Keep the calculation focused on selected data
- Surface missing inputs that affect the result
Setup
Build it in a few focused steps.
- 1Connect Salesforce and Codeinterpreter once in the Notis portal.
- 2Create an automation in the portal or tell Notis in plain language.
- 3In one instruction, name the calculation and the values it needs; select the SObject type and returned values when setting up the trigger.
- 4Choose the Record Updated trigger and a channel for run reports.
- 5Test with one real record update and verify the result against its values.
Questions about this workflow
What does the generic record trigger provide?
You specify the SObject type and which field values should be returned. It uses SystemModstamp to detect changes regardless of which field changed.
Can it calculate a metric from data not returned by the trigger?
Only if you supply that data separately. The calculation should identify missing inputs rather than assume values.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Salesforce to Codeinterpreter. A trigger fires from one place; an action lands in another.
Salesforce 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.
Account Created or Updated
Triggers when an Account is created or updated in Salesforce. Uses LastModifiedDate high-watermark to capture both creations and updates.
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
Contact Updated
Triggers when an existing Salesforce Contact record is modified. Emits changed fields alongside relevant timestamps.
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.
Record Updated (Generic SObject)
Triggers when monitored fields change on any Salesforce SObject. You specify the SObject type and which field values should be returned in the payload. The trigger uses SystemModstamp to detect changes regardless of which specific field changed.
Upload File
Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.
New Contact Trigger
Triggers when a new Contact is Created in Salesforce.
New Lead Trigger
Triggers when a new Lead is created in Salesforce.
New or Updated Opportunity
Triggers when a Salesforce Opportunity is created or updated.
Connect any two apps with Notis in the middle.
Salesforce 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.