Generate automations from a Task Mining request

task australia Updated Jun 17, 2026 4 min read generate-automations-tm.md
Raw file servicenow.com

Use the Automations tab on an automation request to break down a Task Mining recording into discrete automations that Automation Center categorizes as UI-block or non-UI-block interactions.

Before you begin

Before you begin:

  • Required role: sn_aia_admin, sn_ac.automation_admin or sn_ac.automation_technical_user, and sn_tm_core.analyst

  • Optional role: lens_user

    ServiceNow AI Lens confirms that the description of the agent is more accurate. The ServiceNow AI Lens skill is activated.

  • Automation Center must be installed on your instance.

  • ServiceNow Otto for Automation Center plugin must be installed and the User task step summarization skill must be activated.

  • AI Desktop Actions must be installed on your instance.

  • A business user in Task Mining must have submitted an automation request that contains a task recording attachment. Confirm with the business user before proceeding. For more information, see Integration with Automation Center.

About this task

When a business user submits an automation request from Task Mining, the request appears in Automation Center with the task recording summary saved as an attachment. Use this procedure to instruct Automation Center to read that attachment and use AI to break down the task into discrete automations. Each automation is categorized as a UI block (browser-based interaction) or a non-UI block (background application interaction), which determines how AI Desktop Actions handles it when the agent runs.

Important:

As the automations are created using AI, results may vary between runs. Review all generated automations before proceeding to agent creation.

Procedure

  1. Open the automation request submitted by the Task Mining user.

    1. Navigate to Workspaces > Automation center Workspace.

    2. Select the list icon ([Omitted image "autocenter-list-icon.png"] Alt text: List icon.).

    3. On the Lists tab, under Build, select All Automation Requests.

    4. Open the automation request submitted by the Task Mining user.

      Important: To find automation requests from Task Mining, check the Intake source column on the All Automation requests table and look for Task mining.

  2. Verify that the automation request contains the task recording attachment.

    The attachment contains the task timeline and interaction summary generated by Task Mining. Automation Center reads this attachment to generate automations. If the attachment is missing, ask the Task Mining user to resubmit the automation request.

  3. Select the Automations tab on the automation request page.

    The Automations tab displays the automations after you generate them.

  4. Select Generate automations.

    The Generate automations window is displayed.

    [Omitted image "unified-gen-auto.png"] Alt text: Generate automations window

  5. Enter additional instructions in the Optional context field to guide the automation generation.

    Use additional instructions to focus or constrain the output. For example, you can specify steps to exclude or applications to prioritize. If you skip this step, Automation Center uses only the task recording attachment as input.

    Automation Center reads the task recording attachment and uses AI to break down the task into discrete automations. A status message is displayed while the automations are generated.

    Important: AI-generated automations may be inaccurate or incomplete. Always review the results before proceeding.

  6. Review the generated automations.

    Each automation displays the following information:

Field

Description

Name

AI-generated name for the automation.

Execution Mode

Provides information of where this automation is executed.There are two values for this column:

  • Background task: This is the non-UI block automation. For non-UI blocks, instructions are most important.
  • On-Screen task: This is the UI block automation. For UI block, screenshots are most important. Without screenshots, UI block desktop actions aren't generated.

Description

A summary of the steps the automation performs. This field is used as the basis for the AI Desktop Actions tool instructions and the agent instructions when you create the agent. Review this field carefully.

7. Open individual automation tasks to see the details.
The following details are provided:

|Field|Description|
|-----|-----------|
|Automation name|AI-generated name for the automation.|
|Target application|The application the automation interacts with, such as Microsoft Excel or a browser.|
|Input and Output|AI-generated values for the data the automation receives and produces.|
|Description|A summary of the steps the automation performs. This field is used as the basis for the AI Desktop Actions tool instructions and the agent instructions when you create the agent. Review this field carefully.|
|Goal and intent|The primary goal of the automation.|
|Guardrails|Considerations to run the automation smoothly.|
  1. If the results are unsatisfactory, select Generate automations again.

    The Generate automations window is displayed.

    Provide the updates in the Optional context field. You can regenerate automations as many times as needed. Each run calls the AI model again and may produce different results — including changes to automations you did not intend to modify. Review all automations after each regeneration.

    Important: Each prompt starts fresh and doesn't carry forward the previous changes. To keep earlier changes, include all your requirements in one prompt.

Result

The Automations tab displays the automations. You can now create an agent from the automations.

Parent Topic:Automating tasks from Task Mining

Related topics

Automating tasks from Task Mining

Create an agent from automations

Keywords generate automationstask mining requestautomation centerdecompose taskUI blocknon-UI block
Search documentation
Search document titles and file paths on the australia branch