-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification banner that new reply came in #1748
Comments
Hi @nicholsk18! Prior to automations in 10.x, there was a concept of "proactive bot behaviors" where a bot could notify a worker about something without them having to initiate. It was similar to notifications but with interactions. There currently isn't a way to proactively start an automation interaction, but it's something we're implementing. What you're saying makes perfect sense. Even though a validator can check for a duplication of effort before or after composing a message, nothing catches duplicated effort during a reply. My ideal solution here would be proactive interactions for automations, so the capability could be used in many different scenarios (including this one). An automation on the Websockets would be the most efficient way to check for proactive interactions. That could also fall-back to just polling the server every 30 seconds or so (like auto-saving drafts). Related to #482 |
Hmm... Just some thoughts without further tests: check before sending the draft, if a newer incoming action was recorded.
How: use an automation for the event mail.draft.validate, which reads the draft. In the automation, read the drafts ticket record too. Now compare the 'create timestamp' of the draft (@jstanden, would it make sense to add this field for such a scenario? Or even the idea itself? ) against 'latest_incoming_activity' of the ticket to knew if something happened after starting the draft.
I know, this isn't exactly what was asked for, but could work as a workaround meanwhile
|
Thanks for the suggestion! So anything with drafts won't work for our specific issue. In our case, we talking about customers submitting tickets. In our case, they don't use Cerb directly so no drafts will ever be saved on their behalf. What our staff wants is, while they are replying to a ticket, if a reply from a customer comes in, to show a banner or something informing them of this. Since notifications don't show up when new actions happen before a refresh, and widgets don't auto refresh I assumed a bit that this is not possible yet in cerb. But if there is a way to refresh all of those without a staff taking any action do let me know, because that's what our staff wants :) |
Is there a way we can have a banner pop up if a new reply comes in while staff is working on a ticket or composing a reply already? That way they can read updated information before sending their reply?
The text was updated successfully, but these errors were encountered: