Artisan IMG > Salesforce (salesforce) (dd966f42-81e8-4770-a3d8-d095ca41ab45)

Salesforce Trigger setup

Snippet
Revops
Sales
Beginner

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet
Copy

From version 2.7 and above the Salesforce Trigger will receive trigger events as an 'events' array instead of an object (which could be directly queried).

This means that any attempts to directly query an object with a jsonpath such as $.steps.trigger.Id will fail.

This Snippet provides the best practice setup we recommend when using the Salesforce trigger. Be sure to adapt the record/object type.

This Snippet confirms that each incoming object is processed before continuing with your workflow.

See it in action
Copy