MetorialDocs

Set up Workday in Metorial for Claude, ChatGPT and Cursor

Share Workday with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 19 tools (14 read-only).

To give your team Workday in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Workday integration in a Metorial portal, and each person signs in to Workday with their own account. Agents can read authorized Workday workers, supervisory organizations, absence details, recorded time blocks and inbox tasks. The integration has 19 tools, 14 read-only, 4 write and 1 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Workday in a portal and how each person connects
  • The 10 OAuth scopes Workday can request, and what each one allows
  • How to keep the 14 read-only tools and reject the other 5

Before you start

Sign-in method

MethodTypeWhat a person provides
OAuth 2.0OAuthSigns in to Workday after entering baseUrl and tenant

OAuth 2.0

Before the sign-in, setup asks for:

  • baseUrl: Workday REST API base URL (e.g., https://wd2-impl-services1.workday.com)
  • tenant: Workday tenant name

People sign in to Workday and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
StaffingStaffingAccess to worker records, hiring, terminations, and staffing data
Public DataPublic DataAccess to public worker profile data
RecruitingRecruitingAccess to job requisitions and candidate data
Tenant Non-ConfigurableTenant Non-ConfigurableAccess to tenant-level non-configurable data
Time TrackingTime TrackingAccess to time tracking and time-off data
Absence ManagementAbsence ManagementAccess to absence and leave management data
BenefitsBenefitsAccess to benefits enrollment and plan data
CompensationCompensationAccess to compensation data
IntegrationIntegrationAccess to integration system resources
SystemWQLAccess to Workday Query Language for querying data

Setup settings

Setup also asks for:

  • baseUrl: Workday REST API base URL (e.g., https://wd2-impl-services1.workday.com)
  • tenant: Workday tenant name (e.g., mycompany)

Use your own Workday OAuth app

With your own OAuth app, people see your company's name on the Workday consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Workday and copy the Redirect URI.

Register the app with Workday

Create an OAuth app or client in Workday and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Workday integration.

Admin: share Workday in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Workday. For how members connect, choose Each person connects, so everyone signs in to Workday as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Workday.

Choose who gets it

Add the access groups that should see Workday. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Workday integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search workday

Employee: connect Workday

In the portal

Open Workday in the catalog

Sign in to your portal and open Workday. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Workday sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search workday
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Workday connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list workday
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 14 read-only tools, such as get_worker and execute_wql, and lose the 4 write tools, such as request_time_off or action_inbox_task, and the destructive tool delete_custom_object.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list workday
metorial tools <integration-id>
metorial call <integration-id> list_workers -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_workers takes no input. It searches and list workers in Workday.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (14)

  • list_organizations: Retrieve a list of supervisory organizations in Workday.
  • list_custom_objects: List worker-scoped multi-instance records of a tenant-defined custom object type. Needs objectName.
  • get_custom_object: Retrieve a specific custom object record by its type and ID. Needs objectName and objectId.
  • get_custom_report: Retrieve data from a Workday custom report via Report-as-a-Service (RaaS). Needs reportOwner and reportName.
  • get_time_off_entries: Retrieve time-off entries for a specific worker. Needs workerId.
  • get_inbox_tasks: Retrieve pending inbox tasks for a specific worker. Needs workerId.
  • get_time_blocks: Retrieve time tracking blocks for a specific worker. Needs workerId.
  • execute_wql: Execute a Workday Query Language (WQL) query against Workday data. Needs query.
  • get_organization_workers: Retrieve the list of workers within a specific supervisory organization. Needs organizationId.
  • list_workers: Search and list workers in Workday.
  • get_worker: Retrieve detailed information about a specific worker by their ID. Needs workerId.
  • get_resource: Read an exact supervisory organization, inbox task, time-off detail, or recorded time block.
  • get_current_user: Discover the worker bound to the connected Workday account.
  • list_resources: Discover prerequisites for existing Workday actions: eligible absence types and valid time-off dates, or WQL data sources and fields.

Write tools (4)

  • request_time_off: Submit a time-off request for a specific worker. Needs workerId, date, dailyQuantity and timeOffTypeId.
  • update_custom_object: Update an existing custom object record in Workday. Needs objectName, objectId and fields.
  • create_custom_object: Create a new custom object record in Workday. Needs objectName and fields.
  • action_inbox_task: Approve or deny a pending inbox task for a worker. Needs workerId, taskId and action.

Destructive tools (1)

  • delete_custom_object: Delete a custom object record from Workday. Needs objectName and objectId.

Triggers

Workday has 2 triggers, which fire on events in Workday:

  • inbound_webhook
  • worker_changes: Detects new and updated workers in Workday by polling the workers endpoint.

Next steps