Decide on Approval
AI-generatedSummary
Approve or deny a pending TrustLoop tool call by posting the selected decision for its approval ID. The request uses the configured TrustLoop API credentials and returns the parsed API response for each input item.
Inputs
- Approval ID (required) — ID of the pending approval to decide.
- Decision (required) — Choose Approve (
approved, the default) or Deny (denied).
Output shape
A list of items, each containing the parsed API response in json.
The node sends a POST request to the approval’s decide endpoint. If the request fails, it throws unless Continue On Fail is enabled, in which case it returns an item with an
errorfield.