Return value
Inside a function workflow, defines what to hand back to the caller when reached. Ends the function workflow's execution.
Outside a function workflow, this node has no effect — it just passes the payload through.
Inputs
| Field | Type | Description |
|---|---|---|
payload | any | The value to return |
Outputs
No output handles — reaching this node terminates the workflow.
Example function workflow
trigger: workflow.manual (callable: true)
then: ai.openai.chat ("Score this lead: {{trigger.arguments.lead_json}}")
then: data.regex_extract (extract the score from the AI response)
then: return_value (payload: { score: {{regex_1.score}}, label: ... })
And the calling workflow:
trigger: fluent_forms.submission
then: call_function (workflow: "score-lead", arguments: { lead_json: {{trigger.fields}} })
then: crm.upsert_contact (score: {{call_function_1.return.score}})