- 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
- Wait for Calendar Event Created and Resume
- Wait for Calendar Event Received and Resume
- Wait for Calendar Event Replied and Resume
- Wait for Calendar Event Updated
- Wait for Email Received and Resume
- Wait for Email Sent and Resume
- Wait for File Created and Resume
- Wait for File Updated and Resume
- Wait for Folder Created and Resume
- Wait for Sheet Created and Resume
- Wait for Sheet Cell Updated and Resume
- Wait for Task Created and Resume
- Wait for Task Completed and Resume
- 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
- Release notes
- 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
- Authentication troubleshooting
- AADSTS50011: Redirect URI mismatch
- AADSTS50076: Using multifactor authentication
- AADSTS50079: The user is required to use multifactor authentication
- AADSTS500113: No reply address registered for the application
- AADSTS65001: The user or administrator has not consented to use the application
- AADSTS7000218: The request body must contain the following parameter: client_assertion or client_secret
- AADSTS70002: InvalidClient - Error validating the credentials
- AADSTS50055: The password is expired
- AADSTS700082: The refresh token has expired due to inactivity
- AADSTS50194: Application is not configured as a multitenant application
- Mail troubleshooting
- Calendar troubleshooting
- Files troubleshooting
- Sheets troubleshooting
- 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
Options
Forward email request builder.
Namespace: UiPath.Gsuite.Activities.API
Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)
public class ForwardEmailRequest : BasicEmailRequestBuilder<ForwardEmailRequest>
public class ForwardEmailRequest : BasicEmailRequestBuilder<ForwardEmailRequest>
- Attachments - The attachments of the email.
- Bcc - The hidden recipients of the email.
- Body - The content of the email.
- Cc - The secondary recipients of the email.
- IsBodyHtml - If the email body is HTML format.
- IsDraft - True if the email should be a draft.
- NewSubject - The new subject of the email.
- To - The primary recipients of the email.
- AsDraft - Specifies if the email should be sent as a draft.
- WithAttachment (IResource) - Adds an email attachment.
- WithAttachment (String) - Attaches the specified local file to the email.
- WithBcc - Adds a hidden email recipient.
- WithBody - Specifies the email content.
- WithCc - Adds a secondary email recipient.
- WithHtmlBody - Specifies if the email body should be HTML format.
- WithNewSubject - Specifies a new email subject.
- WithTo - Adds a primary email recipient.
Mail label object interface.
Namespace: UiPath.Gsuite.Activities.API
Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)
Name | Decription |
---|---|
ApplyTo | Adds the label to the specified mail. |
GetEmails | Retrieves a list of emails from the label folder that match the criteria defined in the filter. |
GetNewestEmail | Retrieves the most recent email from the label folder that matches the criteria defined in the filter. |
RemoveFrom | Removes the label from the specified mail. |
void ApplyTo(
IMail mail
)
void ApplyTo(
IMail mail
)
mail
IMail
- The mail to attach the label to.
Retrieves a list of emails from the label folder that match the criteria defined in the filter.
IReadOnlyCollection<IMail> GetEmails(
MailFilter filter = null,
bool includeSubfolders = true,
bool markAsRead = false,
int? maxResults = null
)
IReadOnlyCollection<IMail> GetEmails(
MailFilter filter = null,
bool includeSubfolders = true,
bool markAsRead = false,
int? maxResults = null
)
filter
MailFilter
(Optional)- The mail filter criteria that should be matched for the retrieved emails. Optional, default value is null.
includeSubfolders
Boolean
(Optional)- Specifies if subfolders should be included in the search results. Optional, default value is true.
markAsRead
Boolean
(Optional)- Specifies if the retrieved emails should be marked as read. Optional, default value is false.
maxResults
Nullable<Int32>
(Optional)- Maximum count of retrieved results. Values lower than 0 will be interpreted as unlimited. Optional, default value is unlimited.
Retrieves the most recent email from the label folder that matches the criteria defined in the filter.
IMail GetNewestEmail(
MailFilter filter = null,
bool markAsRead = false
)
IMail GetNewestEmail(
MailFilter filter = null,
bool markAsRead = false
)
filter
MailFilter
(Optional)- The mail filter criteria that should be matched for the retrieved email. Optional, default value is null.
markAsRead
Boolean
(Optional)- Specifies if the retrieved email should be marked as read. Optional, default value is false.
Email filter.
Namespace: UiPath.Gsuite.Activities.API
Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)
public class MailFilter : IFilterExpressionBuilder<MailFilter>
public class MailFilter : IFilterExpressionBuilder<MailFilter>
Name | Description |
---|---|
And | Adds "AND" as logical condition between the filters (all conditions are met). |
By | Adds a filter for collection fields. |
ByBcc | Filter for the hidden recipients of the email. |
ByBody | Filter for the content of the email. |
ByCategories | Filter for the category of the email. |
ByCc | Filter for the secondary recipients of the email. |
ByDateAndTime | Filter for the received date and time of the email. |
ByExpression | Adds an expression to the filters. |
ByFilename | Filter for the attachment name of the email. |
ByFrom | Filter for the sender of the email. |
ByImportant | Filter for important emails. |
ByLabels | Filter for the labels associated with the email. |
ByStarred | Filter for starred emails. |
BySubExpression | Adds a subfilter to the filters. |
Filter for the subject of the email. | |
ByTo | Filter for the primary recipients of the email. |
ByUnread | Filter for unread emails. |
Or | Adds "OR" as logical condition between the filters (any condition is met). |
WithAttachments | Filter for emails with attachments. |
Adds "AND" as logical condition between the filters (all conditions are met).
public MailFilter And()
public MailFilter And()
Adds a filter.
Overloads
Overload | Description |
---|---|
By(MailFilterField, FilterCollectionOperator,
String[]) |
Adds a filter for collection fields. |
By(MailFilterField, FilterDateOperator, DateTime) | Adds a filter for date fields. |
By(MailFilterField, FilterStringOperator, String) | Adds a filter condition for string fields. |
By(MailFilterField, FilterCollectionOperator, String[])
public MailFilter By(
MailFilterField field,
FilterCollectionOperator collectionOperator,
string[] value
)
public MailFilter By(
MailFilterField field,
FilterCollectionOperator collectionOperator,
string[] value
)
Adds a filter for collection fields.
field
MailFilterField
- The field to filter by.
collectionOperator
FilterCollectionOperator
- The collection operator to use for filtering.
value
String[]
- The value to filter by.
By(MailFilterField, FilterDateOperator, DateTime)
public MailFilter By(
MailFilterField field,
FilterDateOperator dateOperator,
DateTime value
)
public MailFilter By(
MailFilterField field,
FilterDateOperator dateOperator,
DateTime value
)
field
MailFilterField
- The field to filter by.
dateOperator
- The date operator to use for filtering.
value
DateTime
- The value to filter by.
By(MailFilterField, FilterStringOperator, String)
public MailFilter By(
MailFilterField field,
FilterStringOperator stringOperator,
string value
)
public MailFilter By(
MailFilterField field,
FilterStringOperator stringOperator,
string value
)
field
MailFilterField
- The field to filter by.
stringOperator
-
The string operator to use for filtering.
value
String
- The value to filter by.
MailFilterField
All available mail filter conditions.
Syntax
public enum MailFilterField
public enum MailFilterField
Options
Option | Value |
---|---|
From | 0 |
To | 1 |
DateAndTime | 2 |
Cc | 3 |
Bcc | 4 |
Subject | 5 |
Body | 6 |
Categories | 7 |
Filename | 8 |
Labels | 9 |
Filter for the hidden recipients of the email.
public MailFilter ByBcc(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByBcc(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for the content of the email.
public MailFilter ByBody(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByBody(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for the category of the email.
public MailFilter ByCategories(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByCategories(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
public MailFilter ByCc(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByCc(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for the received date and time of the email.
public MailFilter ByDateAndTime(
FilterDateOperator dateOperator,
DateTime value
)
public MailFilter ByDateAndTime(
FilterDateOperator dateOperator,
DateTime value
)
dateOperator
- The date operator to use for filtering.
value
DateTime
- The value to filter by.
publicMailFilterByExpression(
stringexpression
)
publicMailFilterByExpression(
stringexpression
)
expression
String
- The expression to be used for filtering.
Filter for the attachment name of the email.
public MailFilter ByFilename(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByFilename(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for the sender of the email.
public MailFilter ByFrom(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByFrom(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
public MailFilter ByImportant(
bool value
)
public MailFilter ByImportant(
bool value
)
value
Boolean
- Negates the query if false.
Filter for the labels associated with the email.
public MailFilter ByLabels(
FilterCollectionOperator collectionOperator,
string[] value
)
public MailFilter ByLabels(
FilterCollectionOperator collectionOperator,
string[] value
)
collectionOperator
FilterCollectionOperator
- The collection operator to use for filtering.
value
String[]
- The value to filter by.
Filter for starred emails.
public MailFilter ByStarred(
bool value
)
public MailFilter ByStarred(
bool value
)
value
Boolean
- Negates the query if false.
Adds a subfilter to the filters.
public MailFilter BySubExpression(
MailFilter expressionBuilder
)
public MailFilter BySubExpression(
MailFilter expressionBuilder
)
expressionBuilder
MailFilter
- The subfilter to be added.
Filter for the subject of the email.
public MailFilter BySubject(
FilterStringOperator stringOperator,
string value
)
public MailFilter BySubject(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for the primary recipients of the email.
public MailFilter ByTo(
FilterStringOperator stringOperator,
string value
)
public MailFilter ByTo(
FilterStringOperator stringOperator,
string value
)
stringOperator
- The string operator to use for filtering.
value
String
- The value to filter by.
Filter for unread emails.
public MailFilter ByUnread(
bool value
)
public MailFilter ByUnread(
bool value
)
value
Boolean
- Negates the query if false.
Adds "OR" as logical condition between the filters (any condition is met).
public MailFilter Or()
public MailFilter Or()
- ForwardEmailRequest
- Syntax
- Properties
- Supported methods
- IMailLabel
- Syntax
- Methods
- ApplyTo
- GetEmails
- GetNewestEmail
- RemoveFrom
- MailFilter
- Syntax
- Constructors
- Methods
- And
- By
- ByBcc
- ByBody
- ByCategories
- ByCc
- ByDateAndTime
- ByExpression
- ByFilename
- ByFrom
- ByImportant
- ByLabels
- ByStarred
- BySubExpression
- BySubject
- ByTo
- ByUnread
- Or
- WithAttachments