Power Automate - How to read email attachment contents and extract values? Part 1/2

  Рет қаралды 52,527

abm abm

abm abm

Жыл бұрын

This video explains how to read email attachment contents and extract values using Power Automate.
Expression used in this video are:
base64ToString(outputs('Attachment_Content'))
split(output('Content_Text'),outputs('Carriage_Return'))
Name:
last(split(outputs('Extract_Each_Content_Text')[0],':'))
Date
last(split(outputs('Extract_Each_Content_Text')[1],':'))
Company
last(split(outputs('Extract_Each_Content_Text')[2],':'))
Power Automate - How to read email contents and extract values (unstructured data)? - Part 2/2
• Power Automate - How t...

Пікірлер: 81
@bohony
@bohony Жыл бұрын
This was incredibly helpful, thanks very much for posting!
@abm4975
@abm4975 Жыл бұрын
You're so welcome!
@brandonkrous3386
@brandonkrous3386 Жыл бұрын
You are awesome! Thank you!
@abm4975
@abm4975 Жыл бұрын
You're welcome!
@uau779
@uau779 10 ай бұрын
thANKS MR. ABMABM, THIS REALLY HELPED
@abm4975
@abm4975 10 ай бұрын
Thanks a lot for the support
@datadragyn
@datadragyn Жыл бұрын
This video actually solved 2 mysteries for me. 😊 🙏 😊
@abm4975
@abm4975 Жыл бұрын
Hi Amy Thanks for the support.
@liakat26
@liakat26 8 ай бұрын
Thanks for sharing ,sir. Bless you.
@abm4975
@abm4975 8 ай бұрын
You are very welcome
@Saibal994
@Saibal994 4 ай бұрын
Thanks for sharing this video. It's really helpful. If I have an Excel attachment then what is the expression formula that I will be using?
@lubeshbehera1993
@lubeshbehera1993 Жыл бұрын
Awesome content 🤗🤗
@abm4975
@abm4975 Жыл бұрын
Thanks 🤗
@reedpathfinder4
@reedpathfinder4 Жыл бұрын
Hi. Would this flow require modification if there are multiple entries that would need to be created from a single email attachment? For example, a .docx attachment with multiple rows in a table.
@abm4975
@abm4975 Жыл бұрын
Hi Thanks for your comment. You won't be able to read the .docx contents. It's a word document it will be stored in an encrypted format. Thanks
@CallmeIrisZ
@CallmeIrisZ Жыл бұрын
Hi! Thanks for sharing this video. It's super helpful. I am trying to build a workflow starting with an attached csv file arrives at mailbox, extract the .csv contents and the from/to/cc email address as another column to be consolidated in one .csv file and save in SharePoint. Could you provide any suggestions on how to achieve the goal? Thanks!!!
@abm4975
@abm4975 Жыл бұрын
Hi Thanks so much for the support. I was away for few weeks. Do you still need help in this please? Thanks
@BobbyHiIl
@BobbyHiIl Жыл бұрын
Hi! Thanks for the tutorial. Very helpful. Index search isn't the best solution in my case where the attachment text file values are on different rows. (e.g. Name: is on row 9, but row 11 in another attachment) Please provide guidance on what to do in this case?
@abm4975
@abm4975 Жыл бұрын
Hi Bobby Great question. I have made a video based on this. Please have a look and comment. Power Automate - How to read email contents and extract values (unstructured data) - Part 2/2? kzbin.info/www/bejne/oWeyZI1-bJZ9mZI
@reginasantestebanazanza8724
@reginasantestebanazanza8724 Жыл бұрын
Hello this video was so thankfull! Just wanted to ask if the attach file is coded in UFT-8 is there a way to read it? thank you vey much!!
@abm4975
@abm4975 Жыл бұрын
Hi Thanks for the support. Believe you can read the text files.
@raushankumarpandey897
@raushankumarpandey897 Жыл бұрын
If I m doing the same it's coming as click to download rather showing attachments contents..plz help
@ittooutabiht4425
@ittooutabiht4425 Жыл бұрын
Hello, thank you for this video. I have a case where i use power automate to read emails from vendors, find the PO and the carrier tracking number. Then add this tracking number to the appropriated PO in D365 fo. Any suggestions for that please.
@abm4975
@abm4975 Жыл бұрын
Hi Where is your PO held in your email? Is that under the body or subject. Once you extract the values the use the Dataverse connector List rows and apply the filter condition to find the record in D365. One you found the record you can update the tracking number. If you need further help in this please post your requirement details in PowerAutomate community and tag me as @abm. I will have a look. powerusers.microsoft.com/t5/Building-Flows/bd-p/BuildingFlows Thanks
@ylmazozturk06
@ylmazozturk06 Жыл бұрын
in a word, magnificent. Can you share a video to get the contents of the Excel file in the mail attachment? thank you.
@abm4975
@abm4975 Жыл бұрын
Hi Yilmaz Thanks for your support. You need to save the excel file first in SharePoint or OneDrive? Have a look on my channel and there are couple out there describing how to save and read the excel contents. Thanks
@inc3ption733
@inc3ption733 Жыл бұрын
Hello! Great video! I’m trying to do the same thing, but my inputs and outputs only show “click to download.” Do you know how I could remedy this?
@abm4975
@abm4975 Жыл бұрын
Hi Most likely your mapping might be wrong. Could you please post in Power Automate Community and tag me as @abm. powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity Thanks
@ankithguptha5184
@ankithguptha5184 Жыл бұрын
Hello can you make a video on how to extract data from invoices received in the form of documents within Outlook.Dataverse serves as the application’s backend here .
@abm4975
@abm4975 Жыл бұрын
Hi Using the AI capability this is possible. I am planning one soon. Keep checking my notifications. Thanks for the suggestion.
@qaisnaderi6336
@qaisnaderi6336 Жыл бұрын
thanks for this video but i have a question , that is . how to send an email from the file contents . eg i have a file wich it includes email address too and i want to extract this email address and need to send emal for the same email address ? so is it possible to do so??? thanks
@abm4975
@abm4975 Жыл бұрын
Yes it is possible. Say for example you have Id, Price, email and you have data in below order it is possible. 1, 10.00, Test@test.com, 2, 50.00, Test1@test1.com
@zorozz1607
@zorozz1607 Жыл бұрын
Hii, great content, is it possible to read the content if it was in table format?
@abm4975
@abm4975 Жыл бұрын
Hi Sri Yes its possible. Use the HTML to text action step first and see the results. Then you may need to use the split() expression to break each lines. Thanks
@NawazShareefMohammed
@NawazShareefMohammed 8 ай бұрын
hello, I have a case where i am receiving email downloadable links, hgow to use logics apps and save the reports data from the links extracted and save it in azure blob.
@abm4975
@abm4975 8 ай бұрын
Hi Use the HTTP action step. Set GET as the operation, set the downloadable link and use the body output where you can pass to azure blob. Thanks
@levplit212
@levplit212 10 ай бұрын
Helped me a lot to extract from the body of the Email, but then noticed that sometimes the index lines can be different on each Email, how can i solve this?
@abm4975
@abm4975 9 ай бұрын
Most likely your email body is not consistent.
@om0729
@om0729 Жыл бұрын
Hi I follow your video step by step and try to read attached excel file from email. but got error because attachment content action is returning null value. is there any solution to read the excel file content?
@abm4975
@abm4975 Жыл бұрын
Hi Make sure you have the attachment in your email. Also check the apply each loop where I mapped the Dynamic content. You might have a different mapping? Thanks
@adithyabontha4396
@adithyabontha4396 Жыл бұрын
Can we get the same flow running for Scanned Image PDF ?
@abm4975
@abm4975 Жыл бұрын
Not out of the box. You may need to look third party tools or Power AI builder.
@yogeshwarsingh6768
@yogeshwarsingh6768 11 ай бұрын
can we Read Excel Attachment without saving it into Onedrive? is it possible in PowerAutomate Cloud?
@abm4975
@abm4975 11 ай бұрын
Hi Yogesh Thanks for your question. Unfortunately you need to save the file first. There are no other options. Thanks
@llllljakelllll
@llllljakelllll 10 ай бұрын
How do you do it if the attachment is an excel file with multiple rows?
@abm4975
@abm4975 9 ай бұрын
Yes first you need to download the excel file to a OneDrive or SharePoint folder. If the excel file have no tables then create it dynamically so that you can read the excel file contents afterwards. I have few videos around this subject. Check it out. Thanks
@jwalasingh2309
@jwalasingh2309 Жыл бұрын
if we receive xlsx as an attachment in the mail. how we will parse the content of that file
@abm4975
@abm4975 Жыл бұрын
Hi Apologies for the late reply as I was away for few weeks. So when you receive via email first download and create to Onedrive using Power Automate. Next create a dynamic table for reading the contents. Have a look on my channel. I have got few videos around this. Thanks
@NatalyaWilmaRias-bk1ik
@NatalyaWilmaRias-bk1ik Ай бұрын
how about attachment in PDF is there a way to read it?
@abm4975
@abm4975 Ай бұрын
Hi, Unfortunately not. You need to look into Open AI API to read the PDF contents. Also have a look on other third party connector in Power Automate. Microsoft don't have anything out of the box to read the PDF contents. Thanks
@yossilouk8479
@yossilouk8479 6 ай бұрын
Hello there. can we do that with attached PDF doc?
@abm4975
@abm4975 5 ай бұрын
Hi Apologies for the late reply. I was away for a family emergency. Unfortunately it's not possible with PDF docs. There are no out of the box connectors available. Thanks
@TCEI23
@TCEI23 Жыл бұрын
Can you do this if the attachment is an excel file?
@abm4975
@abm4975 Жыл бұрын
Hi Yes its possible. First save the file to OneDrive using PowerAutomate. Then follow this video. kzbin.info/www/bejne/q6O2n5R4a6ySi5Y
@sajasajad096
@sajasajad096 10 ай бұрын
Is it possible extract values from excel attachment
@abm4975
@abm4975 9 ай бұрын
Hi Yes you can extract values once it is saved to a location (OneDrive/SharePoint). Thanks
@bernadettepaterson6867
@bernadettepaterson6867 Жыл бұрын
Hi great video thanks!!How to save extracted values into SharePoint list please
@abm4975
@abm4975 Жыл бұрын
Hi What's your content sample data looks like?
@athinadodbiba1991
@athinadodbiba1991 Жыл бұрын
@@abm4975 my question is partly related to this. So my data is coming from excel attachments and I need to extract them in Sharepoint List. Suggestions? Thanks in advance
@ArthurHenrique-zn8xv
@ArthurHenrique-zn8xv 10 ай бұрын
Does this work for excel attachment?
@abm4975
@abm4975 9 ай бұрын
Yes first you need to download the excel file to a OneDrive or SharePoint folder. If the excel file have no tables then create it dynamically so that you can read the excel file contents afterwards. I have few videos around this subject. Check it out. Thanks
@manojkumar-zy8vo
@manojkumar-zy8vo Жыл бұрын
I want to get contents of word document in SharePoint using power automate Is there a solution?
@abm4975
@abm4975 Жыл бұрын
Unfortunately its not possible. Thanks
@darkhorse7449
@darkhorse7449 Жыл бұрын
How to extract data of an outlook excel attachment into csv
@abm4975
@abm4975 Жыл бұрын
Hi Hi I was away for few weeks. Do you still need help in this please? Thanks
@luckiestgirl3138
@luckiestgirl3138 10 ай бұрын
how do i get a form attachment without using sharepoint list?
@abm4975
@abm4975 10 ай бұрын
Is this Microsoft Form?
@luckiestgirl3138
@luckiestgirl3138 10 ай бұрын
Yes! Hi I have to make a multi level expenditure approval workflow where a response is submitted via MS Forms but the approver at each level might change i.e they may leave and someone new might come so how do i maintain a database where we can edit the approvers at each level in the hierarchy but without using SharePoint lists. Also, everytime I edit my flow after saving it shows " Client request aborted" and I have to start from scratch everytime. Is there a solution? It would be great if you could suggest something for my queries :) Thanks! @@abm4975
@abm4975
@abm4975 10 ай бұрын
Hi You need to store the order of approver somewhere. Why not store in an Excel sheet under OneDrive? Thanks
@aude1115
@aude1115 10 ай бұрын
Hi, I tried the flow for PDF attachment : the result of step "base64tostring" show Chinese characters like "�PNG ????" , what do you suggest to resolve ?Thanks!
@abm4975
@abm4975 9 ай бұрын
Hi I need to look your flow. Happy to look via a screenshare. Check my Channel about section and connect me via teams. Thanks
@wolfcompany2
@wolfcompany2 Жыл бұрын
How hardly will an email come in in this format =.= Not practical.
@abm4975
@abm4975 Жыл бұрын
Different business scenarios. There are automated integration jobs send emails in different ways. Thanks
@ylmazozturk06
@ylmazozturk06 Жыл бұрын
I want to get the contents of the excel file without saving it
@abm4975
@abm4975 Жыл бұрын
Hi Yilmaz You need to save the excel file first in SharePoint or OneDrive? Have a look on my channel and there are couple out there describing how to save and read the excel contents. Thanks
@ylmazozturk06
@ylmazozturk06 Жыл бұрын
hello, no I want to get the content of the file without saving it.
@abm4975
@abm4975 Жыл бұрын
For Excel format you won't be able to get that. Only text files we can read from the content. The encryption of excel content won't allow to read dynamically from the attachment itself. Thanks
@walid3687
@walid3687 Жыл бұрын
@@ylmazozturk06 You can do that using parse json, you will be able to get every column from the attachment file without storing the file in sharepoint or one drive, but you will need to do many data cleaning before parse json
@darkhorse7449
@darkhorse7449 Жыл бұрын
Can you please explain it ?
@piyachatritmaha9923
@piyachatritmaha9923 9 ай бұрын
Can read attachment from excel ?
@abm4975
@abm4975 9 ай бұрын
Yes you can. First you need to save the excel under SharePoint or Onedrive. Then create a dynamic table for the excel file. Once you create the dynamic table you can read the contents. I have few videos around this. Have a look. Thanks
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 32 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
El Departamento de Quejas del Cielo | Historias Cortas para Aprender INGLÉS✔️
17:20
Power Automate - Extract Text Values from an Email Body
7:58
How To Parse Emails and Populate SharePoint Lists Using Power Automate
20:16