user, by their Ravenna user ID, which the agent finds with @User Lookup or among the ticket’s participants. When no rule limits the input, their email also works. The person has to be a Ravenna user synced from Workday.
A member can only check or request time off for themselves, and a workspace admin can do it for anyone. A person the rule sets also passes. A scheduled, webhook, or event run can only check or request time off for a person the rule sets. In the rule’s tool settings, an admin can fix user or limit it to an allow list, for example Requester’s direct reports so managers can check their team’s balances. Anyone can limit it to Requester.
Time off
Get time off balance
Get time off balance
@Get Workday Time Off BalanceInput fields:user(required) - the person whose balances to check.
balances- each balance’stimeOffType(the absence plan name),balance(the current amount),unit(for example, hours or days), andeffectiveDate.totalBalance- the sum of all returned balances.message- a summary of the balances found, or the reason no balances were returned.
- Answer “How much PTO do I have?” in a ticket or Slack conversation
- Confirm a user has enough balance before they request time off
- Show a breakdown of vacation, sick leave, and other balances
When a user asks how much PTO or time off they have, use @Get Workday Time Off Balance for the requester. Reply with each balance type, its amount, and its unit. If no balances are found, tell the user and offer to create a ticket for HR.
Get absence types
Get absence types
@Get Workday Absence TypesInput fields:user(required) - the person whose eligible absence types to get.
absenceTypes- each absence type’sid,name,category,unitOfTime,dailyDefaultQuantity, andreasonRequired(whether the request needs a reason).message- a summary of the absence types found, or the reason none were returned.
- List the types of leave a user can request
- Check whether an absence type requires a reason before collecting request details
- Confirm the unit of time (hours or days) for an absence type
When a user asks what types of time off they can take, use @Get Workday Absence Types for the requester. List each absence type by name and category, and note any that require a reason. Then use @Get Workday Time Off Balance to show their remaining balance.
Request time off
Request time off
@Request Time Off in WorkdayInput fields:user(required) - the person taking time off.timeOffType(required) - the absence type, for exampleVacationorPTO. It’s matched against the names of the absence types the person is eligible for, ignoring case, and a partial name works. When nothing matches, the tool fails and lists the types they can use.startDate,endDate(required) - the first and last day off, inYYYY-MM-DDformat.hoursPerDay- hours off on each day. Defaults to 8.comment- a note for the request.
status- the request’s status in Workday.timeOffType- the absence type Workday recorded.startDate,endDate- the requested dates.daysRequested- how many days the request covers.
- Book vacation from a Slack conversation
- Request a sick day without opening Workday
- Submit a request once the balance check shows enough time off
When a user asks to take time off, use @Get Workday Absence Types for the requester to find the right type, then use @Get Workday Time Off Balance to check they have enough. Confirm the type and dates with them, then use @Request Time Off in Workday for the requester and reply with the request's status.
Contact information
These tools read and change the requester’s own emails, phones, and addresses in Workday. When Ravenna drafts a rule with them, the Add and Update tools default to always allow, like@Request Time Off in Workday. For the Delete tools, it asks how they should run and proposes requires approval. Contact changes need the contact domains and business process policies from the Workday setup guide.
Get emails
Get emails
@Get Workday EmailsInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.
emails- eachemailAddress,isPrimary, andisPublic.message- a summary of what the tool did.
- Answer “What email does Workday have for me?”
- Check existing emails before an update
When a user asks which email Workday has for them, use @Get Workday Emails with the contact type they mean and list each address, marking the primary one.
Add email
Add email
@Add Workday EmailInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.emailAddress(required) - the email address to add.isPrimary- make it the primary email.isPublic- make it publicly visible.
emailAddress- the added address.message- a summary of what the tool did.
- Record a new personal email
- Add a backup contact email
When a user asks to add a personal email in Workday, confirm the address with them, then use @Add Workday Email with contact type home and reply with the result.
Update email
Update email
newEmailAddress, isPrimary or isPublic has to be set. A dry run looks up the current address, so it fails when the real call would.Tool name: @Update Workday EmailInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.email(required) - the current email address.newEmailAddress- the address to change it to.isPrimary- make it the primary email.isPublic- make it publicly visible.
emailAddress- the updated address.message- a summary of what the tool did.
- Fix a typo in a personal email
- Switch which email is primary
When a user asks to change an email in Workday, use @Get Workday Emails to find the current address, confirm the new one with them, then use @Update Workday Email.
Delete email
Delete email
@Delete Workday EmailInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.email(required) - the email address to remove.
message- a summary of what the tool did.
- Remove an old personal email
When a user asks to remove an email from Workday, confirm which address with them, then use @Delete Workday Email.
Get phones
Get phones
@Get Workday PhonesInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.
phones- eachphoneNumber,isPrimary, andisPublic.message- a summary of what the tool did.
- Answer “What phone number does Workday have for me?”
- Check existing numbers before an update
When a user asks which phone numbers Workday has for them, use @Get Workday Phones with the contact type they mean and list each number, marking the primary one.
Add phone
Add phone
@Add Workday PhoneInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.phoneNumber(required) - the phone number to add.countryCode(required) - a country name (United States), ISO code (US), or dial code (+1).deviceType(required) -Mobile,Landline, orFax.isPrimary- make it the primary phone. Defaults to false.isPublic- make it publicly visible. Defaults to false.
phoneNumber- the added number.message- a summary of what the tool did.
- Record a new mobile number
- Add a home landline
When a user asks to add a phone number in Workday, ask for the country and whether it's a mobile, landline, or fax, then use @Add Workday Phone and reply with the result.
Update phone
Update phone
newPhoneNumber, countryCode, deviceType, isPrimary or isPublic has to be set. A dry run looks up the current number, so it fails when the real call would.Tool name: @Update Workday PhoneInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.phoneNumber(required) - the current phone number.newPhoneNumber- the number to change it to.countryCode- a country name, ISO code, or dial code.deviceType-Mobile,Landline, orFax.isPrimary- make it the primary phone.isPublic- make it publicly visible.
phoneNumber- the updated number.message- a summary of what the tool did.
- Update a changed mobile number
- Switch which phone is primary
When a user asks to change a phone number in Workday, use @Get Workday Phones to find the current number, confirm the new one with them, then use @Update Workday Phone.
Delete phone
Delete phone
@Delete Workday PhoneInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.phoneNumber(required) - the phone number to remove.
message- a summary of what the tool did.
- Remove a number the requester no longer uses
When a user asks to remove a phone number from Workday, confirm which number with them, then use @Delete Workday Phone.
List phone device types
List phone device types
@List Workday Phone Device TypesInput fields:- None.
deviceTypes- each type’sidandlabel.
- Offer the valid device types before adding a phone
Before adding a phone number in Workday, use @List Workday Phone Device Types and ask the user which type it is.
Get addresses
Get addresses
@Get Workday AddressesInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.
addresses- eachaddressLine1,city,postalCode,country, andisPrimary.message- a summary of what the tool did.
- Confirm a shipping address for equipment
- Check existing addresses before a change
When a user asks which address Workday has for them, use @Get Workday Addresses with the contact type they mean and list each address, marking the primary one.
Add address
Add address
@Add Workday AddressInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.addressLine1(required) - the street address.addressLine2- apartment, suite, or other detail.city- the city.postalCode- the postal or ZIP code.country(required) - the country name, for exampleUnited States.region- the state or region. Required for some countries, such as the United States.isPrimary- make it the primary address.
addressLine1- the added street address.message- a summary of what the tool did.
- Record a new home address after a move
When a user says they moved, collect their new address, use @Add Workday Address with contact type home, then ask whether to remove the old one.
Delete address
Delete address
@Delete Workday AddressInput fields:contactType(required) -homefor personal details orworkfor business details. When the request doesn’t say which, the agent asks.addressLine1(required) - the street address of the address to remove.
message- a summary of what the tool did.
- Remove an old address after adding the new one
When a user asks to remove an old address from Workday, use @Get Workday Addresses to find it, confirm with them, then use @Delete Workday Address.
Setup
Install Workday integration
Configure agent
Create rules
Test tools
Best practices
- Check balances before requests. Use
@Get Workday Time Off Balancebefore@Request Time Off in Workdayso the agent can flag insufficient balance early. - Ask home or work. Contact tools need
contactType; write the rule so the agent confirms it when the request is unclear. - Look before you change. Use the Get tool before an Update or Delete tool so the agent passes the exact current email, phone, or address.
- Look up absence types first. Use
@Get Workday Absence Typesto find the correct absence type and whether a reason is required before collecting request details.