Hi, I am setting up multiple auto flows from n8n, the calls will trigger the flow, however some situations the response result needs to wait. But after sending the command, the command is still there and there is no sign of it being active and waiting for the result, so the user will think that the command has not been sent and they will press send multiple times!
Does anyone have a solution for this situation, thanks everyone!
Hi @Vietcanhvn! Thanks for bringing up this great question. You can create a more intuitive experience by sending an ephemeral message back to the user acknowledging the command was received and is being processed. You can explore using the Mattermost Bot Playbooks or reference the Interactive Message documentation for more details. Let us know if you need further assistance!
To prevent multiple submissions in Mattermost, send an immediate acknowledgment message (e.g., “Command received, processing…”) so users know it’s active. Use a database or cache (e.g., Redis) to track active commands and prevent duplicates. Implement a Wait node in n8n to hold the workflow until the result is ready, or use a polling mechanism/Webhook response to update users once processing is complete. This improves user experience and avoids confusion.