Skip to main content
Community site session details

Community site session details

Session Id : 6tlZ3rnldG1TXigIM/GcdD
Power Automate - Building Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Aug 2018 10:55:57 by

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.  

  • send2mark Profile Picture
    505 on 12 Mar 2019 at 03:42:04
    Re: Generating a purchasing order on the fly based on PowerApps form.

    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

  • Community Power Platform Member Profile Picture
    on 12 Aug 2018 at 22:35:47
    Re: Generating a purchasing order on the fly based on PowerApps form.

    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.   

  • GabrielStJohn Profile Picture
    on 08 Aug 2018 at 18:32:34
    Re: Generating a purchasing order on the fly based on PowerApps form.

    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

  • v-yamao-msft Profile Picture
    on 07 Aug 2018 at 06:22:26
    Re: Generating a purchasing order on the fly based on PowerApps form.

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Loading complete