Automation Anywhere
Last updated
Last updated
aito.ai works great with several workflow automation platforms, including . Read the tips to get things going with Automation Anywhere!
We recommend creating the data schema in aito.ai Console or with CLI first, as this way you can ensure everything is set up properly to receive your data.
Data can be added to aito.ai by using Automation Anywhere's REST Web Services POST method action. Note! If you are working with bigger datasets, you should explore batch transfer options.
Check the below screenshots for guidance on how to set up the connection. Here are the steps.
To the URI, you should input your aito.ai instance URL and the endpoint you want to use, for data upload it's /api/v1/data/{your-table-name}
.
Add a custom header called x-api-key
, this header describes the API key of your instance. For extra security you can add the API key to Automation Anywhere's Credentials vault.
For the custom parameters, select Content type as JSON and in the Enter the parameters section, define the data you want to add to aito.ai. Variables can be accessed with $$ and don't forget to put string variables into quotations marks.
Create an output variable for the result, so you can acces the result later in your flow. The result should be the same as you used as input.
Similarly to data upload, aito.ai predictions can also be managed by the REST Web Services POST method action.
In the example flow, we download a file from an URL, read the file and iterate through it to predict a suitable category for each of the inputs and store the results in to a file.
Let's go over the details how to setup the REST Web Service in order to make predictions using aito.ai.
To the URI, you should input your aito.ai instance URL and the endpoint you want to use, for predictions it's /api/v1/_predict
.
For the custom parameters, select Content type as JSON and in the Enter the parameters section, define the API query you want to make. Variables can be accessed with $$ and don't forget to put string variables into quotations marks. The data you're using as input should match the schema you have created to your aito.ai instance.
Create an output variable for the result, so you can acces the result later in your flow. aito.ai returns JSON responses.
Add a custom header called x-api-key
, this header describes the API key of your instance. For extra security you can add the API key to Automation Anywhere's Credentials vault.
The result JSON can be parsed by using the String: Extract text activity or by using a readily made