Heyy people!! I’m working with document understanding so for now I just extracted the data from a document through the studio web is there any way through which i could send the same data to someone’s mail id thro the same bot if so how
Thank you!
Hi @Shah_Rukh
Try this step:
-
Extract Data: Ensure you have already extracted the necessary data from the document using the Document Understanding activities in UiPath Studio Web.
-
Add Send Email Activity: Drag and drop the Send SMTP Mail Message or Send Outlook Mail Message activity into your workflow.
-
Configure Email Settings:
-
For Send SMTP Mail Message:
- Set the To field with the recipient’s email address.
- Fill in the Subject field with an appropriate subject line.
- In the Body field, include the extracted data. You can format it as needed, such as plain text or HTML.
- Provide the SMTP server details and authentication credentials if required.
-
For Send Outlook Mail Message:
- Similarly, set the To, Subject, and Body fields.
- This method will use your Outlook account to send the email directly.
-
-
Run the Workflow: After configuring the email activity, run your workflow to send the email containing the extracted data.
If you have Office 365 integration available, use Office 365 package activity Send Mail
Hi @Shah_Rukh
You can send the extracted data from Document Understanding via email within your UiPath Studio Web workflow.
Steps:
- Extract Data:
- This step is already done using Document Understanding. Store the extracted data in variables (e.g.,
extractedData
).
- Compose Email Body:
- Use the “Create String” activity to format the extracted data into a readable email body. You can include headers, labels, and the actual extracted values.
- Example:
"Extracted Data:\n\n" + "Invoice Number: " + extractedData("InvoiceNumber").ToString + "\n" + "Total Amount: " + extractedData("TotalAmount").ToString
- Send Email:
-
Use the “Send Outlook Email” activity (if you’re using Outlook) or the “Send SMTP Mail Message” activity (for other email providers).
-
Configure the activity with:
- Recipient’s email address.
- Subject line (e.g., “Document Understanding Extracted Data”).
- Body (the string you created in step 2).
-
For more information regarding email activities, you can refer to the official documentation.
- Send Outlook Mail Message Doc: https://docs.uipath.com/activities/docs/send-outlook-mail-message
- Send SMTP Mail Message Doc: https://docs.uipath.com/activities/docs/send-smtp-mail-message
I hope this helps! Happy automating!