Search

Trigger Tasks or Operations from External Applications

Articles

Jiffy Task or operations can be triggered through an external application provided the application is based on a REST API.

Trigger APIs for General Operations

You can perform general operations such as, adding bot, selecting data from Jiffy Table, etc. using APIs.

  1. Select the API Type from the external application, for example, POST.
  2. Enter the API of the Jiffy Operation to be triggered.
  3. Authorize using either Basic Authorization or Token-based Authorization.
  4. Enter the Request API in the Body field and provide values for the parameters to be passed.
  5. Click the Send button to trigger the operation.

For creating Admin role for the Role Creation app, select POST method and enter the role and identifier in the Body field.

Image description

Trigger Tasks from External Application

For every task, the API URL is available in the Actions tab of the Start node. You can use this to trigger tasks from an external application. You can add the required input parameters in the Start node so that the values can be mapped from the external application.

Image description

In the external application, for example, in Postman application,

  1. Select the POST from the method drop-down.
  2. Enter the API URL of the Jiffy Task to be triggered.
  3. Authorize using either Basic Authorization or Token-based Authorization.
  4. Copy and paste the JSON code generated in the Start Node in the Body field and provide values for the parameters to be passed. Image description
  5. Click the Send button to trigger the task. Image description
  6. Run ID of the task executed is generated, and the execution results of this Run ID can be checked in Task Execution History Screen.

Image description

Did you find what you were looking for?