Attach excel in outlook mail uipath

To attach an Excel file to an Outlook email using UiPath, you can follow these steps:

Prerequisites:

  1. You have UiPath Studio installed on your machine.
  2. You have an Outlook account set up on your machine.
  3. You have an Excel file that you want to attach to the email.

Step 1: Create a new Outlook email

In UiPath Studio, create a new workflow and add an "Outlook" activity to send an email. Configure the activity to create a new email with the desired subject, body, and recipient(s).

Step 2: Attach the Excel file

Add an "Excel" activity to your workflow to attach the Excel file to the email. You can do this by:

a. Dragging and dropping the "Excel" activity from the "Activities" panel to the workflow designer. b. Configuring the activity to open the Excel file using the "File Path" property. You can specify the file path using a variable or a constant value. c. Setting the "File Type" property to "Excel" (.xlsx,.xls, etc.).

Step 3: Attach the Excel file to the email

Add an "Outlook" activity to your workflow to attach the Excel file to the email. You can do this by:

a. Dragging and dropping the "Outlook" activity from the "Activities" panel to the workflow designer. b. Configuring the activity to attach the Excel file using the "Attachment" property. You can specify the file path using a variable or a constant value.

Step 4: Send the email

Add an "Outlook" activity to your workflow to send the email. You can do this by:

a. Dragging and dropping the "Outlook" activity from the "Activities" panel to the workflow designer. b. Configuring the activity to send the email using the "Send" property.

Here's an example of what the workflow might look like:

Outlook -> Create Email
  -> Set Subject
  -> Set Body
  -> Set Recipient

Excel -> Open File
  -> Set File Path
  -> Set File Type

Outlook -> Attach File
  -> Set Attachment
  -> Set File Path

Outlook -> Send Email
  -> Send

Tips and Variations: