---
sourceDocument: Australia Better Together
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/better-together

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Better Together

ft:clusterId :

    - btss

bundleId :

    - btss

workflow :

    - Technology


---

# Example: Execute employee onboarding automatically

# Example: Execute employee onboarding automatically {#ariaid-title1}

Release version: Australia  
Updated August 18, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read  
As an HR coordinator, automatically onboard new employees by triggering an AI agent that executes the complete employee provisioning workflow from the ServiceNow Otto panel.

## Before you begin

To access the AI Desktop Actions functionality, perform the following steps:

* Enable AI Desktop Actions on your ServiceNow instance. For more information, see [Configure AI Desktop Actions](https://www.servicenow.com/docs/access?context=configure-agentic-desktop&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US).
* Download the AI Desktop Actions installer to automate repetitive tasks across applications and systems. For more information, see [Download AI Desktop Actions installer for defined desktop actions](https://www.servicenow.com/docs/access?context=download-agentic-desktop-installer&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US).
{#example-use-onboarding-ai-agent-ad__ul_urn_w5j_y2c}

Confirm that the following system requirements are met:

* Windows 11 operating system is used.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-1}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-1}
* A .NET 9.0 runtime v9.0.10 and .NET 9 Desktop Runtime v9.0.10 is installed.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-2}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-2}
* No extended monitors are connected.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-4}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-4}
* Theme must match between the systems used for recording and execution.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-6}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-6}
* Remote Desktop must be enabled on your machine and your account must be granted Remote Desktop access permissions before you start using the AI Desktop Actions Execution workspace.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-7}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-7}
* Add the end users who interact with the Execution workspace of AI Desktop Actions to the Remote Desktop Users group on the target machine and provide Remote Desktop access permissions for seamless automation execution.

  If your organization uses Group Policy, add
  the end users to a Microsoft Active Directory group that is permitted to use Remote Desktop through Group Policy on each target machine where desktop actions run.
  * Local changes to the Remote Desktop Users group are temporary unless they align with Microsoft Active Directory entitlements.
  * If the user is not entitled, Group Policy refresh automatically removes them from the group.
  {#example-use-onboarding-ai-agent-ad__ul_rg4_qrb_yhc}{#example-use-onboarding-ai-agent-ad__ad-prereq-li-8}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-8}
* Confirm that your firewall allows bidirectional traffic between the AI Desktop Actions application and your ServiceNow instance on the port 80 for HTTP and port 443 for HTTPs.

  If your organization uses non-standard ports for HTTP or HTTPS, confirm the correct ports with your IT administrator before
  proceeding.

  You must have full permissions to create and use system I/O communication pipes.
  {#example-use-onboarding-ai-agent-ad__ad-prereq-li-9}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-9}
* If applicable, confirm that the `snada://` custom URI protocol is registered to launch the AI Desktop Actions application in the browser.{#example-use-onboarding-ai-agent-ad__ad-prereq-li-10}
{#example-use-onboarding-ai-agent-ad__ad-prereq-li-10}
* The employee onboarding AI agent is deployed and active in your instance.
* The HR system (containing the employee form) and Microsoft 365 admin portal are accessible from the Windows machine.
* New hire data is available in the designated Excel spreadsheet with columns for: Employee Name, Employee ID, Department, Manager, and Email Address.
* The service account running the agent has credentials configured for HR system access and Microsoft 365 admin portal access.

{#example-use-onboarding-ai-agent-ad__ul_onboarding_prereq}  
Note:  
Screen resolution and scaling must be the same between the systems used for recording the agent's desktop actions and the execution environment.

Familiarize yourself with the AI Desktop Actions Execution workspace. For more information, see [AI Desktop Actions Execution workspace](https://www.servicenow.com/docs/access?context=agentic-desktop-excution-workspace&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US).{#example-use-onboarding-ai-agent-ad__ad-prereq-p-4}

Role required: now_assist_panel_user

## About this task

The employee onboarding AI agent automates the complete workflow of onboarding new hires. When you invoke the agent, it executes a series of desktop actions.

Background task: Read Excel data
:   The agent opens the Excel file at the specified path and reads each row containing new hire information. This task runs silently without displaying the spreadsheet.

On-screen task: Create an HR record
:   The agent opens the HR system, navigates to the employee creation form, and fills each field with data from Excel (name, ID, department, manager). The agent validates required fields and submits the form. You see the
    agent interacting with the form on the Windows desktop.

On-screen task: Provision email account
:   The agent navigates to the Microsoft 365 admin portal, creates a new user account with the employee's email address, and assigns the appropriate licenses. This step makes the email account immediately available.

On-screen task: Add to distribution list
:   The agent opens Microsoft Outlook, locates the team distribution list, and adds the new employee's email address as a member. This allows the employee to receive all team communications immediately upon
    activation.
{#example-use-onboarding-ai-agent-ad__dl_execution_details}

Each action is orchestrated by the AI agent, which monitors completion and handles data transitions between steps. The entire workflow completes without manual intervention.  
Important:  
The AI agent executes desktop actions on a Windows machine. Do not interact with the desktop or keyboard during agent execution. The agent requires exclusive access to the Windows desktop to perform its tasks accurately.

## Procedure

1. Prepare the new hire data in the designated Excel spreadsheet.  
   Verify that all required fields are populated: Employee Name, Employee ID, Department, Manager, and Email Address.
2. In ServiceNow, navigate to your HR requests or onboarding queue to confirm all new hire records are ready for processing.
3. Open the ServiceNow Otto panel by clicking the ServiceNow Otto icon in the ServiceNow interface.
4. In the ServiceNow Otto panel, type: <kbd class="ph userinput">Onboard new employees</kbd> or <kbd class="ph userinput">Execute employee onboarding workflow</kbd>.  
   The AI agent recognizes your request and displays a prompt asking for:
   * Excel file path: Location of the spreadsheet containing new hire data
   * HR system URL (optional): Pre-configured if the agent already has access
   * Distribution list name: The team or department distribution list to add employees to
   {#example-use-onboarding-ai-agent-ad__ul_agent_inputs}
5. Enter the required information and initiate execution.
6. Monitor the automation execution.  
   {#example-use-onboarding-ai-agent-ad__table_rhj_4vm_jhc__entry__2}

   | On ServiceNow Otto panel | On AI Desktop Actions Execution workspace |
   |-|-|
   | The AI agent is triggered and starts preparing a plan. | The Execution workspace launches. The AI agent logs in. If this is the first time you launch the Execution workspace using AI agents, enter your Windows Security credentials when prompted. |
   | The agent shows which desktop actions it uses for the execution. | The Execution workspace waits for instructions from AI Agent Studio. |
   | The AI agent shows each step as it executes them. | The AI agent performs the tasks in the Execution workspace that shows the execution status. For more information, see [AI Desktop Actions Execution workspace](https://www.servicenow.com/docs/access?context=agentic-desktop-excution-workspace&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US#ad-execution-status). |
   | The outcome of the execution is shown in the ServiceNow Otto panel. | The Execution workspace returns to the ready state. |
   [Table 1. Automation execution process on ServiceNow Otto panel and AI Desktop Actions]

   {#example-use-onboarding-ai-agent-ad__table_rhj_4vm_jhc}  
   Note:  
   If a pop-up window blocks the automation, select Step in to clear it, then select Step out to return control to the agent.

   During execution, the agent uses the values configured for each input. Values can come from two sources: static values set during design time, or mapped parameter records. If you also specify values for inputs
   configured for parameters in the agent instructions or in the ServiceNow Otto panel, the mapped parameter values override them.
   {#example-use-onboarding-ai-agent-ad__monitor-automation}
{#example-use-onboarding-ai-agent-ad__monitor-automation}
7. After the agent completes execution, verify successful onboarding by checking:  

   HR system
   :   New employee records display in the employee list with all fields populated correctly.

   Microsoft 365 Admin Portal
   :   New employee accounts appear in the user list with assigned licenses and active status

   Microsoft Outlook distribution list
   :   New employees appear as members of the team distribution list

   Exchange online
   :   New employee mailboxes are provisioned and ready for use

   Execution report in ServiceNow
   :   The agent execution record shows all steps completed successfully with timestamps
8. If the agent encounters errors with specific employees, review the error details and resolve any data issues in the Excel spreadsheet or the target systems.  
   Common issues include:
   * Missing data in Excel fields (all fields are required)
   * Duplicate employee IDs in the HR system
   * Invalid email format in the email field
   * Distribution list name spelled incorrectly or list not accessible
   {#example-use-onboarding-ai-agent-ad__ul_common_errors}
9. For records that failed, resolve the issues and re-run the agent with corrected data.  
   The agent will process only the failed records or you can re-run the complete batch.
10. **Optional:** Interact with the automation when your inputs are required.
    * Step in: take control whenever human inputs are required
    * Step out: give the control back to the AI agent.

    {#example-use-onboarding-ai-agent-ad__choices_ut4_kxv_23c}  
    Note:  
    If your automation requires manual inputs, such as entering an OTP or CAPTCHA, you must provide instructions to the AI Agent to wait for the user input during execution. Otherwise, the automation can't proceed. {#example-use-onboarding-ai-agent-ad__step-in-out}
{#example-use-onboarding-ai-agent-ad__step-in-out}
11. **Optional:** Use the smart sizing options to enable your desktop executions automatically adapt to your display.

    | Option | Description |
    | Fit to window | Scales the execution screen to fit within the display area of the Execution workspace. The entire screen is visible without scrolling. Shortcut: <kbd class="ph userinput">ctrl+shift+w</kbd> |
    | Original resolution | Displays the execution screen at its original resolution. Scroll bars appear if the screen is larger than the display area of the Execution workspace. Shortcut: <kbd class="ph userinput">ctrl+shift+d</kbd> |
    |-|-|

    {#example-use-onboarding-ai-agent-ad__choicetable_tbg_qwv_23c} {#example-use-onboarding-ai-agent-ad__smart-sizing}
{#example-use-onboarding-ai-agent-ad__smart-sizing}{#example-use-onboarding-ai-agent-ad__steps_onboarding_execution}

