Skip to main content

Notifications

Community site session details

Community site session details

Session Id : PvVLiAXVyB1o86NXSJlMIB
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,449 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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,692 Most Valuable Professional

Leaderboard
Loading started