Skip to content
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

chat-core-zendesk: handle resolved ticket event #49

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

yen-tt
Copy link
Collaborator

@yen-tt yen-tt commented Sep 12, 2024

unlike deleting ticket, which trigger a passControl event and is handled by the internal bot in the switchboard, agent marking a ticket a resolved will not transfer control. Instead, zendesk will send a csat message (e.g. "how did the chat go?") to the conversation.

This PR will replace that message with The agent has resolved the ticket. Further assistance will now be provided by the bot. to inform the user and closes the session. The bot in the frontend will then resume the conversation on subsequent user messages.

J=CLIP-1530
TEST=manual

see that I get the custom message instead of "how did the chat go?" message from zendesk. See that the bot will resume conversation in the next message.

Screenshot 2024-09-12 at 4 42 05 PM

@yen-tt yen-tt requested a review from a team as a code owner September 12, 2024 20:42
@yen-tt yen-tt merged commit 2c54d9d into main Sep 12, 2024
8 checks passed
@yen-tt yen-tt deleted the dev/zendesk-resolved-ticket branch September 12, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants