How to set up the UIpath Connector

What it's all About:

The AX NLG Cloud connector is based on the AX REST APIopen in new window and enables you to automate your publishing workflow by uploading your data, automatically generating the content from your NLG Cloud ruleset and exporting the generated content for further processing back into the UIpath environment.

How to use it:

Once downloaded, you can choose AX Semantics from your activities.

cf7d54a582a0a1c3d5944789c4b807babedacfd5

Upload Your Data

The "Add document" option uploads a new dataset to your AX Semantics environment.

  1. Specify which collection you would like to import data into, by adding the collection ID in the respective field.

  2. Add the JSON Data structure you would like to include in the uploaded document. This is the basis of your generated content.

  3. Add the UID (unique ID) and name of the document in case these two fields are not included in your datastructure yet.

  4. Add your refresh tokenopen in new window to authenticate the connection.

The output of this API call will be the AX Semantics "document id", by which you can target this data set in further activities/API calls.

002c95661ff9129627c5bc0ec3db071f32eb2f6d

TIP

Set the collection to autogenerate to automatically generate content each time an import is made. You do that on the AX NLG Cloud platform in the datasources view by editing a collection:

  • The checkbox “autogenerate new documents”, sets the collection to automatically trigger a generation for each newly imported dataset.
  • The checkbox “autogenerate existing documents after changes”, sets the collection to automatically trigger a new generation for datasets where an update in the imported dataset is detected.

Getting the Content

The Get Document option delivers the generated content for one of your uploaded documents.

The generated content will then be accessible in your UIpath environment for further processing.

  1. Add the AX Semantics "document ID" from your import of the document.

  2. Add your refresh tokenopen in new window to authenticate the connection.

The output of this API call will be the generated content, the generated content in HTML format and the content generation status.

c2dedb088436650f1f47b5fcfd343a97e672ab2c_2_517x331