---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Record steps with AI

# Automate repetitive tasks by recording steps with AI in AI Desktop Actions {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read  
Create desktop actions by recording steps with AI to automate repetitive tasks in AI Desktop Actions. AI validates anchor positions and generates screen contexts automatically after recording, reducing the risk of automation failures at runtime.

## Before you begin

Familiarize yourself with the Design workspace and Action recorder. For more information, see [AI Desktop Actions Design workspace](https://www.servicenow.com/docs/6rfd6i~s45rjn_fHUda_8w "The Design workspace is an interactive environment within AI Desktop Actions that enables you to create desktop actions by recording and configuring user interactions with desktop applications. The workspace provides a visual canvas where you can design multi-screen automation workflows that capture business processes across different applications.") and [Action recorder in AI Desktop Actions](https://www.servicenow.com/docs/CmxR01QlBtzsaiLYj7H5wQ "With Action recorder, you can capture steps to automate repetitive tasks in AI Desktop Actions. You can save the steps that you perform on application elements as a reusable desktop action.").  
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/LQZ2W3lqdbqYawdiSsF7fw "You can enable the AI Desktop Actions application if you have the admin role.").
* 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/HMOiO3LL~jnNfzRsl6R8CQ "Download the AI Desktop Actions installer so that you can install AI Desktop Actions on your Windows machine for designing and running defined desktop actions.").
{#record-with-ai-ad__ul_urn_w5j_y2c}

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.
* The ServiceNow AI Lens skill must be active on your instance. Contact your ServiceNow administrator if you're unsure whether this condition is met.

{#record-with-ai-ad__ul_gcr_cv3_rwai}

Role required: sn_desktop_core.desktop_action_user

## About this task

Record with AI generates more accurate anchor positions automatically, reducing the time you spend on manual anchor adjustments.

When you record with AI, after you finish recording, AI analyzes the recording, validates anchor positions, and corrects inaccuracies before you save or activate the desktop action. AI also generates a screen context for each
captured screen and description for the desktop action. Screen context is a description of what the screen does and what it contains, which helps reviewers and AI agents understand the screen's intent.  
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.

The sn_desktop_core.record_with_ai property is enabled by default, making Record with AI the default recording option. Turn off this property to set the manual recorder as the
default recording option.

## Procedure

1. From your Windows system, launch the AI Desktop Actions application.
2. On the login page, in the Add ServiceNow URL field, enter the ServiceNow instance URL.  
   For example, https://\<instance name\>.service-now.com.  
3. Select Proceed.
4. Log in to your ServiceNow account by entering your user name and password.  
   Your must have the sn_aia.admin role.

5. **Optional:** On the onboarding journey modal, complete the onboarding and select Get started.  

   If you launch the AI Desktop Actions for the first time, the onboarding journey widget appears. You can select Don't show me again to hide the widget the next time you launch AI Desktop Actions or Skip intro to skip the onboarding.
6. On the AI Desktop Actions home page, select Create desktop action.  
7. In the Create Desktop Action dialog, keep the Record with AI (recommended) check box selected.  
   Important:  
   If the Record with AI (recommended) check box is unavailable, the ServiceNow AI Lens is inactive on your instance. Contact your ServiceNow administrator to enable it. You can still create desktop actions using [auto-capture](https://www.servicenow.com/docs/WtTq1gWDHHfpG2wHOQG4Cw "Create desktop actions by auto-capturing steps to automate repetitive tasks in AI Desktop Actions. You can save the steps that you perform on the application elements as a reusable desktop action of type on-screen task.") mode.
8. Enter a name for the desktop action.
9. Select Continue.
10. In the modal, review the tips and select Open recorder to begin.  

    The AI Desktop Actions window is minimized and the Action recorder panel is launched. You can freely drag and reposition the Action recorder panel anywhere on your desktop screen.
11. Open the applications that you want to record steps for.
12. From the Action recorder panel, select Start recording.  
    Important:  
    Before you start recording, review the tips for accurate capturing of anchors and steps. For more information, see [Tips for accurate recording](https://www.servicenow.com/docs/CmxR01QlBtzsaiLYj7H5wQ#action-recorder-ad__section-recording-tips).
    You will see a "Recording started" message on the Action recorder panel. You can select any of the following options when needed from the More options menu:
    * Pause: Skip recording steps
    * Restart: Restart recording the steps

      You will lose the recorded screens and steps.
    * Discard: Discard the recording if it doesn't meet your needs
    {#record-with-ai-ad__ul_zxv_r2d_3hc}
13. Perform the steps that you want to automate.  
    Each step that you perform is captured sequentially and the type of UI action is displayed for each step. For example, Capturing Mouse Left Click event.

    You can capture maximum of 50 steps using the recorder in a recording session. While auto-capturing steps, a counter displays the remaining number of steps you can capture using the
    recorder (for example, "35 of 50 max"). Recording stops automatically after you capture 50 steps. If you must capture additional steps, start a new recording session. The new recording adds screens and steps to those
    captured in the previous recording.
14. After you're done with all the steps, select End recording on the Action recorder panel.  
    You will see the "Draft workflow saved" message on the Action recorder panel.  
    AI processes the recording in three stages:
    1. Analyzing your recording with AI
    2. Inserting anchors
    3. Generating screen contexts
    {#record-with-ai-ad__ol_mtd_k1c_mjc}You must not close the application during processing.

    The recorded steps are displayed as screenshots in the Design workspace with anchors and steps automatically added.
15. When the AI analysis complete banner appears, review the AI-generated anchors and screen contexts.  
    Note:  
    If two applications in the frame have similar logos or visual elements, verify that the anchor position is unique to the target application to avoid incorrect element identification during automation.

    Anchors and screen context generated by AI are marked with an AI badge in the properties panel. For each screen, review the screen context and edit it if needed.  
    Figure 1. AI badge for screens in the properties panel Figure 2. AI badge for anchors in the properties panel  
    Note:  
    The accuracy of AI-generated anchors depends on the application's accessibility, performance, and UI complexity. Always review before activating.
16. **Optional:** To regenerate the screen context and anchor position for a specific screen, select Retry ![]() in the screen properties panel.
17. Review the sequence of captured screens and adjust if necessary.  
    You can adjust the sequence by dragging the screens in the Screens and steps panel.
18. Review and adjust steps.  
    You can modify the sequence by adding, removing, or dragging steps.
    1. From the Anchor control menu, select the Add step icon .
    2. Select the type of step to perform for this step from the contextual menu.  
       {#record-with-ai-ad__table_vtf_jds_ghc__entry__4}

       | Goal | Step | Type | Example |
       |-|-|-|-|
       | Enter text in a field | Set Text | Input | Enter any text data such as a user name, an address, a survey response, or in any situation where text entry is accepted. Note: If you set a static value for this field, the automation uses it during execution and doesn't prompt you for input from the ServiceNow Otto panel. |
       | Simulate a mouse click | Click | Input | Click a button, open a menu, or perform any step typically performed by a mouse click. |
       | Simulate an alternative mouse action (for example, right-click, drag, scroll, or paste) | Mouse Click | Input | Perform various mouse device actions, such as right-click and select an object or scroll on a web page. |
       | Simulate a key press or a key function | Send Keys | Input | Perform keyboard shortcuts, such as copying text by entering <kbd class="ph userinput">Ctrl + C</kbd> on fields and elements. Note: If you set a static value for this field, the automation uses it during execution and doesn't prompt you for input from the ServiceNow Otto panel. |
       | Capture text from a window or web page | Get Text | Output | Receive text from the source area. |
       | Capture a table | Get Table | Output | Receive table from the source area when the text is in the table format. Note: For the step to capture table data successfully, the data must already be in the table form. The step can't convert ordinary text to table data. |
       | Read text from an image | OCR Read Text | Output | Recognize text from images and return it in the standard text format. |
       [Table 1. Description of the actions]

       {#record-with-ai-ad__table_vtf_jds_ghc}

       You can add multiple steps representing your automation steps.
    {#record-with-ai-ad__substeps_rwai}
19. Configure the properties for added screens, anchors, and steps in the Properties panel.  
    For more information, see [Screen, anchor, and step properties in AI Desktop Actions](https://www.servicenow.com/docs/dSXSRZZenXx3T6SkN4PdEQ "Learn about the properties of screens, anchors, and steps. There are multiple types of steps and each step type has distinct properties. You can update the properties to modify the behavior of the steps.").
20. **Optional:** Modify the auto-generated names for all added screens, anchors, and steps.  
    You can modify the auto-generated names following these naming guidelines.
    * Name fields must not be empty.
    * Name fields must contain only alphanumeric characters. Spaces and special characters are not permitted.
    * Each name must be unique at its respective parent level.
      * Each screen must have a unique name at the desktop-action level.
      * Each anchor must have a unique name at the screen level.
      * Each step must have a unique name at the anchor level.
      {#record-with-ai-ad__ul_om5_wnz_3hc}
    {#record-with-ai-ad__ul_sjm_tnz_3hc}
{#record-with-ai-ad__steps_rwai}

## What to do next

1. Configure the details of your desktop action. For more information, see [Add details to desktop actions in AI Desktop Actions](https://www.servicenow.com/docs/abGyi9FA~H5tPDnbFqL23Q "Add desktop action details, such as name, description, and associated applications, and review inputs and outputs.").
2. 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](https://www.servicenow.com/docs/TyomdOuatqEyyW~mM3ZA8g "Test the desktop action and then activate it so that it’s available as a tool in the AI Agent Studio. You can add this tool to the AI agents that execute desktop actions in your desktop environment.").
3. Add the desktop action as a tool to AI agents in AI Agent Studio. For more information, see .
{#record-with-ai-ad__ol_slm_313_hhc}
**Related concepts**   

* [AI Desktop Actions Design workspace](https://www.servicenow.com/docs/6rfd6i~s45rjn_fHUda_8w "The Design workspace is an interactive environment within AI Desktop Actions that enables you to create desktop actions by recording and configuring user interactions with desktop applications. The workspace provides a visual canvas where you can design multi-screen automation workflows that capture business processes across different applications.")
* [Action recorder in AI Desktop Actions](https://www.servicenow.com/docs/CmxR01QlBtzsaiLYj7H5wQ "With Action recorder, you can capture steps to automate repetitive tasks in AI Desktop Actions. You can save the steps that you perform on application elements as a reusable desktop action.")
* [Examples of creating desktop actions](https://www.servicenow.com/docs/5w2cJazGasMFMYp0gR8LIQ "Learn the key concepts and workflow for creating end-to-end desktop actions and building automations for your desktop environments.")
* [Examples of executing desktop actions using AI agents](https://www.servicenow.com/docs/Iu8_QEf44OhoKTJlVK83IA "These examples explain how to trigger AI Agents that execute automations you designed using desktop actions. The following topics walk you through the end-to-end execution flow so you understand how AI-driven execution works in your desktop environment.")  
**Related tasks**   

* [Automate repetitive tasks by auto-capturing steps in AI Desktop Actions](https://www.servicenow.com/docs/WtTq1gWDHHfpG2wHOQG4Cw "Create desktop actions by auto-capturing steps to automate repetitive tasks in AI Desktop Actions. You can save the steps that you perform on the application elements as a reusable desktop action of type on-screen task.")
* [Extend a desktop action by manually capturing steps in AI Desktop Actions](https://www.servicenow.com/docs/I9fWp9dSATSwl7yS7jB2~Q "Extend the automation logic in a desktop action by manually capturing steps in AI Desktop Actions.")  
**Related reference**   

* [Screen, anchor, and step properties in AI Desktop Actions](https://www.servicenow.com/docs/dSXSRZZenXx3T6SkN4PdEQ "Learn about the properties of screens, anchors, and steps. There are multiple types of steps and each step type has distinct properties. You can update the properties to modify the behavior of the steps.")  
**Related topics**   

* 

