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.
- Select the API Type from the external application, for example, POST.
- Enter the API of the Jiffy Operation to be triggered.
- Authorize using either Basic Authorization or Token-based Authorization.
- Enter the Request API in the Body field and provide values for the parameters to be passed.
- 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.
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.
In the external application, for example, in Postman application,
- Select the POST from the method drop-down.
- Enter the API URL of the Jiffy Task to be triggered.
- Authorize using either Basic Authorization or Token-based Authorization.
- Copy and paste the JSON code generated in the Start Node in the Body field and provide values for the parameters to be passed.
- Click the Send button to trigger the task.
- Run ID of the task executed is generated, and the execution results of this Run ID can be checked in Task Execution History Screen.