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 / Generating a purchasin...
Power Automate
Unanswered

Generating a purchasing order on the fly based on PowerApps form.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

We have a requirement as follows for a client.

  • Procurement department will enter the PURCHASE ORDER which has supplier information, supplier address, contact, phone, supplier email, description items etc.

    We will be using PowerApps with SharePoint Online.

  • Now, the client is asking to pull a template (Word Document) for Purchasing order FORM (PowerApps) and autogenerate this PowerApps form as PDF when the procurement enters the data. After that PDF document to different suppliers.
  • For e.g.

    Consider an HR recruitment form where HR admin creates a FORM (3rd party SharePoint Online Form) with candidate’s information such as candidate’s first name, last name, personal email address emails, candidate’s manager etc. as shown:

    01 HR Form.png


    Manager approves the candidate.
    and Offer letter is generated with the information pre-filled detailed with Form that HR admin filled in.

    Offer letter is generated in a document library called NewUserDocTemplates
         02 Generated Offer Letter.png

Offer Letter Template  - Test.docx is a template based on HR Form teams have pre-defined.

03 Contents of Offer Letter.png04 HR Offer Letter template from Workflow.png
and Workflow has all the variables  



Q: Does PowerApps / Flow has the option to generate offer letter or purchasing order based on PowerApps form and Flow?
 
There is a flow connector that converts Office documents to PDF. https://flow.microsoft.com/en-us/blog/convert-files-using-muhimbi/

But I am looking for an option were Procurement department team can use a standard template (Word document template) and when a Purchasing Order when a new PO is generated on the fly as PDF document.

https://community.nintex.com/community/build-your-own/blog/2017/12/14/how-to-use-document-generation-with-adobe-sign-actions-within-nintex-workflow-for-office-365  

 

Any guidance will be highly appreciated.  

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Yes, we could use flow to convert a file to PDF. However, it is not possible to format the file content.

     

    Using a standard template then replace the variables with dynamic contents is not possible currently, if you need this feature, please submit a request on Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @Anonymous!

    Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @v-yamao-msft

     

    Thanks for your reply. 

    Yes, the default PowerApps does not have that template feature, but PowerApps team suggested a plumsail connector that can use in solution 

     

    Thank you.   

  • send2mark Profile Picture
    505 on at

    If you are good with HTML you can use the following in Azure to call from Flow.

    https://gist.github.com/tmakin/80e1905094245c857c493b7879657095

     

    If you can figure out the pricing with Azure support it can be so much cheaper than these 3rd party services.

     

    I am going to start a blog soon out on smithroad.com, but for now I did create this video on what it can look like on a mobile device. https://www.youtube.com/watch?v=Re3wU0i4esM&t=5s

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard