Skip to main content

Notifications

Community site session details

Community site session details

Session Id : aYcScBDywqptu8qDOKLez6
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,454 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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 105

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 90 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 62 Super User 2025 Season 1

Overall leaderboard
Loading started