Ecommerce order confirmation
Use Unified Messaging with fallback.Booking request
Use Automation Flow first, then Unified API when the booking is confirmed.Login OTP
Use Unified OTP with fallback.pinId on your backend and submit it with the user-entered code to /api/omni/otp/verify.
Urgent OTP to both WhatsApp and SMS
UsedeliveryMode: "all".
Human support fallback
When an automated flow cannot solve a request:- Send a short handoff message.
- Disable automation for the conversation.
- Create an agent task.
- Let the user continue with a human.
Reliable retry handling
Treat the HTTP response before deciding whether to retry:- Retry connection failures and
5xxresponses with exponential backoff. - Do not retry a successful response with a message ID.
- Fix
4xxvalidation, authentication, sender, or balance errors before retrying. - Store the returned KarFlows reference with your order or booking.
