This guide documents an example of a custom integration where a Workato recipe is used to automate the 4 API calls.
The example uses two recipes:
- One recipe to receive an array of users, and 2 arrays of license assignments then transform the data to Torii's JSON structure.
- One recipe that us used as callable function that can be called by any custom integration you build to automate the 4 API calls that upload the data to Torii and sync it into the console.
The recipe can be trigged using the Postman collection accessible from button below once imported and configured for your workspace using the steps below.
- Copy the URL for the Workato webhook address from the recipe's trigger.
- Paste the Workato webhook address into Postman just before the query string parameters.
Make sure the query string parameters in the request are not overwritten by pasting in the URL.
- Set a value the workatoIntegrationFilename variable.
- Add a Custom Integration from the Integrations view.
- Copy the App account ID value after adding the integration using the link the appears.
- Set the workatoIntegrationAppAccountId variable value by pasting in the data from the previous step.
- Start or Test the recipe in Workato.
- Send a request to the web hook from Postman.
- Confirm receipt of ok status in body of response along with HTTP 200 status code.
- Click the Close button in the Integration Added dialog in your Torii console.
- Confirm the integration has synced.
- View the processed license information in the Licenses view of your Torii console.
A downloadable Workato manifest file can be found here. This contains the assets shown in the screenshot below that can be imported into your environment.
The only configuration required for your environment is setting up the Torii HQ connection for your API key.
Updated about 2 months ago