web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to update item in ...
Power Automate
Unanswered

how to update item in list based off responders email on forms via another sharepoint list

(0) ShareShare
ReportReport
Posted on by 181

Hey guys,

 

Pretty tricky to think of a subject for this post but hopefully its close enough.

 

I have created a form on Microsoft forms and I have a flow that will populate a sharepoint list based on the responses.

Now, one of the columns in my sharepoint list is a choice field. I want this field to be populated based on the responders email.


The tricky part is I need to get the responders email, check for their email in another seperate sharepoint list and then send back the value to place in the choice field of my first list. I have an image below to hopefully explain a little better:

Amber_L_0-1626830092244.png

Is this something that is possible within flow?

I currently have 'Get Items' with filter = Choice eq 'Responders Email'

but when I go to add in the value into my choice field in list 1, I can only select the ID from list 1, not the Title field.

 

Categories:
I have the same question (0)
  • v-albai-msft Profile Picture
    on at

    Hi @Amber_L ,

    Does your Choice column allow multiple selections?

    Have you enabled below setting of your Choice column?

    valbaimsft_0-1626853596289.png

     

    If this column does not allow multiple selections and also it allows add value manually, you can  use a variable to keep the Title value of filtered record, and then create/update list item in the first list and set Choice column to this variable.

    You can refer to my flow.

    1. Get Responders Email:

    valbaimsft_1-1626853596293.png

    1. Create a blank variable called “ChoiceValue”, then filter records from the second list whose “Email=responders email”:

    valbaimsft_2-1626853596299.png

     

    1. Since we have get the correct record from the second list, set variable “ChoiceValue” to the this record’s Title column. And then create a new list item in the first list using this variable:
    First(body('Filter_array'))?['Title']

    valbaimsft_3-1626853596307.png

     

    See my result:

    valbaimsft_4-1626853596308.png

    valbaimsft_5-1626853596309.png

     

    Best regards,

    Allen

  • Amber_L Profile Picture
    181 on at

    Hey Thanks for your help!

    I have actually just realised my choice column is actually a lookup column, is this still possible?

    I have followed your steps however once I get to Create Item, I cant actually select the variable, it isn't an option.

  • v-albai-msft Profile Picture
    on at

    Hi @Amber_L ,

    You need to do a little changes of the variable(change its type and set to another value).

    See my example, the lookup column in the first list called "Lookup1" and gets Title value from the second list:

    valbaimsft_0-1626918299378.png

    Create a Integer type variable instead of a String type variable:

    valbaimsft_1-1626918299381.png

     

    In “Set variable” action, use this:

    int(First(body('Filter_array'))?['ID'])

    valbaimsft_2-1626918299383.png

    Then create a new list item using this variable:

    valbaimsft_3-1626918299386.png

    See result:

    valbaimsft_4-1626918299386.png

    Best regards,

    Allen

  • Amber_L Profile Picture
    181 on at

    Apologies, I think there is still some confusion. My lookup column is actually referencing a third list. I've added to my image explanation to ellaborate more

    Amber_L_0-1626919063646.png

    so my sharepoint list 1 will pick the lookup value based on the value that is pulled from sharepoint list 2, hopefully this makes a little more sense

  • Verified answer
    v-albai-msft Profile Picture
    on at

    Hi @Amber_L ,

    Here is the process:

    1. As the flow in my first reply, we have get the Title Value in list2(list item which Email=responders email). For example, create a String variable called "TitleValue"=First(body('Filter_array'))?['Title'].

    2. Use above Variable to find the matched list item from list 3 which list3.Choice.Value=TitleValue.

    This time we can get the matched list item from list3. 

    3. As the flow in my second reply, get the ID column value of above record, then use this variable to create list item.

    Best regards,

    Allen 

  • Amber_L Profile Picture
    181 on at

    Oh perfect thank you! I have managed to get that working now! Thanks heaps for your help

  • kinghnvn Profile Picture
    on at

    Hi Allen,

    I'm trying your flows but it's not working

    Below is the error, can you please take a look and advise?

     

    kinghnvn_0-1669868811807.png

    kinghnvn_1-1669868893695.png

    ProjectName Id: First(body('Filter_array'))?['Title']

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard