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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / If SharePoint value ex...
Power Automate
Answered

If SharePoint value exists, pass it to URL scheme when sending an email

(0) ShareShare
ReportReport
Posted on by 52

I have a flow setup for when an item is created or modified in SharePoint. I'm trying to set it up so that if a value exists in a field (is not empty), it takes the value and adds it to the end of a URL and adds it to my send email action (referenced as Case # in the screenshot). I know I can create a variable and then use a compose action to generate the URL I'm wanting. I just don't know what to do if the value is blank (null) where I would not want to include the URL.

 

doug_tn_0-1712773111473.png

I would then simply put the MyURL output into my email and it would work fine. But if the Case # value is blank, I want to skip the URL all together.

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

    Hi @doug_tn .

    Please try put this expression into GCNum Var Value:

    if(empty(Case#),null,Case#)

    Best Regards,

    Sunshine Gu

  • Verified answer
    doug_tn Profile Picture
    52 on at

    I ended up creating a condition that determined if the case number value was not equal to null, to generate an email with the GCL link and the no portion of the condition to generate the email without the link

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard