Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Trying to convert an excel (existing file) into a PDF file and then emailing a link to the file.

(0) ShareShare
ReportReport
Posted on by 20

Hello Everyone,

 

I am fairly new to the Automate world, so far have been doing well but struggling with a flow.

 

Basically I have a form which asks users to enter details and then it updates an excel (timetable - for booking items out) and then it emails with a success message as well as link to the timetable. Now, I want to create a PDF file from the updated excel (timetable) for which a link will be emailed to the user as well as it will be visible to all on SharePoint if they want to see which items have been booked out. I don't want the excel timetable to be visible to users as otherwise (due to our organisation settings etc) it can be manually manipulated.

 

I am trying something of this sort (see below) but failing as the flow is unable to find the file. 

 

dga_2-1607349686430.png

In the Get File Properties, in ID field the following options are available.

 

dga_3-1607349760205.png

Hopefully someone can help me.

 

Thanks

 

 

 

  • Verified answer
    dga Profile Picture
    20 on at
    Re: Trying to convert an excel (existing file) into a PDF file and then emailing a link to the file.

    Great Thanks for explaining to me, although I managed to workaround the problem with Get File Metadata, Get file properties etc.

  • v-bofeng-msft Profile Picture
    on at
    Re: Trying to convert an excel (existing file) into a PDF file and then emailing a link to the file.

    Hi @dga :

    Firstly let me explain why you encountered this problem.

    The parameter "Id" of 'Get file properties' is the item id in the SharePoint library . It is just the number of the item in the SharePoint library, so neither the "When a new response is submitted" trigger or the Update a row action will return this value.

    Secondly, If you want to get the item id of the specified file in the SharePoint library, there are two ways:

    Solution1: Find the file id directly by modifying the view of the library

    v-bofeng-msft_0-1607405590317.jpeg

     

    v-bofeng-msft_1-1607405590317.jpeg

     

    v-bofeng-msft_2-1607405590318.png

     

    Solution2: Get item id by searching file name in flow

    v-bofeng-msft_3-1607405590326.png

     

    Best Regards,

    Bof

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow