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 / Automate a .txt file t...
Power Automate
Answered

Automate a .txt file to saved Excel template on sharepoint

(0) ShareShare
ReportReport
Posted on by 4

Hi folks, 

Keep getting this error.. I am trying to automate a .txt file to export it's contents into an excel table. Where am I going wrong? 

Asadmsd_1-1687285401859.png

 

 

Asadmsd_0-1687285380264.png

 

Categories:
I have the same question (0)
  • Verified answer
    hrangel-gg Profile Picture
    173 on at

    It says you are using the "indexOf" function and it's first parameter is an object but a String is expected instead. It can happen when you are passing "Created By" (which is an object with properties like name, email, etc.) instead of "Created By Email" (which is a string containing the user email).

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard