---
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


---

# Example 3: Adaptive desktop action for web

# Trigger an AI agent to execute adaptive path desktop actions {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read  
Trigger an AI agent that uses adaptive desktop actions from the ServiceNow Otto panel. These desktop actions perform tasks on an external website or web application.

## Before you begin

* Confirm that the ServiceNow Web Automation Google Chrome extension is installed and connected to your ServiceNow® instance. For more information, see [Install the Google Chrome extension for adaptive desktop actions](https://www.servicenow.com/docs/YfhlbI6q5~60ipcyCncO1w "Install the ServiceNow Web Automation Chrome extension to the Google Chrome browser. The browser extension enables AI agents to interact with web applications during task execution.").
* Confirm that you're logged in to your ServiceNow instance and it is in the active state in the browser window.
* Verify that enhanced chat is available in ServiceNow Otto panel. The Web view pane is available only when enhanced chat is enabled. For more information see .
* Adaptive desktop actions can handle a broader range of user interactions beyond custom UI, such as triple-click, double-click, right-click, native prompts, dialogues, and alerts.

{#na-ai-wa-access-using-nap__ul_e5r_4yx_1jc}

Role required: now_assist_panel_user for the user and sn_naa.web_agent_runtime for the service account the agent runs as

## About this task

AI agents using adaptive desktop actions perform tasks for you on a website or web application. The AI agent opens the website in a separate browser tab in the background, and reports its actions to you in the ServiceNow Otto panel. During the process, the website might require credentials for a login or acceptance of terms.

How the AI agent handles this depends on whether or not the goal provided by you references stored credentials. For more information, see [Credential and dynamic parameter management](https://www.servicenow.com/docs/RKJ3oy9rSO9oHU~Q5Ambcg "Logs in automatically when a goal references stored credentials configured for a website, without exposing sensitive values in chat or asking you to provide the input.").

You can preserve the context across long-running sessions by summarizing older step history instead of discarding it. When history exceeds the configured window, older steps are automatically
summarized instead of being discarded, preserving context about earlier actions, failed approaches, and application state.  
There are three system properties that handle this:

* sn_naa.web_agent.compaction_enabled
* sn_naa.web_agent.compaction_history_limit
* sn_naa.web_agent.summarization_batch_size
{#na-ai-wa-access-using-nap__ul_xvf_nxn_zjc}

For detailed information about the system properties, see [Components installed with AI Desktop Actions](https://www.servicenow.com/docs/ZeRYABWDzHllVV_TYBIpKg "Several types of components are installed with activation of the sn_desktop_agents plugin, including user roles and tables.").  
Here are tips for writing successful requests for the LLM:

* Be sure to provide the URL to your target website, using the format <kbd class="ph userinput">https://www.example.com</kbd> or <kbd class="ph userinput">example.com</kbd>.
* Make your request clear and specify your goal.
* List steps to achieve the goal, if possible.
{#na-ai-wa-access-using-nap__ul_cxc_bk2_4gc}

## Procedure

1. On your ServiceNow instance, open the ServiceNow Otto panel by using the ServiceNow Otto ![ServiceNow Otto icon.]() icon.  
   Use the same instance that the ServiceNow Web Automation extension is connected to and has at least one AI agent that uses adaptive desktop actions.
2. Type your request.  
   ServiceNow Otto panel asks for details about your request.

3. Enter details about the task you want the AI agent to execute for you.  
   Examples of tasks you can request:
   * Manual log in (Without using stored credentials)
     * Can you find the best coffeemaker on amazon.com?
     * Can you find the latest invoice from invoiceninja.com?
     * Navigate to https://www.accuweather.com/. In the Search field, enter "zip code 95054" and search. In the search results, open the first page. Find the current temperature in degrees Fahrenheit and tell me the temperature.
     * Navigate to en.wikipedia.org. On the main page of wikipedia.org, in the Search field, search for "Santa Clara, California". In the search results, open the first page listed, and read its contents. Summarize the contents of the page in 2 or 3 sentences.
   * Automatic log in (Using stored credentials)
     * Go to https://www.example.com/ and authenticate using parameter 'user_name' and parameter 'password'.
     * Open https://www.example.org/ and log in with stored 'user_name' and stored 'password', then select Transactions.
     * Open https://www.example.net/ and log in using username from reference 'user_name' and password from reference 'password'. Then navigate to 'Task List', remove any filters, choose Pending status, and select Save.For more information, see [Credential and dynamic parameter management](https://www.servicenow.com/docs/RKJ3oy9rSO9oHU~Q5Ambcg "Logs in automatically when a goal references stored credentials configured for a website, without exposing sensitive values in chat or asking you to provide the input.").

     {#na-ai-wa-access-using-nap__ul_kct_wyq_kkc}

   In your conversations with AI agents, the actual wording of the questions and answers may be different from the given examples. For more information about ServiceNow Otto panel, see .
4. Review the execution plan proposed by the AI agent and confirm your approval.
   * If you're satisfied that the AI agent understood your request, then enter <kbd class="ph userinput">proceed</kbd> or <kbd class="ph userinput">approve</kbd>
   * If you're not satisfied with the AI agent's plan, try to rephrase your request.

   {#na-ai-wa-access-using-nap__choices_g41_f4x_1jc}  
   After you indicate approval, the AI agent begins to execute its plan. It provides updates on its process in the ServiceNow Otto panel.  
   Note:  
   The system may display an error about a setup configuration if the ServiceNow Web Automation Google Chrome extension is disconnected. Verify that the browser extension displays Connected by refreshing the browser windows that has the ServiceNow instance open.
5. Monitor the AI agent's updates in ServiceNow Otto panel.  
   You can see the following:
   * AI agent opens a concurrent browser tab to your target website, labeled "Opened for you".  
     Note:  
     Each browser session starts on a blank page instead of a search engine homepage, and the same browser tab is reused for every action within a chat session instead of opening a new tab each time. If the previous tab no longer exists, or is no longer part of a tab group, a new tab opens.
   * The Web view tab displays periodic screenshots of how AI agent navigates to the website and perform requested steps.

     You can switch to the Web view by selecting the Web view tab or by selecting the Walkthrough of AI agents on the web card in ServiceNow Otto panel.

   {#na-ai-wa-access-using-nap__ul_p23_kkp_lgc}  
   Note:  
   If your goal references stored credentials that aren't defined for the website, or doesn't reference stored credentials at all, the agent prompts you to log in manually. Switch to the website's browser window, log
   in, and confirm in chat so the agent can continue.

   If your goal references stored credentials (dynamic parameters previously configured for that website), the agent retrieves the corresponding values and enters them on the login page automatically. You don't have
   to provide anything in the chat.

   Values marked as sensitive in the stored credentials are never displayed, in the chat or elsewhere. Non-sensitive values, such as a username, might appear as part of the agent's plan.

   To use the stored credentials, an administrator must first define them as desktop action parameters. For more information, see [Enable AI agents to securely access parameters in AI Desktop Actions](https://www.servicenow.com/docs/z3FfiEniALJzkItjTYAVYw#configure-parameter-record-ad "Enable AI agents to securely access stored values, such as credentials and other input data, through Desktop Action Parameter records. Parameters protect sensitive values and provide dynamic inputs to desktop actions during agent execution.").
6. When the AI agent returns satisfactory results in the ServiceNow Otto panel chat, enter a closing such as <kbd class="ph userinput">Thank you</kbd> to signal to the AI agent that the task is finished.  
   If the AI agent doesn't take the expected steps, you can take over and complete them manually.

## Result

The browser tabs opened during goal execution in adaptive desktop actions stay open after the goal completes. Use the `keep_tab_open` system property to turn this behavior on or off. The property is turned on
by default.

## What to do next

You can delete the chat log in ServiceNow Otto panel if any sensitive information was captured. For detailed instructions, see [Delete an AI agent chat log](https://www.servicenow.com/docs/WYWyaAIekwZBnjJ8GAjk3A "After you close an AI agent session, you can delete its chat if any sensitive information was captured. Deleting your chat log permanently erases the chat history of that session, including screenshots.").
* **[Delete an AI agent chat log](https://www.servicenow.com/docs/WYWyaAIekwZBnjJ8GAjk3A)**   
  After you close an AI agent session, you can delete its chat if any sensitive information was captured. Deleting your chat log permanently erases the chat history of that session, including screenshots.

