Extend a desktop action by manually capturing steps in AI Desktop Actions
Extend the automation logic in a desktop action by manually capturing steps in AI Desktop Actions.
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.
- Download the AI Desktop Actions installer to automate repetitive tasks across applications and systems. For more information, see Download AI Desktop Actions installer.
Confirm that the following system requirements are met:
- Windows 11 operating system is used.
- A .NET 9.0 runtime v9.0.10 and .NET 9 Desktop Runtime v9.0.10 is installed.
- No extended monitors are connected.
- Theme must match between the systems used for recording and execution.
- 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.
Familiarize yourself with the Design workspace and Action recorder. For more information, see AI Desktop Actions Design workspace and Action recorder in AI Desktop Actions.
Role required: sn_aia.admin
About this task
Note:
To create desktop actions with AI-assisted anchor validation and automatic screen context generation, use Record with AI instead.
You can simulate a user interaction in an automation by manually capturing screens and defining steps.
Using the controls in the window, you can capture an area of an application window. You can then set one or more anchors, and define steps that represent the user interactions in that window.
- Anchor: Anchors help specify the target area for the interaction by defining a static area from which steps can be defined at a relative distance.
- Step: Steps are your sequential interactions of type click, select, type, scroll, and more.
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.
Procedure
What to do next
- Configure the details of your desktop action. For more information, see Add details to desktop actions in AI Desktop Actions.
- Test and activate the desktop action so that it can be added as a tool to AI agents. For more information, see Test and activate a desktop action in AI Desktop Actions.
- Add the desktop action as a tool to AI agents in AI Agent Studio. For more information, see Add a defined desktop action tool to an AI agent for desktop and web-based task.