Confirm before it runs
BetaSome things should never happen on a misread message: placing an order, booking, cancelling, charging a card. Mark that operation in your manifest and Tendus holds it until the customer taps Confirm. The agent can’t skip the step, and a customer can’t be tricked into a different action: the buttons run exactly what was held.
Where: the manifest you upload in Agent → Tools & APIs.
Turn it on
Section titled “Turn it on”Add confirmation under an operation that changes something:
- operation_id: createOrder tool_name: shop_create_order description: Place an order for the items the customer chose. side_effect: true idempotency: { style: header, name: Idempotency-Key } confirmation: required: true confirm_label: Place order # optional, up to 20 characters cancel_label: Not now # optional, up to 20 characters expires_in: 15 # optional, minutes the customer has to tap (1 to 1440; default 15)If you leave the labels out, the buttons say Confirm and Cancel.
What happens
Section titled “What happens”- The customer asks for the order. The agent gathers the details and calls the operation.
- Tendus doesn’t send it to your system. It saves the call exactly as the agent made it.
- The agent writes a short summary, and Tendus adds the Confirm and Cancel buttons under it.
- Confirm sends the saved call to your system once. The agent then tells the customer the result. Cancel, or no tap within the time you set, sends nothing.
Tapping Confirm twice, or from an old message, never sends the call twice. If the customer asks for something different, the new request replaces the old one and the old buttons stop working.
Languages
Section titled “Languages”The buttons are in the customer’s language. Tendus translates your labels (or its defaults) the first time a language is needed and remembers the translation.
Channels
Section titled “Channels”| Channel | Buttons |
|---|---|
| Reply buttons under the summary. | |
| Website chat | Buttons in the chat window. |
| Sandbox chat | The same buttons, for whichever channel you are previewing. |
On a channel that can’t show buttons, a held operation is refused rather than run unconfirmed: the agent tells the customer it can’t be done in that chat.
Good to know
Section titled “Good to know”- Only the customer confirms. There is no staff approval step.
- The upload check suggests
confirmationfor any operation withside_effect: truethat doesn’t have it. It’s a suggestion, not an error. - Confirmation is for actions that change something. Asking the customer to confirm a read adds nothing, and the upload check says so.
- If your system fails after the customer taps Confirm, the agent says it wasn’t done and offers to start again. The same tap is never retried.