자동화를 위한 프롬프트 예시
- 최종 업데이트2025/09/17
Co-Pilot for Automators(Co-Pilot)는 자동화 개발에서 관찰되는 일반적인 트렌드에 대한 다음 예시 프롬프트를 입력할 때 최적의 출력을 생성합니다.
다음 목록에서 프롬프트를 복사한 후 개별적인 세부 사항을 변경하여 자신의 자동화 요구에 맞게 출력을 조정해 보십시오.
Bot editor에서의 프롬프트 예시
-
Open a folder. Loop through each file. Copy the file names and add it in an excel file.
-
Connect to database using myname/mytoken account.
-
Connect to Salesforce using the ConnectionName Control Room OAuth connection.
주: Control Room 연결에서 이 연결을 성공적으로 구성하고 저장했는지 확인합니다. -
Open browser google.com
-
Create a bot that sends email to $EmailTo$, CC $EmailCC$, from $EmailFrom$, subject 'Bot Started', message 'The bot has now started.'
-
Run excel macro "TestMacro" on C:\Temp\MacroFile.xls. Then switch to excel Main worksheet and get all cells.
-
Prompt for the user to select the folderpath. Loop through the selected folder including subfolders. If any excel file is found, then check for the worksheet ‘Main’. If available save it as a PDF in the same folder.
-
이 예시는 Salesforce의 기록을 분석하는 자동화를 구현하며, 각 Salesforce 기록에 대해 데이터를 기존 데이터베이스에 추가합니다. 기록에 이메일이 포함되어 있으면 자동화가 이메일을 보내고, 기록에 이메일이 없으면 자동화가 주석을 추가합니다. 또한, 실행 중에 오류가 발생하면 자동화가 메시지를 표시합니다.
Get records from Salesforce. For each Salesforce record, insert a record into the database. If the record contains an email, send an email. If not, add a comment. If an error occurs when the bot performs these operations show a message box.
명확성을 위해 분리된 여러 작업: 이 예시는 다양한 작업이 데이터 조정을 위해 세부적으로 표현된 복잡한 시나리오를 보여줍니다. 순서가 매겨진 번호는 시퀀스를 지정하며, 렌더링 시 Co-Pilot에 이러한 작업을 순서대로 수행하도록 지시합니다.
Add try catch action. 1. Add SAP connect action with connectivity type as SAP SSO. 2. Send enter as SAP vertual key. 3. Add Delay of 3 ms. 4. Enter the delivery number 858484 by adding the SAP set text action. Field path is wou/tur. 5. Send F7 as SAP virtual key. 6. If window does not exist, update the 'status' column in the excel workbook as 'Invalid' by using Set cell action, else store the Invoice number to the variable using SAP get text action for from field path xyz/abc.
-
이 예시에서는 지정된 조건과 일치하는 이메일을 찾아 기존에 지정된 폴더로 이메일을 옮깁니다.
Move all emails to 'Finance' folder if attachments have any PDF file and the sender is 'finance@aai.com'.
-
이 예시에서는 이메일 패키지를 사용하여 Salesforce 기존 연락처에서 보낸 이메일을 연결하고 저장하는 자동화를 구현합니다. 프롬프트는 Outlook 패키지 대신 이메일 패키지를 사용하도록 지정하며, 이 사용자의 이메일 계정에 이미 존재하는 Salesforce 목록을 기반으로 처리합니다.
Connect to Outlook with email package, save any email to 'c:\temp\MyEmails' if the sender matches the email of any contact in the Salesforce list.
-
이 예시에서는 지정된 조건과 일치하는 이메일을 찾아 지정된 경로에 이메일을 저장한 다음, 이메일 폴더에서 이메일을 삭제합니다.
Backup all emails from HR folder to c:\temp\ExternalEmails if the domain of the sender is 'chad@automationanywhere.com', then delete from the folder.
-
Authenticate sharepoint with Client ID as $ClientID$, Client Secret as $ClientSecret$, Tenant ID as $TenantID$.
-
Create sharepoint folder COPILOT at /SiteName/Folders/FA.
-
Upload file to Sharepoint.
-
If response is A, connect to database and read data. Else, send email to $EmailTo$.
-
If response is A, connect to database and read data. Else if response is B, open www.google.com. Else, send email to $EmailTo$.
-
Use Excel Advanced package to load the data from 'SalesData.xlsx' located in the 'C:\Reports' folder. Write this data into XYZ oracle database.
-
Prompt user for two folders. Loop first folder to find excel files and copy them to second folder.
-
Create a bot to copy data from a table in database to excel.
-
이 예시에서는 대상 열의 값을 기준으로 지정된 두 개의 csv 파일에서 모든 일치하는 결과를 포함한 새 csv 파일을 생성하는 자동화를 구현합니다.
Combine two csv 'a.csv' and 'b.csv' from the folder at c:\temp by using the column AccountNo. Save only the matching result to 'c.csv'.
-
이 예시는 지정된 공급업체가 보낸 Excel 첨부 파일을 지정된 폴더에 저장하는 자동화를 구현합니다.
Read emails from the vendor 'jsmith@aa.com' and save attachments of their emails to the folder c:\temp. Only include the files with .xlsx extension.
-
이 예시는 대상 열을 기준으로 Excel 파일과 csv 파일의 모든 값을 포함한 새로운 csv 파일을 생성합니다.
Combine the excel file 'a.xslx' and the csv 'b.csv' file from the folder at c:\temp by using the column AccountNo. Save all matched and unmatched results to 'c.csv'.
-
Copy the data from the excel file 'a.xlsx' into the excel file 'b.xlsx' for all the worksheets that have matching sheet name.
-
이 예시는 지정된 조건을 충족하는 각 행에 대해 매크로를 실행하는 자동화를 구현하며, 조건을 충족하지 않는 행의 경우 해당 데이터를 다른 지정된 Excel 파일로 복사합니다.
Run macro 'UpdateVendorData' if B2 is 'Pending' in c:\VenderData.xlsx 'Info' tab. Otherwise copy all the data to c:\TodaysVendorData.xlsx.
-
Open excel C:\temp.xlsx. When error occurs, send an email tome@myorg.com.
-
Open excel C:\temp.xlsx and get all rows. If error occurs when performing these operations, send an email.
-
Add try-catch.
-
Add error handler.
Process Composer에서의 프롬프트 예시
-
Create a new customer profile in the CRM system. The name, email address, and phone number will be provided by a user via a form.
-
Read the list of automotive parts from a pdf using a document automation task, use a bot to search these parts in a website, and email the collected information.
-
Start with a form to enter patient information. Then filter out patients that are 75 years old and older. Finally, add a bot to save the information in an excel spreadsheet.
-
Get data from an invoice. If the name starts with "new", check the price. If the price is above 1000, send an email and If the price is below 500, then go to the first task. Otherwise, save the data to Excel file. If the invoice doesn't start with new, validate the document.
-
Add a form task for EntryForm.
-
Add a bot task for botInput.