![]() |
VOOZH | about |
UiPath is a Robotic Process Automation (RPA) platform with rich features and an easy-to-use UI that enables non-developers to create process automation. By using UiPath Studio, you can build an RPA program just like drawing a diagram. With the CData ODBC Driver for Salesforce, users can embed Salesforce data in the workflow.
This article explains how to use the Salesforce ODBC Driver in UiPath Studio to create an RPA program that accesses Salesforce data.
π Using the CData ODBC Data Sources in UiPathAccessing and integrating live data from Salesforce has never been easier with CData. Customers rely on CData connectivity to:
Users frequently integrate Salesforce data with:
For more information on how CData solutions work with Salesforce, check out our Salesforce integration page.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
There are several authentication methods available for connecting to Salesforce: OAuth, Login (or basic), and SSO. The Login method requires you to have the username, password, and security token of the user.
The default authentication mechanism (and the one preferred by Salesforce) is OAuth. To use OAuth with CData's embedded OAuth application, leave the connection properties blank. If you have configured your own custom OAuth application with Salesforce (see the Help documentation for more information), set OAuthClientId, OAuthClientSecret, and CallbackURL to the properties for you application. Set InitiateOAuth to the desired OAuth flow ("GETANDREFRESH" will have the connector manage the entire OAuth flow).
If you do not wish do not wish to use OAuth authentication, you can use Login (or basic) authentication. Set AuthScheme to Basic, and set the User, Password, and SecurityToken properties. You can configure your security token in Salesforce.
SSO (single sign-on) can be used by setting the SSOProperties, SSOLoginUrl, and SSOExchangeURL connection properties, which allow you to authenticate to an identity provider. See the "Getting Started" chapter in the Help documentation for more information.
If your Salesforce org has MFA enforcement enabled, set MFACode to the time-based one-time passcode (TOTP) generated by your authenticator app (such as Salesforce Authenticator or Google Authenticator). MFACode applies to both OAuth and Login authentication flows.
Now you are ready to use Salesforce data ODBC DSN in UiPath Studio with the following steps.
With the connection configured, we are ready to query Salesforce data in our RPA.
With the Connection and Execute Query activities configured, we are ready to add a Write CSV activity to the Flowchart to replicate the Salesforce data.
If they are not already connected, connect each Activity that you created to complete the RPA project for extracting Salesforce data and exporting it to CSV.
π Connect each Activity in the FlowchartClick Run to extract Salesforce data and create a CSV file.
π Running the RPA FlowchartIn this article, we used the CData ODBC Driver for Salesforce to create an automation flow that accesses Salesforce data in UiPath Studio. Download a free, 30-day trial of the ODBC Driver and start working with live Salesforce data in UiPath Studio today!
Download a free trial of the Salesforce ODBC Driver to get started:
Download NowLearn more:
π Salesforce IconThe Salesforce ODBC Driver is a powerful tool that allows you to connect with live Salesforce account data, directly from any applications that support ODBC connectivity.
Access Salesforce data like you would a database - read, write, and update Leads, Contacts, Opportunities, Accounts, etc. through a standard ODBC Driver interface.