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 / Add CC to send email v2
Power Automate
Answered

Add CC to send email v2

(0) ShareShare
ReportReport
Posted on by 10

Hey guys

 

I am trying to get a CC to work on my flow. So I have a question/answer on my form that asks if you want to CC someone please enter the email. However currently if that answer is left blank, the send email v2 errors outs and never completes the flow.

 

What kind of expression can i put there that says, if this answer is full use it, if not, treat as blank. So it doesnt error out?

 

Thanks in advance!

Categories:
  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @csch1 

    I set up a simple Flow, you can take a try with the following screenshots.

    This is my test From

    vLilyWmsft_3-1629249767449.png

    Flow in details:

    vLilyWmsft_4-1629249800054.png

    CC Expression:

    if(equals(outputs('Get_response_details')?['body/rd111b728b0de4bc39988c9918e53865a'],null),null,outputs('Get_response_details')?['body/rd111b728b0de4bc39988c9918e53865a'])

    vLilyWmsft_5-1629249879881.png

    Note:

    vLilyWmsft_2-1629249637555.png

    When the new response is submitted

    vLilyWmsft_0-1629249428553.png

    The email will send to lily and litest

    vLilyWmsft_6-1629249996693.png

    When the new response is submitted as below:

    vLilyWmsft_7-1629250032631.png

    Just Lily can receive the email.

    vLilyWmsft_8-1629250095965.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • csch1 Profile Picture
    10 on at

    Thank you, I will try this tomorrow when I am back in the office. I will let you know how it goes, and mark as accepted should it succeed

     

  • csch1 Profile Picture
    10 on at

    Thank you. this worked perfectly.

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @csch1 

    You're welcome!😊

    Best regards.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard