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:
- Create an instance of the service - go to the Discovery page (https://console.bluemix.net/) in the IBM Cloud Catalog.
- Sign up for a free IBM Cloud account or log in.
- Click Create.
- Copy the credentials to authenticate to your service instance:
- From the IBM Cloud dashboard, click on your Discovery service instance to go to the Discovery service dashboard page.
- On the Manage page, click Show to view your credentials. Copy the username, password, and url values.
Installing the package:
- Download IBM Watson Discovery package (.nupkg) file from Git repository to a local folder.
- 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.
- 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.
- Create a sequence and pick IBM Watson>Watson Discovery activity.
- 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.
- Define output variables, create a variable for raw output and assign it.
- Add log activity to show raw output value.
- 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/