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 / Need help scripting to...
Power Automate
Suggested Answer

Need help scripting to extract Word doc text/metadata and write it to an Excel table.

(1) ShareShare
ReportReport
Posted on by 2

Hi,

 

My team has previously used a Google App Script to extract text and metadata (such as comments, tags, and highlighted text) from a Google Doc and display it in a Google Sheet. The script required a manual trigger and utilized a unique identifier to connect the files and operated entirely within the Google Cloud Suite.

 

We are now aiming to replicate this functionality within the Microsoft Suite, using cloud-based SharePoint for our file storage. Ideally, the script / solution would:

 

1. Find the relevant word doc (stored on sharepoint) based on some manual trigger (I manually enter in a unique ID or even the unique file name)

2. Scrape/extract each comment (containing one or more tags), author, comment-associated text, and file name data from the word doc

3. Write each comment into a row in excel (separated into columns such as "author, file name, tag 1, tag 2, tag 3, text")

4. Repeat steps 1-3 until all comments on the word doc have been extracted and written in excel

 

Has anyone here tackled a similar problem or have any resources or advice that could assist with this? Any insights or recommendations would be greatly appreciated.

I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi,
     
    if you are planning to do it via cloud flows - i don't think there is an option unless if there is any custom connector to do so.
     
    I think you can acheive same when processing the word document in local using desktop flow. Use scripting like powershell or vbscript to perform same like to get details like comments , author tags (which i feel difficult to get) 
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard