Thanks again. My Automate flow is written to pull the files stored in a specified folder and include them as attachments in the email sent to my approvers. We want to use the PowerApps (V2) trigger because it supports files as an input type whereas the PowerApps trigger does not. Side note for my power app, the metadata inputs are drop-downs and numbers. Id also like to be able to add metadata at the upload stage but going one step further Id like it to be managed metadata (i.e. Were done creating the upload a document to a SharePoint library functionality. } Then add a gallery to the Submit A Contract app that looks like the screenshot below. I am a technology enthusiast and problem solver. To use PowerApps pdf viewer to view the other document type , we have convert the docx, xlsx or pptx files to a pdf first. I think this could be the cause of the problem. Notice that the parameter names do not match the names we defined in flow. By signing up, you agree to the
This is a complete step-by-step tutorial and covers key co. } Then add these flow actions to create an image file is created in the SharePoint document library and apply a caption to the file properties. Great suggestion! from the Media menu. { It would be neat if it were possible by only using the PATCH function. You'll have no problem to update the columns of a record (if the file is already exist in document library), but you cannot create a new record in document library if don't suply the file and this is not posible right now from PowerApps. powerapps upload file to sharepoint document library Similarly, go to the OnRemoveFile properties and apply the same formula as in the above properties (OnAddFile). The number of records in each change table must be the same as the number of records in the base table. contentBytes: First(att_SubmitContract_AttachFile.Attachments).Value, Open My flows and we will create a new flow. Please see https://aka.ms/logicexpressions for usage details.. So that means for each attachment that it finds in the previous action, it will get the properties for that attachment. I think you should reconsider your solution and adopt a Sharepoint list as database and keep your file doc as item's attachament. Ho do we patch Sharepoint document library from power apps ? You can also update the metadata at the same time. Merges two records outside of a data source: {Name:"Jim", Score:90, Passed:true}, To modify a record, the base record needs to have come from a data source. Then have a Flow that runs on New list item created that moves the attachment to the doc library and updates the doc library metadata with the list item metadata. We'll send you an email at when it's ready. Next, we need to use the "SharePoint - Create File" Action to add our attachment to the document library. Document libraries show up from the data sources panel when you select a SharePoint Online list as a data source. Go to the Image Info field Data card and unlock it (Advanced -> Unlock to change properties). However, i am just wondering if there is a way i can change the name of the attachment from the dropdown boxes of other areas in the form so that it doesnt show a string of numbers when uploading from iphone? For the File Identifier property you'll select the ID from the "Get Attachments" action. The return value of Patch is the record that you modified or created. name:First(AttachFiles.Attachments).Name Once a contract is signed the salesperson attaches the file, adds some metadata (customer name, contract date and customer type) to help keep the contracts organized and presses the upload button to submit the file. UploadFileToDocumentLibrary.Run( Im also wondering if there is a way to define the text inputs to match with the flow? I am the Owner/Principal Architect at Don't Pa..Panic Consulting. Use this code in the Items property of the the gallery to show uploads from newest-to-oldest. For the ID property you'll use the ID of the "when item is created" trigger. Unit_Dropdown.Selected.Value, Alternatively, you can use ThisRecord for the same purpose. You need to send the file content via Power Automate and create the fiel in there. contentBytes: First(att_SubmitContract_AttachFile.Attachments).Value, I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. Just a note though: your code above did not work for me. Thank you for the detailed and lovely feedback korune . To use this function with a data source, specify the data source, and then specify a base record: Then specify one or more change records, each of which contains new property values that override property values in the base record. One of the newly released features of PowerApps is the ability to add attachments to a SharePoint list item. Choose Tablet or Phone layout under the Blank app section. Yes, the code will work with dropdowns/comboboxes so long as the output is text. Thanks. We can now include metadata with the document at the time of upload to SharePoint. By signing up, you agree to the terms of service. Instead of passing a single base record, a table of base records can be provided in the second argument. Please re-read the section of my article titled Add Metadata To A SharePoint Document Library and look at the 2nd paragraph. A great place where you can stay up to date with community calls and interact with the speakers. Thanks! To do this, we will add the "SharePoint - Delete Attachments" action. To add this feature, connect the app to the Contract document library in SharePoint. I cant seem get these to work with flow. Power Apps Containers for Gallery Columns If you use a lot of galleries in your Power Apps, you may have noticed that it can get tedious sometimes, lining things up and arranging controls, especially when you Share this: Click to share on Twitter (Opens in new window) Click to share on Facebook (Opens in new window) { We're already working on setting up your trial. For more information, see Understand data forms. The base record may have come through a gallery's. steps
I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. Thanks for taking the time to have a look. Sometimes Power Apps does not recognize any changes until we do this. I have the same problem could you explain how to solve? In the Power Apps page, Select + New app -> Canvas. I needed to removed and re-attach the flow to my power app before this started to work. { Each Article is filled with practical information and examples to learn from. Make both fields required. I need to put this in the code line for the date picker [$-en-US]yyyy-mm-dd. { }, In your example you have not placed the attachment control in a form. You can find over the internet some great videos about how to upload a file using PowerApps and PowerAutomate. Do you have a Book / PDF collection of most to all of your Articles and Posts? You might think its in the correct position when it is fact not. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy. You can also update the metadata at the same time. appended by SharePoint. Would appreciate anyone being able to have a look at the below and see if there's anything glaring that I've missed? name: First(att_SubmitContract_AttachFile.Attachments).Name You can post using your email address and are not required to create an account to join the discussion. UploadFileToDocumentLibrary.Run( But most folks simply call it tagging documents. name: First(att_SubmitContract_AttachFile.Attachments).Name& &Text(Now(), yyyy-mm-dd hh:mm:ss) The trigger input field is set to required. Open the flow expression editor then copy + paste this code into the File Name field. Then borrow the attachments control from any of the SharePoint lists because it supports multiple file attachments and a preview section. Watch this video to learn how to use the Patch function: Use the Patch function to modify one or more records of a data source. } Fortunately there is a way to accomplish this with Flow! Click here
Then add another action at the bottom of the flow: SharePoint Update file properties, Now we are done updating the Flow. If you are trying to add a new item to a Document Library using Patch, you cannot do this. I was just curious about one pointYou describe the Content Type to be passed to Power Automate as follows, but doesnt this cause the flow to fail because the Outputs in Power Automate do not include the body? So far as I can tell, First(
.Attachments).Value returns the blobmanager url only. txt_SubmitContract_ClientType.Text No special tricks are needed. Sorry, the email you entered cannot be used to sign up for trials. txt_SubmitContract_CustomerName.Text, Please try again later. However, when using your workaround in PowerApps, it causes the Automate flow to send as many emails as there are documents. Make File Content a required input. If the content was useful in other ways, please consider giving it Thumbs Up. First(.Attachments).Value returns the blobmanager url only. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Power Apps Easiest Way To Upload Files To A SharePoint Document Library. did you managed to get it working now bro because i am having the same issue. When you add an Edit form control, you provide users with a form to fill in and then save the changes to a data source. So, what I didnt realise is that the file input in the trigger can process the blobmanager URL as a file, which is absolutely awesome. I'd like to take a moment to introduce myself. We could technically stop here if we wanted as we have accomplished the task of moving the attachments to a library. Any suggestions would be appreciated. Remove any code from the Upload button's OnSelect property and replace it with this code. With any other format, it throws out the error that it is an unsupported format. } Power Platform Integration - Better Together! This my code: UploadFileToDocumentLibrary.Run( To update records in a data source more easily for simple changes, use the Edit form control instead. If your metadata exceeds 20 items, the excess part will no longer be displayed. }, Hi Matthew, as Im doing this on my own PowerApp, I presume that I replace the att_SubmitContract_AttachFile with the name of my PowerApp? The tutorial uses required flow inputs only so my code will be OK. Patch('Risk Assessments',{'Job Type':DataCardValue66.Selected.Value},{'Activity':DataCardValue35.Text},{'Team members': DataCardValue58.SelectedItems}, {'Date': DataCardValue31.SelectedDate},{'Task Location':DataCardValue32.Text},{'Task 1': DataCardValue33.Text},{'Task 1 Hazards':DataCardValue36.SelectedItems},{'Task 1 existing controls': DataCardValue37.SelectedItems},{'Task 1 consequence': DataCardValue55.Selected},{'Task 1 likelihood': DataCardValue59.Selected},{'Task 1 additional controls': DataCardValue42.Text},{'Task 1 residual consequence':DataCardValue56.Selected},{'Task 1 residual likelihood':DataCardValue57.Selected}); The central item of a document library record is the File /Folder itself, or in your case it seems that this important piece is missing. My name is April Dunnam and I am partner and lead developer at a consulting firm in Tulsa, OK. Notify the owner whenever a document is modified Did you delete the flow from your app and add it back after making the changes. Let me know in case of any problem. In these examples, you'll modify or create a record in a data source, named IceCream, that contains the data in this table and automatically generates the values in the ID column: After the previous formulas have been evaluated, the data source ends with these values: Using the As or ThisRecord keyword in the formula avoids ambiguous evaluation context. Related functions include the Update function to replace an entire record, and the Collect function to create a record. This is awesome and a lot easier to configure than @ShanesCows workaround with v1, although that was a feat of wonderfulness, too! I did think of that, although obviously it does add a fair whack of complexity. You can find over the internet some great videos about how to upload a file using PowerApps and PowerAutomate. I would greatly appreciate your help, 1. https://powerusers.microsoft.com/t5/Building-Power-Apps/Possible-to-clear-attachments-when-editing-a-form/td-p/648621 My PowerApp has a business requirement to update custom metadata of a SharePoint Document Library object. A file must be passed as an object to Power Automate. Let's create a flow that will: Notify the Chief Legal Officer and assign him/her as the owner whenever a new document is added. Name the flow UploadFileToDocument library and click Save. I have the same issue and I was many times checked and all inputs are set to be required and the same error is here. Go to the data tab on the left menu and add any existing SharePoint list from your SharePoint site. I am getting the same thing: **Note: The ID doesn't show by default so you may have to click the "Show More" option in the top right hand corner. ); Very good question! Am I missing something? The Set and JSON functions are added to the button in order to upload a file directly to a SharePoint document library. Yes that makes sense and it should work. You can create experiences for your end users to view a listing of files that come from a SharePoint document library. I usually then delete the list item. To make things easier, you can download the flow and import in your environment to follow the steps below. This is really helpful! Based on the Patch formula that you mentioned, I think there is something wrong with it. Please seehttps://aka.ms/logicexpressionsfor usage details I have customized this form with PowerApps and have added the ability to upload attachments to the RFI list item. Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor, Web site https://kamdaryash.wordpress.com This support comes in the form of two new triggers - When a file is created (properties only . txt_SubmitContract_ClientType.Text In contrast, the UpdateIf and the Patch functions modify one or . For example, you use Set(MyAccount, Patch(Accounts, First(Account), 'Account Name': "Example name")); and then MyAccount. We are now done creating the flow to upload a document. They are generic names based on the data type. Did you remember to set all of your flow trigger inputs to required? txt_SubmitContract_CustName.Text, The FileName is going to be the Display Name from our Get Attachments action. Add a new SharePoint document library called Contracts with the following columns and types: The document library will look like this once we upload some files later in the tutorial. Therefore, it is recommended to use the As operator or ThisRecord to resolve the field name and avoid ambiguity. We cannot use it to generate an attachments field.
I've got an app that links to a SP library as a data source ( I want a library rather than a list as I have a populate word document flow linked to the library that I want to keep). For the ID, select the ID from the When an item is created context in the Dynamic Content Window. The Mid, Find, and Len functions are added to the button to isolate the base64. When adding meta data I am receiving an error on the submit button once I adjust the code. The v2 trigger is cool but i cant help thinking this is something that should be much more straightforward to achieve (uploading files to doc library via power app). Unable to process template language expressions in action Create_file inputs at line 1 and column 11834: The template language expression triggerBody()[file][name] cannot be evaluated because property file cannot be selected. However, its not clear how to configure these for custom applications and the code block youve provided doesnt work outside the parameters youve setup on your app. Check out the latest Community Blog from the community! In the Submit A Contract app a salesperson needs to add a file to an attachments field and upload it to SharePoint. .Add two labels, two text box controls and a button to the screen. thanks for your post, I tried to use upload multiple documents, but flow doesnt started, If I use ForAll function. To append a date and time stamp to the document name you can use this code: { Through research it looked like I could get away with the below, but I get the error that I need to use SPFileCollection.Add(), so I guess the question is, is it possible to patch datacards to a SP datasource(library), or will I need to create a library of lookup columns and link them to a list? First that you told me, to delete the flow from the app and add it again and the second one is the format date. Hi Phil, When your formula uses multiple scopes with ForAll, Filter, and Lookup on the same data source or table, it is possible that the scope parameters may collide with a same field elsewhere. This inspires to do some great PowerApps/Flow stuff. My PowerApp has a business requirement to update custom metadata of a SharePoint Document Library object. Ive made the directions bold in the tutorial so hopefully everyone sees that we are using a required field in the flow. I also thought that att_SubmitContract_AttachFile is the name of the app when, in fact, its actually the name of the attachment control (you can also see it in one or more of Matthews screenshots in the blog). ); UploadFileToDocumentLibrary.Run( To patch you must follow the following syntax. Subscribe to get new Power Apps articles sent to your inbox each week for FREE. FWIW, my go to is to create a list with the same site columns as my doc library and just use that in my power app to collect the data and attach a file. File Name requires a flow expression. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Description Update function. Thanks in advance, Melissa. Go back to Power Apps. We are unable to deliver your trial. Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/. contentBytes: First(att_SubmitContract_AttachFile.Attachments).Value, Please check the following screenshot: So on your side, please consider modify your formula as below: Please consider take a try with above solution, check if the issue is solved. { Then go to My flows -> + New flow -> Select Instant cloud flow. Documents cannot be uploaded to a SharePoint document library directly from Power Apps. In the OnSelect property of the print control type the formula Print (). Matthew, one more thing now that Im testing your solution. There is a note am bout using required fields directly below the code block. Ive revised the SelectedDate.SelectedDate code to only a single SelectedDate but other than that the code appears to be working for me. The values of specific fields are modified without affecting other properties. Hey Matthew! Is there a screenshot you can share? name: First(att_SubmitContract_AttachFile.Attachments).Name I have added a new section to the tutorial showing how to upload multiple files at once. I entered this in the expressions for the File Name. Add Power Apps files to SharePoint Library Step - 4: Wow this is another amazing blog! A great place where you can stay up to date with community calls and interact with the speakers. For example, this formula changes the phone number for a customer named Contoso: Patch( Customers, First( Filter( Customers, Name = "Contoso" ) ), { Phone: "1-212-555-1234" } ). If so, I am ready to buy! However, I want to copy over some of the metadata from my list item to the document including the associated RFI #, Vendor Name, etc. A great place where you can stay up to date with community calls and interact with the speakers. contentBytes: First(att_SubmitContract_AttachFile.Attachments).Value, Patch a SharePoint document library using Name to select the record to be updated. Document libraries have a unique icon so you can quickly discover and select them from the data source list. The following controls are supported in the PowerApps web player: Image Video Audio This came out about a month ago but it was a stealth release (no documentation). Im glad you liked it. Youre welcome. I have a complex flow that generates an invitation email and then an Adobe Sign contract. This week, we're pleased to announce another highly requested feature in the SharePoint connector - support for document library properties. The salesperson must also include additional data about the contract to keep the contracts files organized. In this video, you will learn how to upload a file directly to a SharePoint Document Library. Blog site: https://ganeshsanapblogs.wordpress.com/ I'm using Add Picture to store images in a document libary using a Flow. This is a great new feature but what if you'd rather have those documents saved in a document library instead of as attachments? 2. The attachments field cannot be inserted from the menu so we must use a workaround. Name the input File Content. When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. You must be a registered user to add a comment. SharePoint Online document librariesare now available in canvas apps. One of the newly released features of PowerApps is the ability to add attachments to a SharePoint list item. Next, we will add the "SharePoint - Get Attachments" Action. Ideally, I could copy over some metadta from my RFI like the Vendor Name, PO#, WO# and the RFI # to my document in the submittal and surface up those documents in my PowerApp. Ive attempted using it with my drop-downs for metadata but it gives me an error. When did v2 come out, anyway? powerapps upload attachment to sharepoint Save and Preview the app. .Collections are usually considered a structural component of a. Power Platform and Dynamics 365 Integrations. Unable to process template language expressions in action Create_file inputs at line 1 and column 12241: The template language expression triggerBody()[file][name] cannot be evaluated because property name doesnt exist, available properties are . Use IfError and IsError with the return value from Patch to detect and respond to errors, as Error Handling describes. Modify the Power Apps (V2) trigger action to add 3 new inputs as shown below. Create PowerApps Canvas App and use Patch Function Follow these below things: Open the PowerApps page through the Browser. Let me know if it doesnt. ); But when the flow input is optional this is the proper syntax: UploadFileToDocumentLibrary.Run( The following controls are supported in the PowerApps web player: See the documentation and limitations information at the docs site:https://docs.microsoft.com/powerapps/maker/canvas-apps/connections/connection-sharepoint-online. The last optional thing that we can do here is to go back and remove the attachments from our list item so that we don't have duplicate files out there. contentBytes: First(AttachFiles.Attachments).Value, Registered user to add 3 new inputs as shown below your inbox each for. Have not placed the attachment control in a form remember to Set all your. A gallery to show uploads from newest-to-oldest is April Dunnam and i am the Owner/Principal Architect at do Pa... Making the changes and re-attach the flow the Items property of the the gallery to uploads... The as operator or ThisRecord to resolve the field name and avoid ambiguity attempted! Save and preview the app to the Submit a Contract app a salesperson needs to add new... Data source think this could be the Display name from our get attachments action file attachments and button... You quickly narrow down your search results by suggesting possible matches as type. Txt_Submitcontract_Clienttype.Text in contrast, the FileName is going to be working for me about the Contract to keep contracts. You should reconsider your solution done creating the upload button & # x27 ; s OnSelect property and replace with... Can tell, First ( < name of control >.Attachments ).Value returns the blobmanager url only add feature. Or created can find over the internet some great videos about how to upload a document using... We 'll send you an email at when it 's ready the problem see there. In Canvas Apps provided in the base table reconsider your solution the second argument a to! ; unlock to change properties ) Power app, the FileName is going to be updated att_SubmitContract_AttachFile.Attachments... The `` SharePoint - create file '' action the button in order to upload file! Patch function follow these below things: Open the flow to my Power app before this started to.... And numbers ) trigger because it supports files as an object to Power and. Inputs as shown below, it is an unsupported format. were by... Patch is the record that you mentioned, i think you should your. Interact with the speakers flow that generates an invitation powerapps patch document library and then an Adobe Contract. Interact with the document library and look at the below and see if there 's anything glaring that 've! Directly from Power Apps Easiest way to accomplish this with flow they are generic names based on the data on... May have come through a gallery to show uploads from newest-to-oldest app that looks the! So we must use a workaround library Step - 4: Wow this is another blog..., in your example you have not placed the attachment control in a document is modified did you remember Set. The button to powerapps patch document library document at the time to have a look at the below and see if there a... An email at when it is an unsupported format. use it to Save! Multiple powerapps patch document library at once developer at a Consulting firm in Tulsa, OK in to. This, we need to send the file content via Power Automate, SharePoint, and the Patch function files... Field data card and unlock it ( Advanced - & gt ; unlock to change properties.! Learn from the same time single base record may have come through a gallery 's agree to data. 4: Wow this is a way to upload a document library instead of passing a SelectedDate! That, although obviously it does add a fair whack of complexity structural of! Used to sign up for trials data i am partner and lead developer at a Consulting firm Tulsa. And create the fiel in there as database and keep your file doc as 's... Keep the contracts files organized then add a new flow functions include update. Quickly discover and select them from the data type view a listing of that., select the ID from the when an item is created '' trigger the following syntax the a! Passed as an object to Power Automate, SharePoint, and Len functions are added to the library. Useful in other ways, please consider giving it Thumbs up started if! Documents, but flow doesnt started, if i use ForAll function input type the... I did think of that, although obviously it does add a gallery 's cause. For trials trigger action to add attachments to a SharePoint library Step - 4: this... Automate, SharePoint, and Teams Etc than that the code line for the file content Power! Sign up for trials the document at the same time be a registered user to add attachment! That Im testing your solution any code from the data type with community calls and interact with the speakers format! From newest-to-oldest app a salesperson needs to add a gallery 's a file must be passed as an type!, if i use ForAll function for taking the time to have a complex flow that an..Name i have added a new item to a SharePoint document powerapps patch document library directly from Power Apps Easiest to! This started to work app that looks like the screenshot below metadata it... One of the print control type the formula print ( ).collections are usually considered a component! Of passing a single base record may have come through a gallery 's keep your file doc item. Supports files as an object to Power Automate }, in your example you have a flow... Follow the following syntax text inputs to match with the speakers documents can not be used to sign up trials! { it would be neat if it were possible by only using the Patch function select + new flow &! Remove any code from the menu so we must use a workaround multiple documents, but doesnt! Stop here if we wanted as we have accomplished the task of moving the attachments control from of. Of the SharePoint lists because it supports files as an object to Power Automate, SharePoint, and Len are. Modify the Power Apps Articles sent to your inbox each week for FREE 'll the! The Set and JSON functions are added to the button in order to upload a file directly to library. Uploads from newest-to-oldest in PowerApps, it is recommended to use the as operator or ThisRecord to the... Data source list than that the parameter names do not match the names we defined in flow document. From any of the print control type the formula print ( ) environment to follow steps. Of a SharePoint document library object and adopt a SharePoint list from your app and any... File attachments and a button to the screen invitation email and then an Adobe sign Contract Contract... In the Items property of the newly released features of PowerApps is the ability to this... Causes the Automate flow to my flows and we will create a flow. Ive revised the SelectedDate.SelectedDate powerapps patch document library to only a single base record may have through. Auto-Suggest helps you quickly narrow down your search results by suggesting possible matches as you type each... Code from the data type: //ganeshsanapblogs.wordpress.com/ i 'm using add Picture to store images in a document to document... Two text box controls and a button to the tutorial so hopefully everyone sees that we are done... Stop here if we wanted as we have accomplished the task of moving the attachments can. Blog from the data tab on the data type than that the parameter do... Content was useful in other ways, please consider giving it Thumbs up the section of article... Resolve the field name and avoid ambiguity great videos about how to upload a file directly to a document! Adding meta data i am receiving an error single base record, and Len functions are added to the in. Pdf collection of most to all of your flow trigger inputs to match with flow! To required Mid, find, and Teams Etc other ways, please consider giving it Thumbs.! Your example you have not placed the attachment control in a document library from Power Apps does not recognize changes.: https: //ganeshsanapblogs.wordpress.com/ i 'm using add Picture to store images a. The values of specific fields are modified without affecting other properties to accomplish this with.... Drop-Downs for metadata but it gives me an error to an attachments field and upload it SharePoint. V2 ) trigger action to add a new section to the Submit a Contract app looks... Avoid ambiguity inputs to match with powerapps patch document library speakers each attachment that it in! The Mid, find, and Len functions are added to the to... Learn how to upload a file must be passed as an input type whereas the trigger! Your metadata exceeds 20 Items, the UpdateIf and the Collect function to an! Can use ThisRecord for the ID of the newly released features of PowerApps is the record to be cause... Suggesting possible matches as you type place where you can also update the metadata inputs are drop-downs and numbers detailed! Note for my Power app, the metadata at the 2nd paragraph when an item is created trigger! Passing a single SelectedDate but other than that the parameter names do not match the names we defined flow. Metadata but it gives me an error note though: your code did! The newly released features of PowerApps is the ability to add a new flow the steps below is! A workaround is a way to upload a document library app - & gt ; select cloud! Upload button & # x27 ; s OnSelect property and replace it with this code in the Dynamic Window! Doesnt started, if i use ForAll function errors, as error Handling describes include additional data about Contract. Database and keep your file doc as item 's attachament you for the ID from the data source we. It finds in the flow to send the file Identifier property you 'll use the as operator or ThisRecord resolve. Meta data i am having the same purpose flow to send as many emails as there are documents of...