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 / Get file content from ...
Power Automate
Unanswered

Get file content from newly created file

(1) ShareShare
ReportReport
Posted on by 2
Hi, 
I have a flow that creates a new file, and it looks like this (simplified)
1) Get file content
2) Create file using file content from previous action. 

This is working fine, what i do is that i create a file from a template and give it correct name and store it on sharepoint.

But this is when i get some issues, because i have another flow were i want to email that file and it looks like this:

1) Get files (properties only) from the folder the new files is stored.
2) Filter the correct file
3) Get file content
4) Email file as attachment (from content)

This second flow is working perfectly fine with my old files, i enter a file name in Power app, and it run my (second) flow without any issues.
But if i enter the file name of my new file, i get bad request and the file cant be find.
Also when i check the run history, output from Get files properties, i dont see my new file there.

I was told it could be due to Sharepoint indexing, but i have waited 12 hours, and the file can still not be found.
During the time i have opened the file, worked with it, saved it etc. But it seems that files that is created by automate never get indexed.

Any ideas how i cold solve this?

Thanks in advance
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,751 Super User 2026 Season 1 on at
    Please show your flow and how the actions are configured. Without that, I would suggest that you send the e-mail with the attachment from the first workflow that creates the file. You can use the file output that you use in the create file action in your e-mail action to attach the file. Why is it necessary to have this in a separate flow?
  • w.p Profile Picture
    8,345 Super User 2026 Season 1 on at
    Can you try adding a delay action after the file is created.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 476

#2
Haque Profile Picture

Haque 424

#3
David_MA Profile Picture

David_MA 350 Super User 2026 Season 1

Last 30 days Overall leaderboard