I am setting up an automatic Custom File Properties workflow for DMS purposes. For that I am using the following:
- Sharepoint - Storing the files
- Power Automate - To have a flow for end user to trigger adding properties to the selected file
- Power App - Interface for the end user to fill in the necessary data
I need to pass the Selected File's Metadata into my Power App in order to create the Document ID. The logic for the ID is based on the File Path (I can explain that logic if necessary) but there's some string manipulation and such. But I need the raw Metadata string for the File Path.
For the Workflow, I have currently:
1. PowerApp (v2) trigger
2. For the selected file (with correct Site address + Library name)
3. Get file metadata
4. Respond to a PowerApp or Flow (With the only output being the FilePath based on the dynamic value from step 3)

But when I try to save this, I get the following error:
The power flow's logic app flow template was invalid. The 'kind' property of template action 'For_a_selected_item' at line '1' and column '536' is not supported.
Any ideas on how to fix this? Or if there is some way to get a selected file's metadata, specifically the File Path, into Power App? I am very new to both Power Automate and Power Apps so please let me know if I'm misunderstanding something super basic.