
Announcements
TLDR
Is it at all possible to have Flow / Power Automate take text data from a Forms form and store it into a SharePoint field of type 'Lookup', which for some reason seems to be of type integer?
SPECIFICS
Basically I want to use Forms (rather than PowerApps) to create a simple form for raising approval requests. In the forms form the user will select an email address from a dropdown list (which matches the lookup field on the SharePoint list). I have a basic flow as below to transfer the form response to the SharePoint list, but I'm unable to transfer the email address selection to the Sharepoint list and into a field, presumably because it is a lookup field (which I need it to be for later in the flow) with the unique / primary key being the ID, rather than the email address / text itself.
Does anyone know if this is possible and if there is a workaround or way to translate this information? Or any way to change the unique primary key of the list being looked up to be the email address column?
ERROR MESSAGE
The 'inputs.parameters' of workflow operation 'Create_item_2' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Authorised_x0020_Requestor/Id' is required to be of type 'Integer/int64'. The runtime value '"[CHOSEN EMAIL ADDRESS]"' to be converted doesn't have the expected format 'Integer/int64'.
Hi @Anonymous
You need to get id by using the filter query from the related list.
Please see this link below:
Solved: Updating SharePoint Lookup Column with multiple - Power Platform Community (microsoft.com)
Thanks