Using WFM agents
The scenarios included in this topic demonstrate the expected behavior of the agent in real-world situations. They provide clear, reproducible examples that you can use to learn how to use the agents.
Employee details retrieval scenarios
| Question | Expected response | Expected Agents and Tools Used |
|---|---|---|
| Show me my employee details | Displays the current user's employee details such as employee ID, first name, last name, and employment information. | WFM_MyDetails |
| (Logged in as Manager) Show me the employee details for Mary Wilkins | Displays the employee details for Mary Wilkins, including employee ID, first name, last name, and other profile information. | WFM_EmployeeDetails |
| (Logged in as Manager) Who has been working at the company longer, John Doe or Mary Jane? | Compares the employment duration of both employees and identifies who has been working longer. | WFM_EmployeeDetails |
| (Logged in as Employee) What is John Doe's current occupation? | Displays a message stating that occupation information for other employees cannot be retrieved due to access restrictions. | No agents or tools used |
Time off scenarios
| Question | Expected response | Expected Agents and Tools Used |
|---|---|---|
| How many sick days have I used this year? | Displays the number of sick days used by the current user. | WFM_MyTimeOffBalances |
| (Logged in as Manager) How much vacation time does Mary Wilkins have remaining? | Displays Mary Wilkins’ remaining vacation balance. | WFM_EmployeeTimeOffBalances |
| (Logged in as Manager) Have I used more sick days than Mary Wilkins? | Compares the sick day usage of the current user and Mary Wilkins and indicates who used more. | WFM_MyTimeOffBalances
WFM_EmployeeTimeOffBalances |
| (Logged in as Employee) Show me the time off balances for John Doe | Displays a message stating that the user does not have permission to view another employee’s balances due to access restrictions. | No agents or tools used |
Team information scenarios
| Question | Expected response | Expected Agents and Tools Used |
|---|---|---|
| Which team do I belong to? | Displays the teams that the current user belongs to or has access. | WFM_MyTeams |
| (Logged in as Manager) Show me all the employees on my team | Displays a list of employees belonging to the current user's team. | WFM_TeamEmployees |
| (Logged in as Employee) Which team does Mary Wilkins belong to? | Displays a message explaining that team information for other employees cannot be retrieved due to access restrictions. | No agents or tools used |
Job scenarios
| Question | Expected response | Expected Agents and Tools Used |
|---|---|---|
| What is my current position title? | Displays the current user’s job or position title. | WFM_MyJobs |
Scheduling validation scenarios
| Question | Expected response | Expected Agents and Tools Used |
|---|---|---|
| (Logged in as Manager) Is there anyone on my team who is scheduled after their termination date? | Displays employees scheduled to work after their termination date, including employee name, termination date, and scheduled shifts. | WFM_EmployeesScheduledAfterTermination |