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 / Flow Deep Link Variabl...
Power Automate
Answered

Flow Deep Link Variable Providing Only One Item ID

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2

I am attempting to create a Flow that sends an email with a hyperlink that deep links the user into a Power Apps item.

My Flow, based on a Get items filter query, is returning two items (70 and 95). 

When I hover over the email links both show the same 'ID' number (95).

What am I missing?

Phineas_0-1699555825640.png

 

Phineas_1-1699554651066.png

Phineas_2-1699554803706.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Phineas 

     

    You don't need second "Apply to each" action i.e. "Apply to each Send Email". You could just drag the send an email action inside the first apply to each action i.e. "Apply to each Meeting ID". This will resolve your problem.

     

    In current setup, variable keeps on update in each iteration & hence gets the last link value. As the variable stores the last value, so you are getting the same link in every email. If you add send an email action just after Set variable action inside the first apply to each action, the issue will get resolved.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • grantjenkins Profile Picture
    11,063 Moderator on at

    It looks like it's doing this because you have your first Apply to each that sets the ID for the first item, then sets the ID for the second item (overwriting the first ID).

     

    Then in your second Apply to each it is just referencing the value in your variable which will be the last ID you set it to.

     

    What you would need to do is move your second Apply to each inside the first Apply to each.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard