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 Apps / SEND AN EMAIL WITH TEX...
Power Apps
Unanswered

SEND AN EMAIL WITH TEXT WITHIN THE POWERAPPS AND SELECTED DATE

(0) ShareShare
ReportReport
Posted on by

Hi guys, I've already posted to the flow community, but I don't know if it would be good to post here, in case anyone knows.

So...

 

I have a powerapps, where I select the users I want to send the emails to, however I want to write and select a date on that email

 

within the powerapps and send it by email, is it possible?

 

My flow:

part1flow.pngpart2flow.png
And on my powerapps:

flow no powerapps.png

 

And the fields I want to put inside the email:

 

emai.png

 

 

Note: my email works by selecting users, but I just want to see how I can insert a specific date and text

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    If the date is the same for all the users, just add another Ask in Power Apps field to the flow and supply the date as a second parameter when you run the flow from Power Apps.

  • Gorilla_8 Profile Picture
    on at

    @Pstork1  How I reset the date picker? 

    My emails, dont send the text and date:

    date e test.png

     

    fow repeat.png

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    As I said, you need to add the text and date ask Ask In Power Apps fields in the flow and then include them as parameters in the Run command.  So your Run statement should look more like this.

    SEND_EMAIL_PDI.run(JSON(UserColle;Compact),DatePicker1.SelectedDate, TextBox1.Text)

    Where DatePicker1 is the datepicker in Power Apps and TextBox1 is the text box.

     

    I'm not sure what you mean by reset the date.  You can reset the datepicker to the default in Power Apps using

    Reset(DatePicker1)
  • Gorilla_8 Profile Picture
    on at

    Hi @Pstork1 ,

    Yes, I did this, but on flow he didn't work properly.

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    After adding the two additional parameters did you remove the flow from the Power App and re-add it?

  • Gorilla_8 Profile Picture
    on at

    No, why?

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Because its required if you want Power Apps to recognize that you need two additional parameters for the Run() call.  Otherwise the parameters aren't passed, they don't show up in flow and you can't insert them into the email.  

  • Gorilla_8 Profile Picture
    on at

    Yes @Pstork1 

     

    I added the parameters, but I didn’t re-add the flow in the powerapps, that could have been it, and every time I edit it, there’s an error in the powerapps trigger

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    That would be why the trigger is giving you an error.  Make all the changes I suggested. remove and re-add the flow, and then add the new parameters to the email.  Values have to be supplied for them to show up in the email.  It doesn't happen magically.

  • Gorilla_8 Profile Picture
    on at

    Yes, but now an error is coming in JSON

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard