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

feat(core): Allow to set an auto idle message in Handoff Builder #2218

Merged
merged 2 commits into from
Feb 23, 2022

Conversation

asastre
Copy link
Contributor

@asastre asastre commented Feb 21, 2022

Description

Added a new function (withAutoIdleMessage) in HandoffBuilder in order to allow the developer to set the automatic message to be displayed once the case has been set to IDLE status.

Context

A case is set to IDLE status if the user is not responding to the agent and we want to allow the bot to be able to set an automatic message to be displayed to the user once the case is set to IDLE so the user will be notified about the status change and the agent can be focused in other cases meanwhile.

Approach taken / Explain the design

To document / Usage example

new HandoffBuilder(session).withAutoIdleMessage('messate to be displayed in IDLE status')

Testing

The pull request has unit tests.

@asastre asastre merged commit 5070e99 into master-lts Feb 23, 2022
@asastre asastre deleted the core/handoff-auto-idle-message branch February 23, 2022 08:47
vanbasten17 pushed a commit that referenced this pull request Mar 23, 2023
* feat(core): add autoIdleMessage in HandoffBuilder to be able to set an auto message when the case is set to IDLE status

* test(core): test the new withAutoIdleMessage function in HandoffBuilder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants