Sometimes, you may want the chatbot to gather more information before handing off a conversation. This helps prevent unnecessary handoffs and ensures that staff members have all the relevant information.
If someone requests to speak with a staff member, you might not want the chatbot to immediately transfer the conversation. Instead, the chatbot can first check if it can answer the question, ask a follow-up question, or request more details before the conversation is handed off to a human staff member. This approach allows the chatbot to attempt resolving the query itself, avoiding unnecessary handoffs and ensuring agents receive complete information before handling incoming conversations.
This can be achieved by adding an instruction (in Instructions or Domain Knowledge) that guides the chatbot on how to respond when someone wants to speak to a staff member. You can also include a specific codeword that the end user must use to confirm they want the conversation to be handed off.
Setting up the intermediate step
Follow these steps to set up this intermediate step in your chatbot.
Step 1: Identify handoff scenarios
Identify scenarios where handoff may be necessary. A common scenario is when a customer explicitly requests to speak to a staff member.
Step 2: Write the instructions
Decide what you want your chatbot to ask or say before the handoff takes place. Configure the chatbot with instructions on how to handle such requests. For example:
Step 3: Create the codeword
Choose a unique codeword or phrase that customers can use to trigger the handoff. This word should be uncommon in regular conversations to prevent accidental handoffs. Examples of codewords could be "Transfer now" or "Holy melony." Include this codeword in the instruction you wrote in Step 2.
Step 4: Configure the handoff
Set up the handoff as described in this article.
Use the codeword(s) you included in the instructions as the trigger(s).
Step 5: Test and refine
Use the interactive tester to simulate conversations and ensure the chatbot responds correctly in handoff scenarios. Adjust the instructions and triggers as needed based on the test results.
Examples
These examples provide clear guidelines on how the chatbot can communicate with users in different contexts. The chatbot first attempts to address the user's needs before facilitating a smooth handoff to human agents. Each scenario includes specific instructions and a unique codeword to activate the handoff to a human agent.
Example 1: Technical Support Request
Scenario: A user needs technical support that may require detailed troubleshooting.
-
Instruction: If someone requests technical support, first ask if they have tried restarting their device. Regardless of their response, ask if they would like to proceed with detailed troubleshooting by one of our experts. If they agree, ask them to send the words "Tech Support."
-
Trigger: Tech Support
Example 2: Inquiry About Product Returns
Scenario: A customer wants to return a product and needs information about the return policy.
-
Instruction: If a customer asks about returning a product, provide a brief explanation of the return policy. Then, ask if they need assistance from a customer service agent to process the return. If so, instruct them to type the words "Return Help."
-
Trigger: Return Help
Example 3: Booking an Appointment
Scenario: A customer wants to book an appointment, which requires checking availability and personal preferences.
-
Instruction: If a customer wants to book an appointment, ask which service they are interested in and their preferred dates. After receiving this information, offer to connect them with a booking specialist for personalized service. If they want to proceed, ask them to send the words "Schedule Now."
-
Trigger: Schedule Now