This lesson will cover the following topics:

04 | Validate

01 Getting Started

This tutorial covers optimization and validation when working with Salesforce data.

02 Combining Nodes

You can combine multiple Salesforce Actions nodes into one Integration Action on an Action Flow. This ensures that all the nodes will run in a single Salesforce Action instead of separate actions that can slow down your projects.

1. Use the dropdown to select all the nodes that will be combined. 

2. Expand the Integration Options menu and enable Custom Order of Execution.

3. Using the Order fields, you can determine the execution order for each action.

Edit node window showing the custom order of execution setup

03 Parallel Load

If your actions are not dependent on one another, you can enable Parallel load which will ensure all your actions are executed side by side to one another. This will also optimize your project’s performance.

edit node window with parallel load highlighted

04 Validate

It is best practice to validate your fields before triggering the Salesforce actions. This is an important step especially if your actions are dependent on one another - for example, a contact will not be created if the Last Name is missing.\

To do this, we suggest inserting a Validate Fields node before your Salesforce actions.

Add node window with validate Fields highlighted

Once you have configured your Validate Fields node, link the Salesforce Actions to the On Valid node, so it will be triggered only if the fields are valid.

On finish action window

05 Ignore Validation

You can choose to ignore validation, this means that mandatory fields’ validation will be ignored upon running the Salesforce Get action.

Edit node screen with Ignore Validation highlighted

06 Got Feedback?

Additional Resources