Confirmar Sucesso
AI-generatedSummary
Records a successful completion for a previously reserved action by sending its reservation ID, conversation and user IDs, action output, and any produced IDs to Tembory. Stops the workflow with an error if Tembory cannot record the result or refuses to close the reservation.
Inputs
- ID da Conversa (`threadId`) (required) — Stable conversation identifier; use the same value used when reserving the action. Defaults to
temboryGuard.scope.threadId, thenthreadIdorsessionIdfrom the input item. - ID do Usuário (`userId`) (required) — Stable user identifier; use the same value used when reserving the action. Defaults to
temboryGuard.scope.userId, thenuserId,customerId,threadId, orsessionIdfrom the input item. - ID da Reserva (`reservationId`) (required) — Reservation identifier to close, defaulting to
temboryGuard.reservationIdorreservationIdfrom the input item. - Saída da Ação (`actionOutput`) — JSON result of the completed action, defaulting to
actionOutputor the full input item JSON. - IDs Produzidos (`producedIds`) — Optional JSON object of identifiers produced by the action; defaults to
producedIdsfrom the input item or an empty object.
Output shape
One output item per input item, preserving the input JSON and adding temboryGuard with Tembory's response and the threadId and userId scope.
Calls Tembory's action commit endpoint. Throws an item-scoped error if the request fails or the response does not have
ok: true; no output item is returned for that failure.
Examples
Example 1: Confirm a successfully executed action
Provide the reservation ID returned by the reserve step, the same conversation and user IDs, and optionally the action output and produced IDs.