Skip to main content

Notifications

Community site session details

Community site session details

Session Id : YHErnzY7DV9Vt+K9jdBsaU
Power Automate - Building Flows
Suggested answer

Trying to create a flow that generates a PDF and emails it with responses from a Form

Like (0) ShareShare
ReportReport
Posted on 12 Jan 2025 20:26:38 by
Goal: When a new Form submission is received, a PDF is automatically created with the details of the form response and emailed out.

I have the basics down I think. I am not well versed in coding or PA. I am using the Initialize Variable function to create the PDF using HTML/CSS code. The contact is pulling from Forms using Dynamic Content. I would like to use some java script in this code that actually reads the response and then makes some color changes on the PDF based on the answer. I am unsure how to do this. I have a feeling I may be doing this in the hardest way possible, lol. I appreciate any tips or advice.
  • narayan225 Profile Picture
    2,507 Super User 2025 Season 1 on 13 Jan 2025 at 12:43:35
    Trying to create a flow that generates a PDF and emails it with responses from a Form
    You can initialise the variable that stores the color variable.
    Then use a condition to check the value of the form submission field.
    And if the condition is true, you can set the color variable to the one that you one.
     
    Then when you initialise the HTML/CSS, you can use the color variable to change the color the one you want.
     
    This way it should work.
     
    Hope this helps.
    Cheers!

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 385 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 328

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 316 Super User 2025 Season 1

Overall leaderboard
Loading started