Hello, We are RPA developers from the Netherlands, Erik van Gemert and Anatoly Chernenko. We created a custom connector to IBM Watson Discovery Service for UiPath RPA

What is IBM Watson Discovery?

IBM Watson Discovery makes possible to rapidly build cognitive, cloud-based exploration applications that unlock insights hidden in unstructured data, including your own proprietary data, as well as public and third-party data. For complete reference follow the link https://console.bluemix.net/docs/services/discovery/index.html#about

How it is meant to function: The connector is aiming at query part of the service. With a few simple steps you can pass a value to the service and get response in JSON or text format. Available output include Categories, Concepts, Entities, Keywords and Sentiments. For example, you can set Input>Query to "Amsterdam" and get back JSON output from IBM Watson online service with relevant information.

How it may be applied to other use cases: You can use the service for variety of purposes. For example, you can build a bot to get sentiment values from the service and based on the larger value send emails to appropriate business function.

How to use connector: Before you begin:

  1. Create an instance of the service - go to the Discovery page (https://console.bluemix.net/) in the IBM Cloud Catalog.
  2. Sign up for a free IBM Cloud account or log in.
  3. Click Create.
  4. Copy the credentials to authenticate to your service instance:
  5. From the IBM Cloud dashboard, click on your Discovery service instance to go to the Discovery service dashboard page.
  6. On the Manage page, click Show to view your credentials. Copy the username, password, and url values.

Installing the package:

  1. Download IBM Watson Discovery package (.nupkg) file from Git repository to a local folder.
  2. In UiPath Studio go to Manage Packages, right click on packages and select Configure Sources. You should be able to add your local folder as a custom source. Give your source a name.
  3. Click Available, you will see your custom source next to Local, Gallery and Community. Now click on your source and select IBM Watson Discovery. Click Install. Once you complete all steps you should be able to see IBM Watson in activities pane. Now it is ready to use.

Using activity:

  1. Create a sequence and pick IBM Watson>Watson Discovery activity.
  2. Define properties to run the activity. Use login and password you created in before you begin section. Type "Amsterdam" as Query property. This should be enough to run the activity as the rest of the input values should be assigned default values.
  3. Define output variables, create a variable for raw output and assign it.
  4. Add log activity to show raw output value.
  5. Run the sequence, you should be able to see json contents for Amsterdam query in output pane.

To verify outcome, you can use IBM Watson Discovery Service online https://discovery-news-demo.ng.bluemix.net/

Built With

+ 2 more
Share this project: