- Overview
- Excel
- Release Notes
- About the Excel activity package
- Project Compatibility
- Supported character encoding
- Project Settings
- Add or Update Excel Sensitivity Label
- Append Range
- Auto Fill
- Autofit Range
- Change Pivot Data Source
- Clear Sheet/Range/Table
- Copy/Paste Range
- Create Pivot Table
- Delete Column
- Delete Rows
- Delete Sheet
- Duplicate Sheet
- Export to CSV
- Fill Range
- Filter
- Filter Pivot Table
- Find First/Last Data Row
- Find/Replace Value
- For Each Excel Row
- For Each Excel Sheet
- Format As Table
- Format Cells
- Get Cell Color
- Get Excel Chart
- Get Excel Sensitivity Label
- Get Selected Range
- Insert Column
- Insert Chart
- Insert Rows
- Insert Sheet
- Invoke VBA
- Lookup
- Match Function
- Protect Sheet
- Read Cell Formula
- Read Cell Value
- Read Range
- Refresh Excel Data Connections
- Refresh Pivot Table
- Remove Duplicates
- Rename Sheet
- Run Spreadsheet Macro
- Save Excel File
- Save Excel File As
- Save Excel File As PDF
- Select Range
- Sort Range
- Text to Columns
- Unprotect Sheet
- Update Excel Chart
- Use Excel File
- VLookup
- Write Cell
- Write CSV
- Write DataTable to Excel
- Excel Application Scope
- Append To CSV
- Read CSV
- Write CSV
- Delete Column
- Filter Table
- Get Table Range
- Insert Column
- Sort Table
- Append Range
- Close Workbook
- Get Cell Color
- Read Cell
- Read Cell Formula
- Read Column
- Read Range
- Read Row
- Select Range
- Set Range Color
- Write Cell
- Write Range
- Save Workbook
- Create Table
- Get Workbook Sheet
- Get Workbook Sheets
- Refresh Pivot Table
- Create Pivot Table
- Get Selected Range
- Copy Sheet
- Delete Range
- Auto Fill Range
- Copy Paste Range
- Execute Macro
- Insert/Delete Columns
- Insert/Delete Rows
- Invoke VBA
- LookUp Range
- Remove Duplicates Range
- Excel Process Scope
- Manage CSV Files
- Filter CSV Files
- Verify CSV Files
- Table Functions
- Manage Multiple Excel Files
- Interpret Excel Results
- Manage Pivot Tables
- Manage Range Selection
- Read From Excel Files
- Manage Databases in Excel
- Compare CSV Files
- Compare Numeric Values
- Sort Data in Excel Files
- Filter and Delete Rows in Excel Files
- Manipulate Range Selections
- Verify Excel Workbook Data
- Read, Write, and Append Data in Excel
- Google Workspace
- Release notes
- About the Google Workspace activities package
- Project compatibility
- Add Attendee
- Create Event
- Delete Event
- Modify Event
- Search Events
- Use Google Drive
- Share File
- Delete File Permission
- Get File Permissions
- Update File Permission
- Copy File
- Create Folder
- Delete File
- Download File
- Find Files and Folders
- Get File Info
- Move File
- Upload File
- Create Document
- Create New Spreadsheet
- Get Mail Messages
- Send Mail Messages
- Change Labels
- Use Google Spreadsheet
- Add Delete Columns
- Add Delete Rows
- Auto Fill Range
- Add New Sheet
- Append Row
- Batch Spreadsheet Updates
- Copy Sheet
- Copy Paste Range
- Delete Range
- Delete Sheet
- Get Cell Color
- Get Sheets
- Read Cell
- Read Column
- Read Range
- Read Row
- Rename Sheet
- Write Cell
- Write Range
- Clear Range
- Download Spreadsheet
- Use Google Document
- Batch Document Updates
- Get Document
- Get Text Index
- Insert Text
- Replace Text
- Read All Text
- Create Script Project
- Get Project Content
- Upload Script File
- Create Deployment
- Run Script
- Mail
- Microsoft 365
- About the Microsoft 365 activity package
- Project compatibility
- Connections
- AddEmailCategories
- ArchiveEmail
- DeleteEmail
- DownloadEmail
- DownloadEmailAttachment
- DownloadEmailAttachments
- ForwardEmail
- GetEmail
- GetEmailAttachmentsInfo
- GetEmails
- GetMailFolders
- GetNewestEmail
- MarkEmailAsRead
- MarkEmailAsUnread
- MoveEmail
- RemoveEmailCategories
- ReplyToEmail
- SendEmail
- TurnOffAutomaticReplies
- TurnOnAutomaticReplies
- Merge multiple sheets into a new summary Excel sheet
- Automatically accept calendar invites from your manager
- Move files to dedicated folders by type
- Verify if new employment documents (I9 and ID) match
- Add new customers to a SharePoint List
- Delete SharePoint List items newer than yesterday
- Notify me on Slack when an important Outlook Email is received
- Include creation date in new OneDrive file names
- Notify me by email when a new file is created
- Microsoft 365 Scope
- Add Sheet
- Append Range
- Clear Range
- Copy Range
- Copy Sheet
- Create Workbook
- Delete Range
- Delete Sheet
- Get Cell Color
- Get Sheets
- Read Cell
- Read Column
- Read Range
- Read Row
- Rename Sheet
- Write Cell
- Write Range
- Set Range Color
- Create Table
- Get Table Range
- Insert Column
- Delete Column
- Insert Rows
- Delete Rows
- VLookup Range
- Use OneDrive & SharePoint
- Copy File/Folder
- Create Folder
- Delete File/Folder
- Download File
- Export File as PDF
- Find Files And Folders
- Get File/Folder
- Move File/Folder
- Upload File
- Share File/Folder
- For Each File/Folder
- Forward Mail
- Get Mail
- Move Mail
- Send Mail
- Reply to Mail
- Delete Mail
- Set Mail Categories
- Add Attachment
- Add Attendee
- Add Location
- Create Event
- Delete Event
- Find Meeting Times
- Get Calendars
- Modify Event
- RSVP
- Search Events
- Create Group
- Delete Group
- Get Group
- List Groups
- Create Bucket
- Delete Bucket
- List Buckets
- List Bucket Tasks
- Create Plan
- Get Plan
- List Plans
- Create Task
- Delete Task
- Get Task
- List Tasks
- Update Task
- For Each List
- Get List Info
- For Each List Item
- Delete List Item
- Add List Items
- Update List Item
- Get List Items
- Presentations
- Release Notes
- About the Presentations activity package
- Project Compatibility
- Add or Update Powerpoint Sensitivity Label
- Add Data Table to Slide
- Add File to Slide
- Add Image or Video to Slide
- Add New Slide
- Add Text to Slide
- Copy Paste Slide
- Delete Slide
- Format Slide Content
- Get Powerpoint Sensitivity Label
- Replace Text in Presentation
- Paste Item Into Slide
- Run Presentation Macro
- Save PowerPoint File As
- Save Presentation as PDF
- Use PowerPoint Presentation
- Word
- Release Notes
- About the Word Activities Package
- Project Compatibility
- Word Application Scope / Use Word File
- Add or Update Word Sensitivity Label
- Add Hyperlink to Document
- Add Picture
- Append Text
- Get Word Sensitivity Label
- Insert DataTable in Document
- Paste Chart/Picture Into Document
- Read Text
- Replace Picture
- Replace Text in Document
- Save Document As
- Save Document as PDF
- Set Bookmark Content
Forward Email
UiPath.Mail.Activities.Business.ForwardMailX
Forwards the specified email or invite. Should be used for the email or invite currently selected in the Outlook desktop app, or in a For Each Email activity when iterating through Gmail or Outlook emails. This activity must be added inside a Use Outlook 365, Use Gmail, or Use Desktop Outlook App activity.
In the Body of the Activity
- Email - Click Plus on the right side of the field and then, from the menu, select the email to forward. When the activity is inside a For Each Email activity, select CurrentMail to indicate the current mail in the iteration. When automating the Outlook desktop app, you can also select Selected Mail to use the message that is selected in Outlook when the project is executed. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
-
Add To recipients - Click Plus on the right side of the field, and then use one of the options in the menu to select where to forward the email:
- Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file that contains email addresses separated by semicolon (;) to add multiple recipients, or, when automating the Outlook desktop app, use the email addresses from the To field of the email selected in Outlook when the project is executed.
- Use Saved Value - Use data in the form of a list of email addresses that you previously saved for later use in the project.
- Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
- Ask when run - Prompt for the recipients when the project is executed.
- Paste from clipboard - Paste an email address that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
-
Add Cc recipients - Click Plus on the right side of the field, and then use one of the options in the menu to select the secondary recipients of the email:
- Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in Excel with email addresses separated by semicolon (;) to add multiple recipients, or, when automating the Outlook desktop app, use the email addresses from the Cc field of the email selected in Outlook when the project is executed.
- Use Saved Value - Use data in the form of a list of email addresses that you previously saved for later use in the project.
- Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
- Ask when run - Prompt for the recipients when the project is executed.
- Paste from clipboard - Paste an email address that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
-
New subject - Optionally, you can add a new subject for the email. If a new subject is not provided, the default Outlook subject for forwarded emails is used. Click Plus on the right side of the field and then use one of the options in the menu to add a subject for the email:
- Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file, or, when automating the Outlook desktop app, you can use the subject of the of the email selected in Outlook when the project is executed.
- Use Saved Value - Use data that you previously saved for later use in the project.
- Text - Enter a subject in the Text Builder.
- Ask when run - Prompt for the subject when the project is executed.
- Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
- Body - You can add a plain text body, use HTML, or select a Word document to add the file in the email body.
- If you select HTML, click Open Editor to start drafting your email using the WYSIWYG HTML editor.
-
If you select Text, click Plus on the right side of the field, and then select one of the options from the menu to add the text for the body of the email:
- Data from the Project Notebook, a parent Excel file or email account.
- Use Saved Value - Use data that you previously saved for later use in the project.
- Text - Enter the body text in the Text Builder.
- Ask when run - Prompt for the body text when the project is executed.
- Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
-
If you select Use Word Document, indicate a Word document with tables, images. text formatting to add in the body. The email body is formatted as HTML.
Click Browse next to the field, and then browse to a Word file and select it. Alternatively, you can indicate the path to a Word file by selecting an option from the Plus menu on the right side of the field:
- Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file that contains a path.
- Use Saved Value - Use data in the form of a file path that you previously saved for later use in the project.
- Text - Enter a path in the Text Builder.
- Ask when run - Prompt for the path when the project is executed.
- Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
Note:
- The option Use Word Document can only be used with the Outlook desktop app.
-
If the Word document you select contains pictures, some of the pictures may not appear in the body of the email that is sent.
If a picture fails to appear in the email body, try one of the following workarounds:
- Open the Word document, remove the picture, and then add the picture again.
- Change the extension of the Word document to
.zip
, extract the archive, open the file document.xml located in the folder word, search for the attribute r:link, and remove it (for example,r:link="rId11"
). Save the file, then zip the extracted files again and change the extension back to .docx
.
- Save as draft - If selected, the email is saved in the Drafts folder instead of being sent directly to the selected recipients, giving you a chance to check the email before sending it. This option is selected by default.
-
Attachments - Select Files to attach individual files or Folder to attach all the files in a folder. To select the file or folder, click Browse next to the field, and then browse to the file or folder and select it. Alternatively, you can indicate a file or folder path by selecting an option from the Plus menu on the right side of the field:
- Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file that contains a path.
- Use Saved Value - Use data in the form of a path that you previously saved for later use in the project.
- Text - Enter a path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the file name using formulas in the Project Notebook.
- Ask when run - Prompt for the path when the project is executed.
- Paste from clipboard - Paste a value in the form of a path that you previously copied to the clipboard in the project.
- Open in Advanced Editor - Enter a VB expression.
Properties Panel
Common
- DisplayName - The name displayed for the activity in the Designer panel.
- Body - The plain text body of the email, if Text is selected as the body type.
- Body document path - The path to the Word document to use as the body of the email, if WordDocument is selected as the body type.
- New subject - See New subject in the body of the activity.
Input
- Email - See Email in the body of the activity.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
- Body type - See Body in the body of the activity.
- HTML body from file - Specifies the HTML body of the email created using the HTML editor.
- HTML Template - Document which stores the HTML template. When blank, a new template will automatically be created when you use the editor.
- HTML body from text - Specifies the HTML body of the email loaded from a different source and saved as text.
- Max body document size - The maximum size (in MB) a Word document can have to be used as the email body. The default value is 2MB.
- Save as draft - See Save as draft in the body of the activity.
Receiver
- Add Bcc recipients - Add hidden recipients of the email in a similar way to how you add To and Cc recipients.
- Add Cc recipients - See Add Cc recipients in the body of the activity.
- Add To recipients - See Add To recipients in the body of the activity.
Sender
- Sent on behalf of - Another user with access to the mailbox on behalf of whom to send the message. Indicate the user in a similar way to how you indicate a To or Cc recipient.