Skip to main content
Workday is in beta and available to selected organizations. To request access, contact your Ravenna representative, or reach out to the Ravenna team on Slack or through the in-app chat. Testing it? See the beta tester guide.
Workday provides Ticket Agent tools for checking time-off balances, listing the absence types an employee can request, submitting time-off requests, and managing the requester’s emails, phones, and addresses. Reference these tools in using @ mentions so your agent can answer questions like “How much PTO do I have?” without escalating to HR. Each time-off tool takes the person as 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.
Learn more about tool input settings
Contact information tools always act on the requester. See Contact information.

Time off

Get time off balance

Returns all time-off balances for a user from Workday, such as PTO, vacation, and sick leave. Use it to answer balance questions or to check whether a user has enough time off before they submit a request.Tool name: @Get Workday Time Off BalanceInput fields:
  • user (required) - the person whose balances to check.
Output data:
  • balances - each balance’s timeOffType (the absence plan name), balance (the current amount), unit (for example, hours or days), and effectiveDate.
  • totalBalance - the sum of all returned balances.
  • message - a summary of the balances found, or the reason no balances were returned.
Common use cases:
  • 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
Example rule:

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.

Returns the absence types a user is eligible to request in Workday, such as PTO, vacation, and sick leave. Use it to show the user which kinds of time off they can request and how each one is configured.Tool name: @Get Workday Absence TypesInput fields:
  • user (required) - the person whose eligible absence types to get.
Output data:
  • absenceTypes - each absence type’s id, name, category, unitOfTime, dailyDefaultQuantity, and reasonRequired (whether the request needs a reason).
  • message - a summary of the absence types found, or the reason none were returned.
Common use cases:
  • 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
Example rule:

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.

Submits a time-off request in Workday for approval.Tool name: @Request Time Off in WorkdayInput fields:
  • user (required) - the person taking time off.
  • timeOffType (required) - the absence type, for example Vacation or PTO. 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, in YYYY-MM-DD format.
  • hoursPerDay - hours off on each day. Defaults to 8.
  • comment - a note for the request.
Output data:
  • 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.
Common use cases:
  • Book vacation from a Slack conversation
  • Request a sick day without opening Workday
  • Submit a request once the balance check shows enough time off
Example rule:

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.
Returns the requester’s home or work email addresses.Tool name: @Get Workday EmailsInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
Output data:
  • emails - each emailAddress, isPrimary, and isPublic.
  • message - a summary of what the tool did.
Common use cases:
  • Answer “What email does Workday have for me?”
  • Check existing emails before an update
Example rule:

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.

Adds a home or work email address for the requester.Tool name: @Add Workday EmailInput fields:
  • contactType (required) - home for personal details or work for 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.
Output data:
  • emailAddress - the added address.
  • message - a summary of what the tool did.
Common use cases:
  • Record a new personal email
  • Add a backup contact email
Example rule:

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.

Changes one of the requester’s existing email addresses. At least one of 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) - home for personal details or work for 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.
Output data:
  • emailAddress - the updated address.
  • message - a summary of what the tool did.
Common use cases:
  • Fix a typo in a personal email
  • Switch which email is primary
Example rule:

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.

Removes one of the requester’s email addresses. A dry run looks up the address first.Tool name: @Delete Workday EmailInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
  • email (required) - the email address to remove.
Output data:
  • message - a summary of what the tool did.
Common use cases:
  • Remove an old personal email
Example rule:

When a user asks to remove an email from Workday, confirm which address with them, then use @Delete Workday Email.

Returns the requester’s home or work phone numbers.Tool name: @Get Workday PhonesInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
Output data:
  • phones - each phoneNumber, isPrimary, and isPublic.
  • message - a summary of what the tool did.
Common use cases:
  • Answer “What phone number does Workday have for me?”
  • Check existing numbers before an update
Example rule:

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.

Adds a home or work phone number for the requester.Tool name: @Add Workday PhoneInput fields:
  • contactType (required) - home for personal details or work for 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, or Fax.
  • isPrimary - make it the primary phone. Defaults to false.
  • isPublic - make it publicly visible. Defaults to false.
Output data:
  • phoneNumber - the added number.
  • message - a summary of what the tool did.
Common use cases:
  • Record a new mobile number
  • Add a home landline
Example rule:

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.

Changes one of the requester’s existing phone numbers. At least one of 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) - home for personal details or work for 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, or Fax.
  • isPrimary - make it the primary phone.
  • isPublic - make it publicly visible.
Output data:
  • phoneNumber - the updated number.
  • message - a summary of what the tool did.
Common use cases:
  • Update a changed mobile number
  • Switch which phone is primary
Example rule:

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.

Removes one of the requester’s phone numbers. A dry run looks up the number first.Tool name: @Delete Workday PhoneInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
  • phoneNumber (required) - the phone number to remove.
Output data:
  • message - a summary of what the tool did.
Common use cases:
  • Remove a number the requester no longer uses
Example rule:

When a user asks to remove a phone number from Workday, confirm which number with them, then use @Delete Workday Phone.

Lists the phone device types Workday accepts: Mobile, Landline, and Fax.Tool name: @List Workday Phone Device TypesInput fields:
  • None.
Output data:
  • deviceTypes - each type’s id and label.
Common use cases:
  • Offer the valid device types before adding a phone
Example rule:

Before adding a phone number in Workday, use @List Workday Phone Device Types and ask the user which type it is.

Returns the requester’s home or work addresses.Tool name: @Get Workday AddressesInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
Output data:
  • addresses - each addressLine1, city, postalCode, country, and isPrimary.
  • message - a summary of what the tool did.
Common use cases:
  • Confirm a shipping address for equipment
  • Check existing addresses before a change
Example rule:

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.

Adds a home or work address for the requester. To change an address, delete the old one and add the new one.Tool name: @Add Workday AddressInput fields:
  • contactType (required) - home for personal details or work for 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 example United States.
  • region - the state or region. Required for some countries, such as the United States.
  • isPrimary - make it the primary address.
Output data:
  • addressLine1 - the added street address.
  • message - a summary of what the tool did.
Common use cases:
  • Record a new home address after a move
Example rule:

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.

Removes the requester’s address with that first line. A dry run looks up the address first.Tool name: @Delete Workday AddressInput fields:
  • contactType (required) - home for personal details or work for business details. When the request doesn’t say which, the agent asks.
  • addressLine1 (required) - the street address of the address to remove.
Output data:
  • message - a summary of what the tool did.
Common use cases:
  • Remove an old address after adding the new one
Example rule:

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.

A tool with no run policy set runs without asking. Switching a write or delete tool on in the rule editor starts it on Confirm first, and when Ravenna drafts a rule, it asks how deletes and other sensitive writes, such as account, access, or device-wipe tools, should run. Change a tool’s run policy per rule in its tool settings. See tool execution policies.

Setup

1

Install Workday integration

Follow the Workday setup guide to connect your Workday tenant to Ravenna.
2

Configure agent

Open your agent’s settings and add the Workday tools you want it to use under Tools. An admin has to attach each tool before an agent or rule can call it.
3

Create rules

Write that reference Workday tools using @ mentions.
4

Test tools

Test your rules on a real request to verify the tools work as expected.

Best practices

  • Check balances before requests. Use @Get Workday Time Off Balance before @Request Time Off in Workday so 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 Types to find the correct absence type and whether a reason is required before collecting request details.
Learn more about configuring agents and writing effective rules
Last modified on December 4, 2026