When you use a
In the SDK, this command is a wrapper for the
execute task in the Flex.io API. When
For example, in this template, when the pipe runs,
function (context) is called, executing
context.output.write('Hello World!'), which writes ‘Hello World!’ to the output. The results are returned to the caller, and echoed to the user interface in a callback function.
You can create your own serverless function simply by setting up and saving a pipe with a
To create an API endpoint that invokes a serverless function, save the pipe with an alias:
Later on, you can run pipe in the following manner:
Execute a serverless function with parameters sent via the API.
Chain together functions to build up processing logic with reusable code building blocks.