Salesforce Data Source Variables in Nintex Workflow Cloud

  • 29 June 2022
  • 1 reply
  • 102 views

Userlevel 2
Badge +4

In this blog I am going to go through the recently released data source variables for Salesforce.  For information on the data source variables please check our help article Data Source Variables.

 

Salesforce Data Source Variable’s

With a recent update in Nintex Workflow Cloud, we now can pull data from Salesforce Objects into the workflow start form.  For example, in the image below we are loading some data related to the Account and Case Number selected in the form.

 

24097iD9D8EE32AB10B156.jpg

 

Let's take a look at how this was setup, first thing we need to do is setup two data lookups for the Account Name and the Case Number, the Case Number drop down is filtered on the Account selected in the Account Name dropdown.

 

Account Name data source example:

24098i96E0610EE66C8628.jpg

 

We will then filter the Case number data source based on the selection in the account name.

 

24099i057B2C40EF5AF078.jpg

 

Now let's setup the data source variables for the case data we want to pull back and display in the form.  We are going to need two data sources to populate the data due to how the data is structured in Salesforce.

 

The first one will be for the case data, on the external data tab, select the Create data source variable button.

 

24102iAB7568B008BA022D.jpg

 

And if you don’t already have a connection configured to your salesforce environment, click the link to create a data source.

 

24103i61D2FD72BE7BBCAB.jpg

 

If you already have created a data source to your Salesforce environment select it from the dropdown.

 

This is an example of the data source that was created for the case data, make sure to select all the fields you wish to display in the form in the Fields section of the data source.

 

24104iBAB7228468C6F821.jpg

 

This is the data source that was created for the case contact data.

 

24105iE83F1BAE880987E4.jpg

 

Once you have your data sources created you will see them listed in the External Data tab.

 

24106i4098DDE87EA54FCA.jpg

 

For the Case Fields that we want to pull back we need to add a condition when we create the data source variable to pull back the related items based on the case number in the dropdown.

 

24107i6B3D33FF726AC9A5.jpg

 

For the Contact Info data source variable we want to filter on the Contact ID we returned from the case data.

 

24108i5FBD8A7DFBA8B376.jpg

 

Now that we have the two data sources we needed all we need to do is add labels to the form and insert the correct variable we wish to display in that label.  In the External data tab, select your data source and then the first record and then fields to see all the available fields.

 

24109i5FBD575CE4E695C6.jpg

 

When we are complete the form will look something like this.

 

24110i5F38EEAF90AE6303.jpg

 

And that is it we now have a form that will load data from salesforce into based on an account and case number.  This could be used to display opportunity data, case data, etc in the form based on your use case we are able to query all available objects in salesforce.

 

 

 

 


1 reply

Badge

Great! It seems like you have provided a detailed guide on how to do lead data enrichment from Salesforce Objects into a workflow start form using data source variables in Nintex Workflow Cloud. Your explanation is easy to understand and the images included help to clarify the steps involved. It's helpful that you have also mentioned that this feature can be used to display other types of data in the form based on the user's needs. Overall, this is a helpful guide for those who are looking to use Salesforce data in their workflows.

Reply