Salesforce: Auto-populate fields when adding Leads, Contacts, or Accounts from DataFox

You can auto-populate existing fields in Salesforce when creating Leads, Contacts, and Accounts from DataFox. For instance, if your Salesforce instance requires you to populate fields like Source, Sector, or Tier when creating new records, you can auto-populate these fields by creating a Workflow Rule. 

Account__Twilio___Salesforce_-_Enterprise_Edition.png

The below walkthrough shows you how to auto-populate fields on the Account object. But the same steps can be followed for auto-populating fields on the Contact or Lead object whenever a Contact or Lead is created from DataFox.

Create Workflow Rule 

To create the Workflow Rule, go to Setup >> Workflow Rules >> New Rule:

All_Workflow_Rules___Salesforce_-_Enterprise_Edition.png

Step 1: You'll first need to define to which object the Workflow Rule applies. In this case, we're applying the Workflow Rule to the Account object (note: You can also create similar Workflow Rules for the Lead or Contact object):

Workflow_Rule__New_Workflow_Rule___Salesforce_-_Enterprise_Edition.png

Step 2: Give your rule a Rule Name like Tier is Tier 1. Then, you'll need to determine the Evaluation Criteria. If you want the rule only to apply when a new record is created, you'll want to select created:

New_Workflow_Rule__Account___Salesforce_-_Enterprise_Edition.png

Then, you'll need to determine the Rule Criteria. In this case, you'll want to select Run this rule if the following formula evaluates to true. Then, add the following formula: NOT(ISBLANK(dfox__Id__c))

New_Workflow_Rule__Account___Salesforce_-_Enterprise_Edition.png

This formula defines how the Workflow Rule is triggered. In this case, it's triggered whenever (1) a new Salesforce Account is created AND (2) the dfox__ID__c  is populated (meaning the account record is synced to DataFox). 

Finally, click Save & Next to define the Workflow action. 

Specify Workflow Action

To create a Workflow Action that auto-populates a field, you'll want to select New Field Updates under Immediate Workflow Actions:

Screen_Shot_2017-03-06_at_3_04_04_PM.png

After selecting New Field Update, you'll be taken to a new prompt for naming the field update and selecting which field to update. You can add a Name for the field update, and then select which Field to Update:

Edit_Field_Update__Tier_update___Salesforce_-_Enterprise_Edition.png

After selecting a field, you'll have the option to Specify New Field Value. You'll likely want to select a specific field value. This will define which value auto-populates whenever the Workflow Rule criteria are met: 

Edit_Field_Update__Tier_update___Salesforce_-_Enterprise_Edition.png

Finally, click Save to setup the Workflow Rule and associated Workflow Action. 

Activate Workflow Rule 

After creating the Workflow Rule, you'll need to click on Activate the rule so that it starts running for any new records created from DataFox. 

Workflow_Rule__Tier_is_Tier_1___Salesforce_-_Enterprise_Edition.png

Now that the Workflow Rule has been activated, you'll want to test the Workflow Rule by creating a new record from DataFox to Salesforce. 

Have a question about creating Workflow Rules? Contact support@datafox.com. 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk