Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Flow Deep Link Variable Providing Only One Item ID

(0) ShareShare
ReportReport
Posted on by 5,049 Super User 2025 Season 1

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

 

 

  • grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: Flow Deep Link Variable Providing Only One Item ID

    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.

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Flow Deep Link Variable Providing Only One Item ID

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1