Connecting Custom AI Agents to Workday's Agent System of Record (ASOR): Architecture Guide
How enterprise architects register, authenticate, and govern custom AI agents inside Workday's Agent System of Record (ASOR) using the Agent Gateway, Agent System Users, and least-privilege security without risking tenant stability or PII leaks.
Connecting custom AI agents to Workday's Agent System of Record (ASOR) requires routing all external and custom agent traffic through the Workday Agent Gateway under an Agent System User (ASU) rather than binding LLMs directly to legacy Integration System Users (ISUs). This architecture gives HRIS and security teams a single registry to enforce least-privilege permissions, throttle runaway loops, and audit every read and write across Workday-built and third-party agents.
Most enterprise AI pilots fail their first infosec review because an engineering team wires an external LLM directly to a Workday REST API or Reports-as-a-Service (RaaS) endpoint using a shared service account. That shortcut works for a demo, then collapses under SOX and privacy scrutiny: every query runs under one over-privileged credential, Workday cannot distinguish an AI loop from a payroll integration, and there is no kill switch when a prompt goes sideways. ASOR and the Agent Gateway exist specifically to replace that pattern.
What ASOR Actually Does (and Does Not Do)
ASOR is Workday's control plane for a blended workforce of humans and AI agents. Think of it as the registry and governance layer sitting beside Worker records, not a separate database. It does not copy compensation tables, worker profiles, or general ledger journals into a new store.
Instead, ASOR manages four distinct categories of agents from onboarding to retirement:
- Workday-built agents powered by Workday Illuminate for native HR, finance, and planning workflows.
- Custom Workday agents built inside Workday Extend and App Builder, packaged as
.agentdefinition files and.agentskillcapability scripts. - Sana User Agents deployed as conversational self-service and autopilot experiences across Workday Home, Slack, and Microsoft Teams.
- External and partner agents built on Claude, OpenAI, Google Gemini, Microsoft Copilot Studio, or internal Python and TypeScript orchestrators.
For every registered agent, ASOR records who owns it, which security policies constrain it, what API volume it consumes, and a verifiable audit log of the actions it takes. When an agent is deprecated or misbehaves, an administrator can deactivate it in ASOR the same way they terminate a contractor's access.
The Core Architecture: Agent Gateway, ASU, and Delegate Mode
External agents should never call core tenant SOAP or REST endpoints directly with long-lived credentials. The supported path routes every call through the Workday Agent Gateway—a regional entry point such as us.agent.workday.com—which terminates authentication, enforces rate limits, and forwards validated calls to Workday's REST, SOAP, Graph API, Workday Query Language (WQL), RaaS, or Model Context Protocol (MCP) endpoints.
Three technical choices determine whether your architecture is safe for Production:
- Agent System User (ASU) vs. legacy ISU: Every external agent registers with an ASU identity mapped to dedicated security groups. Unlike legacy ISUs that teams frequently reuse across five different integrations, an ASU isolates telemetry, cost tracking, and throttling per agent. If you are still cleaning up shared service accounts, review our guide on least-privilege Workday ISU design for AI agents.
- Delegate mode for user-facing agents: When an employee asks an agent to check remaining PTO or initiate a job requisition, the agent should run in Delegate mode using session-scoped OAuth 2.0/2.1 tokens. Workday then evaluates the intersection of the agent's allowed capabilities and the authenticated user's own security groups (such as
Employee As SelforManager). An agent cannot surface a peer's salary if the requesting user lacksViewaccess on the compensation domain. - Business Process enforcement for writes: Never grant an agent security groups that bypass approval steps. Any transactional write—such as submitting an expense, changing a cost center, or opening a requisition—should initiate a standard Workday Business Process so existing condition rules, validation rules, and human approval chains remain intact.
Comparing the Four Workday Agent Deployment Patterns
Choosing the right pattern depends on where the user lives, how much custom logic you need, and whether external data sources must be joined with Workday data. For a deeper breakdown of native versus custom builds, see Workday Illuminate vs. custom AI agents.
| Deployment Pattern | ASOR Governance | Authentication & Identity | Write & Approval Safety | Best Enterprise Fit |
|---|---|---|---|---|
| Native Illuminate / Sana Agent | Automatic native registration | Workday user session (Delegate) | Native Business Process rules | Standard HR, pay, absence, and finance self-service |
| Custom Extend / App Builder Agent | Auto-registered in Dev; App Manager promotion to Prod | Delegate mode or scoped ASU | Extend security domains + Workday BP | Custom business objects, bespoke approvals, internal workflows |
| External Agent via Agent Gateway (MCP/A2A) | Registered external agent with full telemetry & kill switch | OAuth 2.0/2.1 + ASU + user delegation | Gateway policy + BP approval chains | Cross-system agents (Slack, Copilot, Claude, internal portals) |
| Direct Legacy ISU Connector (Anti-pattern) | None (invisible to ASOR) | Static ISU + refresh token | High risk; often over-privileged ISSG | Legacy batch integrations only—avoid for AI agents |
Step-by-Step Registration and Lifecycle Workflow
Moving a custom agent from an engineering prototype to a governed Production asset follows a disciplined path across your tenants:
- Define the data boundary in Sandbox: Before writing agent code, map every required read and write to specific Workday securable items using
View Security for Securable Item. Split read-only lookup tools from write tools so infosec can approve them separately. - Provision the ASU and security policies: Create a dedicated security group for the agent rather than cloning an existing HR Partner or Payroll Partner group. Grant
Getaccess only on the exact domains required—for example,Worker Data: Public Worker Reportsinstead of fullWorker Data: Current Staffing Information—and runActivate Pending Security Policy Changes. - Register the agent and bind protocols: For Extend-based agents, deploy the
.agentand.agentskillartifacts via App Builder in your Development tenant and promote them through Workday App Manager. For external agents, register the client in ASOR, configure OAuth 2.0/2.1 credentials, and bind the agent to the Agent Gateway using MCP for tool calls or A2A for cross-agent delegation. We cover the protocol mechanics in detail in our Workday Agent Gateway, MCP, and A2A architecture guide. - Configure gateway guardrails and PII controls: Set explicit rate limits so a hallucinating loop cannot hammer tenant API quotas during payroll close. If your external agent sends Workday payloads to a third-party LLM provider, insert a local redaction layer so names, worker IDs, SSNs, and compensation figures are masked before leaving your network. See AI Workday security and PII masking for the exact masking architecture.
- Run adversarial testing before Production promotion: Test with a non-privileged worker account, a manager account, and an inactive worker account. Verify that indirect prompt injection—such as a malicious instruction hidden inside a candidate's resume or an expense memo—cannot trick the agent into calling an unauthorized tool or exfiltrating another worker's data.
- Monitor telemetry and quarterly access reviews: Use ASOR's analytics view to track API call volume, error rates, and Flex Credit or gateway usage. Include every active ASU in your quarterly SOX and access recertification reviews alongside human administrators.
Four Failure Modes We See in Production Audits
Even well-funded IT teams hit the same four snags when wiring custom agents to Workday:
- Shadow agents riding on existing ISUs: A business unit builds an internal chatbot using an existing Workday RaaS URL and an old ISU credential. It bypasses ASOR entirely, leaving IT blind to who is querying worker data until an audit flags unexpected API spikes.
- Over-broad WQL permissions: Granting
Workday Query Languageaccess without tightly scoping the underlying domain security policies allows an LLM that writes its own WQL queries to pull far more columns than the developer intended. - Ignoring Workday release drift: Workday 2026 R2 is live and 2027 R1 is approaching. Custom agents that hardcode brittle SOAP XML parsing or unversioned field assumptions break during Preview upgrades unless they rely on stable REST/WQL contracts or Workday's Agent-Ready MCP schemas.
- No human-in-the-loop gate on state changes: Allowing an external agent to auto-approve time off, modify bank details, or close requisitions without routing through Workday's Business Process Framework creates immediate SOX control failures.
Build a Governed Agent Architecture Without a Six-Month SOW
Connecting custom AI agents to Workday ASOR does not require a sprawling Big Four transformation program. OnoeX engineers in North America use Kiweely Vine with local PII masking—so worker names, IDs, pay, and tenant identifiers are masked before any AI sees them—and enforce human approval on every Production change, with Extend deployments never reaching Production automatically.
We start with a free working proof on our own Workday environment in 48 hours before any contract or fee. Full Production delivery runs on one fixed fee agreed before work starts, at least 20% below any traditional firm's quote, typically delivered in one to four weeks. After go-live, you can run ongoing operations on Kiweely Nest at a discount or have us train your internal HRIS team to own the architecture.
Request your free proof to see a governed Workday agent workflow running before you sign an SOW.
OnoeX is an independent Workday consulting firm and is not affiliated with, endorsed by, or sponsored by Workday, Inc.
Frequently asked questions
Does Workday ASOR store our HR or financial data?
No. Workday's Agent System of Record (ASOR) is a governance and lifecycle control plane, not a replacement data store. It tracks each agent's identity, assigned permissions, backing platform, API telemetry, and audit trail while core worker and ledger records remain in Workday.
What is the difference between an Agent System User (ASU) and a traditional ISU?
A traditional Integration System User (ISU) is designed for batch or point-to-point integrations and often carries broad, static domain permissions. An Agent System User (ASU) routes traffic through the Workday Agent Gateway, ties activity to a registered ASOR identity, supports user-delegated execution, and enforces per-agent rate limits and audit logging.
Can we register agents built outside Workday, such as on Claude, OpenAI, or Copilot Studio?
Yes. ASOR is designed to govern four categories of agents: native Workday Illuminate agents, custom agents built with Workday Extend and App Builder, Sana User Agents, and external partner or custom agents connected through the Workday Agent Gateway using MCP or A2A.
How do we prevent a custom AI agent from writing unapproved changes to Production?
Keep write permissions scoped to Business Process initiation rather than direct administrative overrides, run interactive agents in Delegate mode so they inherit the requesting user's security groups, and require human approval steps inside the Workday Business Process Framework before any Production record commits.
How long does it take to connect and govern a custom AI agent in Workday?
A focused proof on an isolated environment can be built in 48 hours. Production architecture, ASOR registration, security group hardening, and Sandbox testing typically take one to four weeks depending on the number of workflows and external systems involved.