Every Smart Clause acts as a function and exposes itself as an authenticated REST API that accepts and produces JSON formatted data, making it is easy to call Smart Clauses from a variety of programming language and frameworks.
An HTTP Trigger Flow for a Smart Clause exposes the Smart Clause as a web service, and gives you control over the data that can be passed to the Smart Clause, as you can use JSON transformation to transform the incoming POST request, or call out to external web services to enrich the incoming data.
To create an HTTP Trigger Flow create a new Trigger Flow and add an HTTP Trigger. After the flow has been saved the web service URL and bearer token are displayed.
Updated 8 months ago