![]() |
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 API Driver for ODBC, users can embed Harvest data in the workflow.
This article explains how to use the Harvest ODBC Driver in UiPath Studio to create an RPA program that accesses Harvest data.
๐ Using the CData ODBC Data Sources in UiPathIf 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.
Start by setting the Profile connection property to the location of the Harvest Profile on disk (e.g. C:\profiles\Harvest.apip). Next, set the ProfileSettings connection property to the connection string for Harvest (see below).
To authenticate to Harvest, you can use either Token authentication or the OAuth standard. Use Basic authentication to connect to your own data. Use OAuth to allow other users to connect to their data.
Using Token Authentication
To use Token Authentication, set the APIKey to your Harvest Personal Access Token in the ProfileSettings connection property. In addition to APIKey, set your AccountId in ProfileSettings to connect.
Using OAuth Authentication
First, register an OAuth2 application with Harvest. The application can be created from the "Developers" section of Harvest ID.
After setting the following connection properties, you are ready to connect:
Now you are ready to use Harvest data ODBC DSN in UiPath Studio with the following steps.
With the connection configured, we are ready to query Harvest 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 Harvest data.
If they are not already connected, connect each Activity that you created to complete the RPA project for extracting Harvest data and exporting it to CSV.
๐ Connect each Activity in the FlowchartClick Run to extract Harvest data and create a CSV file.
๐ Running the RPA FlowchartIn this article, we used the CData API Driver for ODBC to create an automation flow that accesses Harvest data in UiPath Studio. Download a free, 30-day trial of the ODBC Driver and start working with live Harvest data in UiPath Studio today!
Connect to live data from Harvest with the API Driver
Connect to Harvest