Hi everyone,
In a Digital Bot Flow, I'm using quick replies/buttons (and sometimes free-text). In some cases, customers tap the same button multiple times or the channel delivers duplicate messages (latency/retry), and the bot ends up running the same action twice (e.g., calling a Data Action twice, creating two tickets, sending duplicated confirmations).
What's the best way to implement idempotency / deduplication logic in a DBF?
-
Do you store the last selection + timestamp in Participant Data and ignore repeats within X seconds?
-
Is there a reliable message/turn identifier we can reference in the flow?
-
Any recommended pattern for "lock" behavior (e.g., set processing=true until the action finishes) to prevent double execution?
#Architect------------------------------
Alex Sander Felicio
------------------------------