Register and Authenticate External Agents
You might need to take additional steps to enable this feature based on your organization's subscription service agreement. Your organization is either on the Main Service Agreement (MSA) or the Universal Main Service Agreement (UMSA). To determine your organization's subscription service agreement:
- Select your profile avatar on Workday Community.
- SelectProfile.
- On your profile page, select your organization's name, which is beneath your name and next to your job title.
- View yourSubscription Service Agreementvalue.
If the value is:
- UMSA, the feature is automatically available. Keep data contributions enabled to ensure full agent functionality. For more information on Machine Learning data contributions, see Concept: Workday AI for Universal Main Subscription Agreement Customers.
- MSA, your organization must opt in to UMSA and enable this feature through Innovation Services.
UMSA is required for non-production and production tenants for Workday-Built agents. UMSA is not required for non-production tenants for self-built agents.
For information about how using agents impacts your Flex Credits, see: Workday Flex Credits Community page.
- Security:
- Agent Management Hubdomain in the Agent System of Record functional area.
- Manage Agentsdomain in the Agent System of Record functional area.
- Set Up: Tenant Setup - Securitydomain in the System functional area.
You must use the Agent System of Record (ASOR) API to define and register external agents. You can use any API client of your preference to invoke the API.
Refer to ASOR v1.2 API documentation on Github and ASOR JSON Swagger documentation sample for troubleshooting.
Registration endpoints:
- REST API Endpoint:https://us.agent.workday.com/asor/v1/agentDefinition.
- Token Endpoint:https://us.agent.workday.com/auth/oauth2/<Tenant_Name>/token
- Authorize Endpoint:https://us.agent.workday.com/auth/authorize/<Tenant_Name>?response_type=code&client_id=<client_id>&state=test3pagent1&redirect_uri=<redirect_uri>
- Authenticate external agents.
- Find the Workday identifiers (WIDs) of the relevant Workday SOAP and REST APIs for the agent tools definition.As you retrieve WIDs for your APIs, you can also cross-reference these lists:
- Access theCreate Custom Reporttask.
- Complete the report:OptionDescriptionReport TypeSelectAdvanced.Optimized for PerformClear this check box.Data SourcePublic Web Servicesfor SOAP APIs andAll Public Service Operationsfor REST APIs.
- ClickOK.
- For SOAP APIs: On theEdit Custom Reportpage, on theColumnstab of the report definition, add these rows:Business ObjectFieldWeb ServiceWeb ServiceWeb Service OperationWeb Service Operation NameWeb Service OperationWorkday ID
- For REST APIs: On theEdit Custom Reportpage, on theColumnstab of the report definition, add these rows:Business ObjectFieldService OperationServiceService OperationNameService OperationWorkday ID
- Save and run the report.
- Find the agent provider.Agent providers refer to who has built the agent and are displayed in theBuilt Byfield on the agent’s profile.
- Access theView Agent Providertask.Security:Setup: Agentsdomain in the Agent System of Record functional area.
- Use the Provider ID in your agent registration API call.
- Find the agent platform.Agent platforms refer to who has built the agent and are displayed in theBuilt Onfield on the agent’s profile.
- ccess theView Agent Platformstask.Security:Setup: Agentsdomain in the Agent System of Record functional area.
- Use the Platform ID in your agent registration API call.
- Call the ASOR REST API.Create a new request to register your agent using an external API client:OptionDescriptionEndpointhttps://us.agent.workday.com/asor/v1/agentDefinitionOperationPOSTHeaders
- Authorization: Bearer <token>
- wd-agent-tenant-alias:<your tenant name>
After you successfully load your agent definition into Workday, you can verify that it is registered by viewing it in the
Agent Management Hub
:
- Access theAgent Management Hub.
- ClickAgent Registryto display a list of your agents.
- Click an agent to display overview information for it.