AITEZA Workflow Result icon

AITEZA Workflow Result

Sends the final workflow result back to Aiteza. Use this node instead of "Respond to Webhook" when your workflow is triggered by an Aiteza Trigger node.

AITEZA Workflow Result

AI-generated

Summary

Sends each input item’s result to Aiteza by POSTing a payload with a status and data, plus an optional message. Uses callback details from an upstream Aiteza Trigger unless overridden; can be configured to stop the workflow when the callback is missing or fails.

Inputs

  • Result Data — JSON or an expression for the data to send. If empty, sends a copy of the entire input item’s JSON. A string value must contain valid JSON when the node is set to fail on errors.
  • Status — Status to report: Success or Error. Defaults to Success.
  • Message — Optional human-readable message included in the callback payload.
  • Callback Token Override — Optional token override; otherwise uses the callback token from the Aiteza Trigger. Sent in the X-Callback-Token header when present.
  • Callback URL Override — Optional callback URL override; otherwise uses the URL from the Aiteza Trigger. Trailing slashes are removed.
  • Execution ID Override — Optional execution ID override; otherwise uses the ID from the Aiteza Trigger.
  • Fail Workflow on Callback Failure — Defaults to true. When enabled, a missing callback URL or execution ID, invalid JSON result string, or failed callback request stops the workflow. When disabled, callback problems are recorded in the output item.
  • Timeout (ms) — Maximum time to wait for the callback request; defaults to 10,000 ms.

Output shape

One output item per input item, preserving its JSON and adding a _workflowResult field.

The callback payload contains status and data, with message included only when provided. _workflowResult records whether the callback was sent, the callback URL, execution ID, and payload; skipped callbacks include a reason, and failed requests include an error. The callback is POSTed to the Aiteza workflow result endpoint. If callback failure handling is enabled, errors stop execution instead of returning the affected item.

Links

Discussion