De una página web debo descargar un archivo y enviarlo por Gmail

Alguien sabe cómo puedo automatizar esto

De una página web debo descargar un archivo y enviarlo por Gmail

Debe ser el descargado recién

@MAri_Rodriguez,

Welcome to the UiPath Community :tada:
Here are the possible steps to automate the use case.

Step 1: Open Browser and Navigate to Web Page

  1. Open UiPath Studio and create a new process.
  2. Add an ‘Use Application/Browser to open the web page where the file is located.
  • In the ‘URL’ field, enter the URL of the web page.
  1. Add a ‘Click’ activity to navigate through the page and click the download link/button.
  2. If you have the link to directly download the file, you can skip step 3 and directly use Activities - Download file from URL activity and enter the local drive path where you want to download the file in property Save file as. In this scenario Skip the below Step 2.

Step 2: Download the File

  1. Add a ‘Type Into’ activity (if needed) to interact with any form elements (like entering text in a search box).
  2. Add a ‘Click’ activity to click the download button or link.
  • If a file save dialog appears, you may need to use ‘Type Into’ to specify the download location and ‘Click’ activities to confirm the save.
  1. Wait for the download to complete by adding a ‘Delay’ or a custom wait activity if necessary.

Step 3: Send Email with Attachment via Gmail

  1. Add an ‘Assign’ activity to specify the file path of the downloaded file.
  • Example: downloadedFilePath = "C:\path\to\downloaded\file.ext"
  1. Add a ‘Send SMTP Mail Message’ activity to send an email via Gmail.
  • Configure the SMTP settings:
    • Server: smtp.gmail.com
    • Port: 587
    • Email: Your Gmail address
    • Password: Your Gmail password or app password (if 2-step verification is enabled)
    • To: Recipient’s email address
    • Subject: Email subject
    • Body: Email body
    • Attachments: Path to the downloaded file (downloadedFilePath)
      You may have to enable Gmail to be used with UiPath. Follow this tutorial for description about it. Studio - Enabling Gmail for Email Activities

Thanks,
Ashok :slight_smile:

Sale error muchas veces podrás hacer un vídeo de ejemplo

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.