Configuration
id: Unique node identifierfunction_id: ID of deployed function to executesave_response_to: Variable name to store function response (optional)
Function context
Kapso sends this JSON body to your function. Read it withawait request.json():
Function response
Functions can return JSON to update the workflow:How it works
- Invokes function: Calls your deployed function with workflow context
- Processes response: Updates workflow variables from function response
- Continues workflow: Advances to next step via
nextedge - Saves data: Optionally stores full response in specified variable
Usage patterns
Data validation API integration Conditional processingWorkflow library example
Use function slugs in local workflow source.kapso push resolves the slug to the Platform API function_id.

