Calling Automation 360 bots from SnapLogic

To deploy a bot, you first authenticate and get a valid token. With a valid token, you can deploy a bot in Automation 360 from SnapLogic.

Prerequisites

Note: The examples and graphics provided on this page are for representation purposes only and may not accurately reflect your specific instance. We do not assume responsibility for their maintenance or accuracy.

Make sure you have a valid SnapLogic account. If you do not already have a SnapLogic account, you can register for a .

To deploy a bot from SnapLogic, perform the following steps:

Procedure

  1. Log in to your SnapLogic account with the provided credentials, and then select the Manager section.
  2. You can create or modify an existing Pipeline. You obtain the inputs from the Pipeline and use them to feed the Automation 360 bot that you are planning to deploy. For more details, see .
  3. Search for the REST snap, and Mapper. Then, attach them as shown in the image where you can drag and attach the snaps together in the canvas.
    Download the and update it with your Control Room URL, credentials, and other required parameters. You can use it while building your pipeline.
    Automation360 Snaps
  4. Double-click the REST Post snap and enter details to get authenticated to access the Automation 360 Control Room:
    1. Enter a Label in the Label field.
    2. Enter the Control Room URL with the authentication API in the Service URL field.
    3. Enter the body with the username and password in the HTTP Entity field.

      SnapLogic REST Post Snap
  5. Double-click the Mapper snap and enter the details to capture the token from the authentication. Use the mapping table to extract the token and then map it to a variable. For example: $response.entity.token is mapped to $token.

    SnapLogic Mapper
  6. Double-click the REST Post snap and enter the details to deploy a bot:
    1. Enter a Label in the Label field.
    2. Enter the Control Room URL in the Service URL field.
    3. Enter the body with the username and password in the HTTP Entity field.
    4. Pass the token saved in the Mapper snap to the HTTP header.

      SnapLogic Bot Deploy