Trigger flows enable the user to configure complex integrations when triggering a clause in a contract.

After a clause has been added to a contract, a trigger flow can be added by clicking on +Add additional trigger flow:

Select Trigger Type (the only supported type right now is HTTP Trigger)

And name the flow:

Click save:

You can view the flow trigger url and token by viewing the flow after it’s been saved the first time:

Then:

Note that you can press the + label between the Trigger and the Smart Clause to add additional external HTTP(S) calls or data transformations to your flow.

The clause can now be triggered by making the following request to the flow trigger url:

Method: POST
Headers:
    Content-Type: application/json
    Authorization: Bearer FLOW_TOKEN
Url: FLOW_URL

Payload:

{
    request: CLAUSE_TRIGGER_PAYLOAD
}