- Getting started
- Capabilities
- Data privacy and governance
- Product availability
- Earlier Autopilot capability sets
- User scenarios
- Prompting guide
- Example prompts
- Best practices and limitations
- Supported models and limits
- Quality-check requirements
- Generate tests for requirement
- Import manual test cases
- Find obsolete tests
- Generate tests for SAP transactions
- Generate synthetic test data
- Generate test reports
- Generate coded test cases
- Search Test Manager project
- Troubleshooting
- Autopilot for Everyone
- About Autopilot for Everyone
- Licensing
- User types
- Data sources
- Toolset automations
- Localization
- Prerequisites
- Autopilot widget
- The Autopilot for Everyone tenant card
- Prerequisites for installation
- Enabling Anthropic models
- Installing Autopilot for Everyone
- Updating Autopilot for Everyone
- Uninstalling Autopilot for Everyone
- Configuring Autopilot for Everyone
- Disabling the Autopilot welcome screen in Assistant
- Configuring an LLM for Autopilot for Everyone
- Deploying toolset automations
- Prompt-to-response flow
- Launching Autopilot for Everyone
- Autopilot settings for business users
- Using a specialized Autopilot
- Using a starting prompt
- Uploading and analyzing files
- Running automations
- Interacting with Autopilot answers
- Using suggested prompts
- Starting a new chat
- Chat history
- Providing general feedback
- Clipboard AI Enterprise version
- Designing relevant automations for Autopilot for Everyone
- Troubleshooting
Example prompts for the Autopilot agent experience, including automation generation, test creation, and API workflow operations.
This page collects example prompts for the Autopilot agent experience. For prompting best practices, refer to the Prompting guide.
For automation generation
- Website login: "Create a web automation workflow that navigates to https://acme-test.uipath.com/login and types in Username and Password."
Important:
Objects in the Object Repository must exist prior to prompting Autopilot.
- Website login using Orchestrator assets: "Get values from the ACME_credential asset, which is in the Test folder in Orchestrator. Log in to https://acme-test.uipath.com using the retrieved username and password, then click log in."
Important:
Assets must exist in Orchestrator prior to prompting Autopilot.
- Extract emails and create report: "Extract the latest 100 emails from Outlook from the current month. Create an Excel file with sender and subject details."
- Email-to-Word PDF summary: "Get all my emails with the subject Feature Request. If any email has attachments of type PDF, download the file, summarize it, create a new word file in the current folder, and append the summarization."
- Convert log file to Word document: "Read text file at 'C:\Users\USERNAME\Desktop\Robot.log', write contents into a Word file, and save it as 'AutoPilotDoc.docx' at 'C:\Users\USERNAME\Desktop'."
Important:
Make sure the file paths exist and are accessible.
- Read an email from Outlook using UiPath.Mail.Activities: "Read an email from outlook using UiPath.Mail.Activities."
- Call OData Users API and log the response: "Call OData/Users Orchestrator APIs and display the response as a log message."
- Academic grading: "Read an Excel file with candidate's names, marks, and email addresses. If the score is more than 45, send an email using Outlook to the candidate saying they passed. Otherwise, send an email saying they failed."
For requirement evaluation
You can instruct Autopilot in Test Manager to evaluate requirements from various perspectives such as user flow, consistency, relevance, clarity, completeness, and security, and then generate the top ten enhancement suggestions. You can also use Autopilot to perform specialized analyses focused only on:
- Security aspects like access, protection, authentication, vulnerability, and compliance.
- Performance aspects like response times, throughput, scalability, resource usage, and load handling.
You can also provide Autopilot with supporting documents, such as security guidelines, accessibility guidelines, audit reports, user accessibility specifications, and compliance checklists, to enhance the description of a requirement.
You can use out-of-the-box prompts from the Prompt Library in Test Manager to help analyze your requirements, and you can also add your own custom prompts to the Prompt Library, for future requirement evaluations.
Refer to Best practices and limitations to check the best practices and guidelines available for evaluating requirements.
For manual test generation
Autopilot in Test Manager uses AI to generate test cases and relies on the specificity of requirement descriptions. This includes the following components:
- Concise, user-focused statement that highlights the purpose of the requirement.
- Comprehensive description of the application logic showing the user journey.
- Clear, measurable acceptance criteria including both positive and negative scenarios.
Ensuring the specificity of requirement descriptions allows Autopilot to generate accurate and detailed test steps. You can also give Autopilot additional instructions, whether for end-to-end flow verification or rapid test idea generation, among others, to tailor the test case generation for certain scenarios.
You can provide supporting documents, such as process diagrams and mockups, compliance documents, and discussion transcripts, to give Autopilot additional context to generate more accurate and relevant test cases.
You can use out-of-the-box prompts from the Prompt Library in Test Manager to help generate manual tests, and you can also add your own custom prompts to the Prompt Library, for future test generations.
Refer to Best practices and limitations to check the guidelines and best practices available for generating test cases using Autopilot.
For code
To convert text into code, you can offer Autopilot instructions about generating any C# code, refactor existing code, or generate a UiPath automation.
For more information, refer to Best practices and limitations.
For manual tests
To convert manual test cases into automation, you need a consistent object repository, because Autopilot uses UI Automation capabilities to reference UI elements. It's important to maintain a consistent naming convention for UI elements within manual steps to ensure that the generated automation is relevant. You should also use common activity names in manual steps so they can be easily converted into corresponding UiPath APIs in Studio Desktop.
For more information, refer to Best practices and limitations.
For test data
When you generate synthetic test data, Autopilot considers the existing arguments within your workflow and the additional instructions provided in the prompt to generate test data. You can also provide instructions to follow a certain combination of data, or to customize your data set.
For more information, refer to Best practices and limitations.
For test result analysis
Autopilot in Test Manager provides insights into failed test cases and recommendations for reducing the failure rate in your test portfolio. The more test results you provide, especially with failed test cases, when you generate the report, the more effective it is. The goal of the test insights is to help understand the main reasons why your tests are failing.
Each section within the report displays information about a certain area of your test results, such as:
- Common Errors: groups similar error messages semantically to highlight the most frequent issues.
- Error Patterns: categorizes failed test cases into broader categories. These specific categories identify recurring themes and systemic problems, providing a more clear understanding of the underlying issues in your test execution.
- Recommendations: provides actionable recommendations for enhancements, designed to guide your next steps in optimizing the stability of your test execution.
For API workflows
Autopilot uses a proprietary tool, the API Workflow Assistant, to generate, edit, and analyze API workflows based on your input.
Generate API workflows
Depending on the complexity of your workflow, you can prompt specific instructions, such as:
- What APIs to use (for example, Salesforce, Gmail, Workday)
- What actions to perform with each API (for example, create a case, send an email, retrieve a list of workers)
- What rules should govern the workflow (for example, if a case priority is high, send a notification)
- What error handling mechanism should be used during execution
When you prompt Autopilot to generate a workflow, it analyzes your request, activates the API Workflow Assistant to design the workflow structure, identifies necessary API calls, determines action sequences, and anticipates data flow. If details are missing, Autopilot may ask clarifying questions. It then generates a preview for your review.
| Prompt | Autopilot interaction |
|---|---|
| First prompt: "Create a workflow that manages new customer sign-ups." | Autopilot may ask for more details, or it may provide a basic template. |
| Adding specifics: "When a new customer signs up in our web form (via Webhooks), I want to add them to Salesforce as a new Lead and then send them a welcome email via Gmail." | Autopilot generates a draft workflow. |
| Reviewing initial draft: "Only send the welcome email if their email domain is test.com. Also, if they are from California, set their Salesforce Lead Status to Hot Lead, else, set it to New Lead." | Autopilot refines the workflow with the specified conditions. |
| Handling errors: "Add error handling to ensure that if the Salesforce lead creation fails, I get a notification on my Slack channel." | Autopilot designs and integrates mechanisms, such as Try-Catch blocks or notification activities to make your workflow robust. |
Complex examples
-
New employee onboarding (uses Workday and Slack APIs) "Create a workflow that triggers when a new employee is added to Workday. The workflow should extract the employee name, job title, department, and start date. Then, use the Slack API to post a welcome message in the #office channel, including the employee name, job title, and department. Additionally, send a direct message to the employee with instructions on how to access company resources and complete their onboarding tasks."
-
Case escalation (uses Salesforce and Gmail APIs) "Create a workflow that monitors Salesforce cases with a priority of High and a status of New. If a case remains in this state for more than 4 hours, extract the case details (case number, subject, description, customer name, and contact email). Then, use the Gmail API to send an email to the support manager with the subject 'Urgent Case Escalation' and include the case details in the email body. The email should also contain a link to the case in Salesforce."
Simple examples
-
Sales lead notification (uses Salesforce and Slack APIs) "Create a workflow that sends a Slack message to the #sales channel when a new lead is created in Salesforce with a rating of Hot."
-
New employee onboarding (uses Workday and Gmail APIs) "Create a workflow that sends a welcome email to a new employee personal email when their Workday record is created."
Edit API workflows
When you ask Autopilot to edit a workflow, it parses your request, locates and modifies specific activities, parameters, or logical blocks, ensures data consistency, and generates an updated preview for your review.
| Prompt | Autopilot interaction |
|---|---|
| Simple change: "Instead of Gmail, use Outlook to send the welcome email." | Autopilot modifies the activity and flags any new missing connections. |
| Adding new steps: "After the welcome email is sent, add a step to create a new contact in HubSpot with the customer's email and name." | Autopilot inserts the new activity into the flow. |
| Modifying parameters: "In the Add Lead to Salesforce step, set the Lead Source field to Web Signup." | Autopilot adjusts the specific parameter within the activity. |
| Modifying conditions: "Update the condition for Hot Lead in Salesforce to California OR New York." | Autopilot modifies the conditional logic. |
| Removing steps: "Remove the step that sends the Slack notification if Salesforce lead creation fails." | Autopilot deletes the specified activity. |
| Performing multiple edits: "Change the subject of the welcome email to Welcome to Our Service, [Customer Name]! and also add a step to send a summary of the new signup to a Google Chat space." | Autopilot applies multiple changes in one go. |
| Reviewing the changes: "Show me the updated workflow." | Autopilot generates a new preview of the pending internal changes, often including descriptions of affected activities, and waits for your review. No permanent changes are made to your file at this stage. |
| Accepting the changes: "Confirm the edits." | Autopilot instructs the API Workflow Assistant to commit the pending changes by overwriting the existing project file with the updated workflow, making the edits permanent. |
Analyze API workflows
When you prompt Autopilot to analyze a workflow, it extracts specific information, diagnoses potential issues, and provides insights into the workflow structure, logic, and performance.
| Prompt | Autopilot interaction |
|---|---|
| Summarizing: "Summarize this workflow." | Autopilot provides a high-level overview of what the workflow does. |
| Identifying outputs and inputs: "What inputs does this workflow require?", or "What outputs does this workflow produce?" | Autopilot lists the defined input and output parameters. |
| Listing used connections and APIs: "What APIs are used in this workflow?" | Autopilot lists the connected applications (for example, Salesforce, Gmail, or Outlook). |
| Describing activities or parts of the workflow: "Explain what the Create Lead in Salesforce activity does.", or "Describe the logic within the If Customer Region block." | Autopilot provides a detailed explanation of the specified part of the workflow. |
| Troubleshooting: "Why is the 'Send Welcome Email' activity failing?", or "Analyze this workflow to find any potential infinite loops or dead ends." Provide the context for error messages. | Autopilot examines the workflow for potential issues and suggests solutions, such as modifying activities or adding error handling. |
| Asking for optimization: "Are there any best practices for error handling that I should implement in this workflow?", or "Can this workflow be optimized for better performance?" | Autopilot offers suggestions based on automation best practices. |