External trigger

The task "External trigger" needs to be placed at the very beginning of the pipeline if you want to execute it by calling Datamin's API from the outside.

The following cases are the most common for such a situation:

The input dataset that you transfer to the API endpoint will also be available in the task that follows "External trigger":

The following simple pipeline example accepts data from outside and forwards it further as a notification.

Let's send the following JSON as input to the API endpoint that triggers this pipeline:

{
    "info": "some information",
    "customer_id": 1
}

As you can see the input dataset is available in the "Notification task" as a whole under the {{ INPUT() }} function and also every input key-value pair is available separately by its key name.

Last updated