+button that appears when you hover over the trigger node. All Templates are also 100% open-source and available on Buildable's Github under the MIT license.
input(the data needed to run the Node) and
runfunction (the Node's executable logic). You can easily access either using the
Codebuttons found on the front of each node.
inputfunction’s sole purpose is to select the data that will be passed into the run function of that node.
$trigger- The flow's request object
$nodes- The outputs of all nodes above itself
runfunction is where you write the processing and logic of your node. Whatever is returned in the
runfunction will be the response of the node.
input- The values passed in from the
runfunction, accessing the values we passed in from the
inputfunction of your nodes will have access to 2 global variables, which are
$nodes. The below section highlights both types.
method- The request method (
headers- The request headers.
env- The environment that you’re testing in.
flowPointer- Your flow’s unique slug.
pN- Params passed in via the URL. Each param will have the property name
pN, where N = the param’s position in the URL.
body- Data passed to the body. This will not be parsed if the request method is