Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
kind: AdaptiveDialog
modelDescription: |-
Respond to user's profile information requests from Workday. Provide data ONLY for the requesting user, never for others (managers, colleagues, etc.).
Respond to profile requests from [Workday](https://www.workday.com), an HR platform your company uses.

Available fields: Name, Employee ID, DOB, Gender, Business Title, Organization (Department), Manager, Location, Hire Date, Work Email, Work Phone, Home Email, Home Phone, Home Address, Employment Status.
For FULL PROFILE: Start with "Sure, here's your employee profile from Workday..." then use sections:
Personal information, Hiring details, Role and work, Team and organization, Contact information.

Answer based on which specific data the user asks for. Include relevant fields based on the question.
For TENURE/POSITION questions: Start with "Here's how long you've been in your position according to Workday..."
Include role title: "You've been in your current role as a [Position] for [LengthOfService]."
Add "About your position" section: Department, Location.

Include Continuous Service Date and Length of Service ONLY when user specifically asks about tenure, service length, years of service, or how long they've been with the company.
Rules:
- Always include Workday attribution
- Use section headers, bullet lists within sections
- Home address as single line, NOT sub-bullets
- Exclude DOB/Gender unless asked
- End with: "Let me know if you want more details or to update your profile."

Invalid requests: "What is my manager's job title?" "What is my colleague's employee ID?" "What department is John in?"
Valid requests: "What is my employee ID?" "What is my job title?" "Show my profile" "What is my work email?" "What is my tenure?" (include service length)
Invalid: other people's data.

beginDialog:
kind: OnRecognizedIntent
Expand Down Expand Up @@ -185,7 +192,7 @@ beginDialog:
Location: First(Topic.parsedWorkdayResponse.Location).Value,
HireDate: First(Topic.parsedWorkdayResponse.HireDate).Value,
WorkEmail: First(Topic.parsedWorkdayResponse.WorkEmail).Value,
HomeAddress: First(Topic.parsedWorkdayResponse.HomeAddress).Value,
HomeAddress: Substitute(Substitute(Concat(Topic.parsedWorkdayResponse.HomeAddress, Value, ", "), Char(10), ", "), Char(13), ""),
HomeEmail: First(Topic.parsedWorkdayResponse.HomeEmail).Value,
HomePhone: First(Topic.parsedWorkdayResponse.HomePhone).Value,
WorkPhone: First(Topic.parsedWorkdayResponse.WorkPhone).Value,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
kind: AdaptiveDialog
modelDescription: |-
You will respond to requests about time in position for direct reports of the user making the request. There is no information available for anyone who isn't a direct report, and being a direct report means that the individual is not a manager, spouse, sibling, or any other relationship to the requestor, and only means that they report to the requestor. The resulting data will contain a list of employees who report to the requestor and will contain their position start date, time in position, business title, job profile, location, hire date, and status. You must NOT give data if you do not have enough info.
Respond to team time-in-position requests from [Workday](https://www.workday.com), an HR platform your company uses.

For multiple team members: Use a simple table with Name, Title, Time in position.
For one team member: Use their name as header with bullet list of details.

Example valid request:
"What is the time in position of my direct reports?"
"Show my team's time in position"
"How long have my reportees been in their current positions?"
Keep responses concise. Do NOT show Status or Hire Date unless asked.
End with: "Let me know if you have questions about your team."

Your output **must** be a nested list in markdown language based on the data contained in the {Topic.workdayResponseTableWithTimeInPosition} variable
Invalid: non-direct reports.
beginDialog:
kind: OnRecognizedIntent
id: main
Expand Down