Function → Invoke
AI-generatedSummary
Invoke a specified Elfsquad function by sending a JSON body request to its API endpoint and returning the resulting response.
Inputs
- Function (required) — Select the function from the list of available Elfsquad functions to invoke.
- Body — Provide a JSON-formatted request body to send with the function invocation; defaults to an empty object if omitted.
Output shape
a list of JSON objects containing the response data from the invoked function
Each input item triggers a function invocation; the node outputs one JSON object per invocation. Errors can be handled based on node settings (continue on fail). The response shape depends on the specific function invoked.
Examples
Example 1: Invoke a function named 'myFunctionPath' with an empty request body
Set Function to 'myFunctionPath', and optionally leave Body as {} or empty.