Inferensys

Integration

AI Integration for Microsoft Copilot Studio and Workday

Build a conversational HR agent in Microsoft Teams that answers employee questions about pay, benefits, and time-off by securely querying Workday's APIs, deflecting routine HR cases.
Developer using AI copilot for code completion, IDE visible on laptop screen, casual programming moment at desk.
ARCHITECTURE AND ROLLOUT

Where AI Fits: Conversational Self-Service for HR

A blueprint for connecting Microsoft Copilot Studio to Workday's APIs to create an employee-facing HR agent that reduces case volume and improves service speed.

The integration connects at two key surfaces: the conversational interface in Microsoft Teams (via a Copilot Studio bot) and Workday's Human Capital Management APIs (like Worker, Time Off, and Benefits). The agent is designed to handle high-frequency, low-complexity queries—such as "What's my remaining PTO?", "How do I update my direct deposit?", or "What's the deductible for my health plan?"—by making authenticated API calls to retrieve live data from Workday tenant objects like Worker, Time_Off_Plan, and Benefit_Election. This offloads routine inquiries from the HR service desk, allowing specialists to focus on complex cases, policy exceptions, and strategic work.

Implementation requires building a secure middleware layer, often using Power Platform custom connectors or an Azure Function, to broker requests between Copilot Studio and Workday's SOAP or REST APIs. This layer handles OAuth 2.0 authentication, maps natural language employee queries (e.g., "my vacation balance") to the correct Workday WSDL operation (e.g., Get_Time_Off_Balances), and formats the API response into a conversational reply. Critical governance steps include implementing role-based data security (so the agent only accesses data the authenticated employee is permitted to see), maintaining a full audit log of queries, and setting up a human-in-the-loop escalation path within the Copilot Studio topic flow for unresolved or sensitive requests.

Rollout should be phased, starting with a pilot group and a limited set of read-only queries (e.g., pay date, company holidays). Measure success by tracking deflection rate from the HR case queue and user satisfaction via post-conversation surveys. A successful deployment typically sees a 20-40% reduction in tier-1 HR support tickets within the first quarter, translating to faster employee answers and more focused HR operations. For teams looking to extend this pattern, see our guides on Multi-Step Orchestration with Microsoft Copilot Studio and Enterprise AI Agent Integration for Microsoft Copilot Studio.

ARCHITECTING THE HR COPILOT

Key Integration Surfaces in Workday and Copilot Studio

Core Workday Objects for AI Access

An effective Copilot Studio agent must interact with specific Workday objects via its robust REST API. The primary integration surfaces are:

  • Workers & Employees: Retrieve and search profiles, contact info, job details, and reporting structure using the workers and staffing domains. This powers queries like "Who is my manager?" or "Find an expert in Python."
  • Time Off & Absence: Query balances, request history, and company calendar data via the time_off and absence APIs. This allows the agent to answer "How much PTO do I have?" or "Is the office closed next Monday?"
  • Compensation & Benefits: Access pay component details, benefit plan enrollments, and deduction information through the compensation and benefits domains. This supports questions about paystubs, coverage, and contribution rates.
  • Talent & Performance: Read goal information, review history, and skills data (if configured) to assist with career development conversations.

All API calls must be authenticated via OAuth 2.0 Client Credentials and respect Workday's tenant-specific security domains and business process policies.

MICROSOFT COPILOT STUDIO + WORKDAY

High-Value Use Cases for HR Teams

Connect Microsoft Copilot Studio to Workday's APIs to build conversational HR agents that reduce case volume, accelerate employee self-service, and automate routine operations. These are practical integration patterns for production.

01

Employee Policy & Payroll Q&A Agent

Deploy a Copilot Studio agent in Microsoft Teams that answers employee questions about pay stubs, tax withholdings, and company policies by querying Workday's Worker and Payroll APIs. The agent uses RAG over HR knowledge bases for policy answers and fetches live data for personal queries, deflecting 30-50% of routine HR help desk tickets.

Hours -> Minutes
Response time
02

Automated Time-Off Request & Approval

Build a multi-turn Copilot Studio workflow where employees request PTO conversationally. The agent validates balances via the Workday Time Off API, checks team calendars, submits the request, and triggers a Power Automate flow for manager approval. Status updates are pushed back to the employee in Teams.

1 sprint
Implementation
03

Benefits Enrollment Support Copilot

During open enrollment, guide employees through plan selection with a Copilot Studio agent. It explains coverage details, calculates estimated costs using Workday Benefits data, and answers FAQs. For complex scenarios, it can schedule a live consult with a benefits specialist, logging the interaction in Workday as a Case.

Batch -> Real-time
Support scale
04

Onboarding Workflow Orchestrator

Orchestrate the first-week experience for new hires. A Copilot Studio agent acts as a personal guide in Teams: it confirms Workday Onboarding tasks are complete, provides building access info, schedules meet-and-greets, and answers logistical questions. It uses the Workday Contingent Worker and Onboarding APIs to check status and push updates.

Same day
Task completion
05

Manager HRIS Copilot for Team Insights

Provide managers a secure Copilot Studio agent that answers questions about their team using Workday Workers and Performance APIs. Examples: "Show me my team's remaining PTO," "Who is due for a performance review?" The agent enforces RBAC, only returning data for the manager's direct reports, with audit trails.

06

HR Operations Anomaly Detection

Implement a backend CrewAI agent (or scheduled n8n workflow) that monitors Workday Audit and Transaction logs for anomalies—like a spike in termination requests or duplicate benefit enrollments. It summarizes findings and alerts HR operations via a dedicated Teams channel, enabling proactive investigation.

Proactive
Risk mitigation
HR OPERATIONS AUTOMATION

Example Agent Workflows and Conversation Flows

These concrete examples illustrate how a Copilot Studio agent, integrated with Workday APIs, can handle common employee inquiries and automate multi-step HR workflows, directly within Microsoft Teams.

Trigger: An employee asks, "How much PTO do I have left, and can I request next Friday off?"

Agent Flow:

  1. Authentication & Context: The agent authenticates the user via Microsoft Entra ID (SSO) and maps their identity to their Workday Employee ID.
  2. API Call 1 - Balance Inquiry: The agent calls the Workday Get_Time_Off_Balances API (or equivalent) to retrieve the employee's current Paid Time Off (PTO), Sick, and Floating Holiday balances.
  3. Conversational Response: The agent responds in the chat: "You have 12.5 hours of PTO and 3 days of Sick time remaining. Would you like to request PTO for next Friday, May 23rd?"
  4. API Call 2 - Request Submission: If the user confirms, the agent calls the Workday Submit_Time_Off_Request API, constructing the payload with the date, hours, and time-off type.
  5. Confirmation & Next Steps: The agent confirms submission, provides the Workday request ID, and states: "Your request for 8 hours of PTO on May 23rd has been submitted to your manager, Alex Chen, for approval. You'll be notified in this chat when it's approved or if more info is needed."

System Update: The time-off request is created in Workday, triggering the standard approval workflow. A Power Automate flow monitors the request status and posts an update back to the Teams chat via the Bot Framework.

CONNECTING COPLOT STUDIO AGENTS TO WORKDAY'S HR DATA

Implementation Architecture: Data Flow and Security

A secure, API-first architecture for building a Copilot Studio HR agent that answers employee questions using live Workday data.

The integration connects Microsoft Copilot Studio to Workday's Web Services API (typically the Human Resources or Staffing v40.0+ endpoints). A dedicated Azure Function or a secure Power Platform custom connector acts as the middleware layer, handling authentication, request translation, and response formatting. The Copilot Studio agent, deployed as a Teams app or web channel, uses this connector as a custom action to execute queries. For example, when an employee asks, "How much PTO do I have?", the agent's topic triggers a call to the connector, which authenticates to Workday using OAuth 2.0 client credentials, calls the Get_Time_Off_Balances endpoint, and returns a natural-language summary to the user.

Security and governance are paramount. The middleware layer enforces role-based access control (RBAC) by mapping the authenticated Microsoft Entra ID user (from Teams) to their corresponding Workday Worker ID and ensuring queries only return data for that employee or their direct reports. All API calls are logged with user context, query intent, and data accessed for audit trails. Sensitive data like compensation is excluded from the agent's accessible toolset by design. The architecture supports a phased rollout, starting with low-risk queries about company policies and time-off balances before expanding to benefits or pay stubs after validation.

This pattern shifts HR case volume from repetitive, manual lookups to immediate self-service. Instead of an HR specialist logging into Workday to check a balance, the agent provides the answer in seconds, allowing the specialist to focus on complex exceptions. The implementation also establishes a reusable framework for connecting Copilot Studio to other enterprise systems like SAP or ServiceNow, using the same secure middleware pattern for tool calling and data retrieval.

ARCHITECTING THE COPILOT-TO-WORKDAY BRIDGE

Code and Payload Examples

Defining the HR Assistant's Scope

In Copilot Studio, you create a dedicated HR topic (e.g., 'Ask HR') with trigger phrases like "What's my remaining PTO?" or "How do I change my benefits?". The agent uses Power Automate as its connector layer to Workday.

Key variables to capture and pass:

  • UserEmail (from Teams context)
  • QuestionIntent (classified via prompt)
  • EmployeeID (retrieved from Workday lookup)

Example Topic Trigger Payload (to Power Automate):

json
{
  "conversationId": "conv_abc123",
  "userId": "[email protected]",
  "question": "What is my current 401k balance?",
  "detectedIntent": "benefits_inquiry"
}

This structured payload initiates the downstream workflow, ensuring the agent maintains context for multi-turn dialogues about pay, time-off, or benefits.

HR OPERATIONS

Realistic Time Savings and Operational Impact

How a Copilot Studio agent integrated with Workday changes the workflow for common employee inquiries, reducing HR case volume and improving response times.

HR Inquiry TypeBefore AI IntegrationAfter AI IntegrationImplementation Notes

PTO Balance & Policy Questions

Employee submits ticket; HR agent manually logs into Workday, retrieves data, responds. (Hours to next day)

Copilot Studio agent queries Workday API in real-time, provides instant, personalized answer in Teams. (Seconds)

Requires secure API connection and prompt design for data privacy. Agent defers to human for complex policy interpretations.

Pay Stub & Deduction Explanations

HR schedules a call or screenshare to walk through PDFs line-by-line. (30-60 min per case)

Agent retrieves pay statement, uses LLM to explain deductions in simple terms, and can highlight year-to-date totals. (2-3 minutes)

Involves processing structured pay data. Human review loop recommended for initial rollout to ensure explanation accuracy.

Benefits Enrollment Status

HR searches Workday, composes email with status and next steps. (15-30 minutes)

Agent provides real-time enrollment window status, links to forms, and confirms submission receipt. (1 minute)

Leverages Workday's event-driven APIs. Agent can trigger follow-up reminders for incomplete actions.

Onboarding Checklist Progress

New hire emails HR; HR agent checks multiple Workday screens and replies. (20 minutes)

New hire asks agent directly; agent provides a personalized, step-by-step progress report and next action. (Instant)

Built on Workday's onboarding task APIs. Significantly reduces HR 'status check' interruptions during peak hiring.

Company Policy Lookup (e.g., remote work)

Employee searches intranet or files a ticket. HR copies/pastes policy text. (10-30 minutes)

Agent uses RAG over policy documents to provide precise, cited answers and direct links. (Under 1 minute)

Requires a vector index of policy PDFs/SharePoint sites. Agent clearly cites sources to maintain trust.

Time-Off Request Submission

Employee navigates Workday self-service; may still call HR with questions during the process.

Employee converses with agent in Teams; agent guides them through the request, pre-fills data, and submits via API.

Transforms the UI-based workflow into a conversational one. Final submission requires employee confirmation.

Manager: Team Leave Calendar View

Manager logs into Workday, navigates to absence reports, manually coordinates coverage.

Manager asks agent for team outlook; agent generates a summarized view and identifies potential coverage gaps.

Aggregates data from multiple Workday API calls. Focuses on actionable insights rather than raw data dump.

ENTERPRISE AI INTEGRATION

Governance, Compliance, and Phased Rollout

A practical guide to deploying and governing a Copilot Studio HR agent that interacts with sensitive Workday data.

Integrating a conversational AI agent with Workday requires a deliberate approach to data security and user permissions. The agent, built in Microsoft Copilot Studio, must be configured to authenticate via Workday's API using OAuth 2.0 with a service account possessing the minimal necessary permissions—typically read-only access to Worker, Benefit_Plan, and Time_Off data domains. All queries should be logged in an audit trail, linking the user's Microsoft 365 identity to the specific Workday API calls made on their behalf. This ensures compliance with internal HR data policies and provides a clear lineage for any data accessed.

A phased rollout is critical for managing risk and gathering feedback. Start with a pilot group in a single department, limiting the agent's scope to non-sensitive, high-volume queries like company holiday policies or standard time-off balances. Use this phase to monitor the agent's accuracy via conversation logs and refine its prompts for clarity. In the second phase, expand access and introduce more complex workflows, such as explaining personalized benefit elections or calculating remaining PTO. Each new capability should be gated behind a user acceptance testing (UAT) step, where HR administrators validate the agent's responses against the live Workday system before go-live.

Governance extends beyond launch. Establish a regular review cadence where HR operations and IT security teams examine audit logs for anomalous query patterns and assess the agent's performance metrics, such as case deflection rate and user satisfaction. Implement a human-in-the-loop escalation path within Copilot Studio for any query the agent cannot confidently answer or for requests that involve data modification (which the agent should be explicitly prohibited from performing). This structured, iterative approach minimizes disruption, builds organizational trust, and ensures the AI integration scales safely from a pilot to an enterprise-wide HR service.

AI INTEGRATION FOR MICROSOFT COPILOT STUDIO AND WORKDAY

Frequently Asked Questions

Common questions for HR and IT teams building a conversational AI agent to answer employee questions using Workday data.

Connecting securely requires a service account and OAuth 2.0 client credentials. The typical architecture involves:

  1. Provision a Workday Integration System User (ISU): Create a dedicated service account with the minimal API permissions needed (e.g., GET for Worker, Compensation, Benefits, and Time Off data).
  2. Create an OAuth 2.0 Client in Workday: This provides the client_id and client_secret for machine-to-machine authentication.
  3. Build a Secure Connector in Azure: Do not store Workday credentials in Copilot Studio directly. Instead, build a custom connector in Azure API Management or an Azure Function that:
    • Securely stores the OAuth credentials in Azure Key Vault.
    • Handles token acquisition and refresh.
    • Acts as a proxy, accepting requests from Copilot Studio and making the authenticated calls to Workday's REST API (e.g., GET /workers/{ID}/compensation).
  4. Call the Connector from Copilot Studio: Use a Power Automate flow triggered by the Copilot Studio conversation. The flow calls your secure Azure connector, passes the employee context (from the authenticated Microsoft 365 user), and returns the structured data to the agent for response generation.

This pattern keeps credentials out of the low-code platform and centralizes API logic, auditing, and rate limiting.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.