web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,129 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard