Trailhead: Refine Your Prompt Template for Accurate Agent Replies.
My agent is working in preview:
But still getting past the challenge. Any suggestion?
3 respostas
Hi Tuan,
I faced the same issue in the Trailhead challenge “Refine Your Prompt Template for Accurate Agent Replies.”
My Agentforce preview was working correctly, but Trailhead was still showing:
“Challenge not yet complete. Whoops, looks like there was a problem. Please try again.”
I fixed it by checking the following steps:
- Go to Setup → Flows.
- Search for Get Open Cases for Contact.
- Open the flow and make sure it is Active.
- Go to Setup → Prompt Builder.
- Open the prompt template Guest Experience Compensation.
- Make sure you are working on the latest version of the prompt template.
- In the prompt, after Case Details:, insert: Insert Resource → Flow → Get Open Cases for Contact
- After Complaint:, insert: Insert Resource → Free Text → Complaint
- Do not manually type the resource names. Insert them using the Insert Resource option.
- Save the prompt template.
- Test it in Preview with Sofia Rodriguez.
- Confirm that the resolved prompt contains:
- Contact details
- Open case details
- Complaint
- Compensation instructions
- Click Activate for the latest version of the Guest Experience Compensation prompt template.
- Go back to the Coral Cloud Experience Agent.
- Refresh the agent preview and test again.
- Use: The White Water Rafting experience my family and I booked was unexpectedly cancelled.
- When the agent asks for customer details, enter: I'm sofiarodriguez@example.com and my membership number is 10008155.
- If the agent response is working correctly, go back to Trailhead and click Check Challenge again.
The main things to verify are:
Get Open Cases for Contact Flow → Active
Guest Experience Compensation → Latest Version Active
Case Details → Flow resource inserted correctly
Complaint → Free Text resource inserted correctly
Thank You,
Venkat Yadav.