cancel
Showing results for 
Search instead for 
Did you mean: 
GabrielStJohn

Copy data from formatted doc to excel file using UI flows

Automate the repetitive task if you have a OneDrive folder full of templated resumes and you want to copy each candidate’s name and contact from a well-defined field to an Excel file. First, create a flow that automatically goes through every resume in the folder. Next, add UI flows to your primary flow to record the steps you usually take to transfer data between the two types of files. Finally, run the flow to copy data from Word to Excel for every resume in your OneDrive folder automatically. This is an example to demonstrate the recording experience between two different types of files.

UI flows Steps:

  1. Add a UI flows connector to the flow for each OneDrive file
  2. Provide Resume word doc file as input parameter
  3. Provide Candidates list excel file as another input parameter
  4. Provide another input parameter as DisplayName to refer to the same document in the scripts generated by the recorder
  5. Provide another input parameter as Candidates list excel file to refer to the same excel file in the scripts generated by the recorder
  6. This scenario has four input parameters
  7. Click on Launch Recorder
  8. And click Record from the recorder menu docked on top of your screen
  9. Open the Word and click on Open and click the Browse and in the File name click the input field name from the UI flow recorder and select the Resume File input and click back in the File name to populate the File name
  10. Copy the Candidate Name (Ctrl + C) from the fixed formatted file
  11. Click the Excel and click on Open and click the browse and in the File name click the input field name from the UI flow recorder and select the Candidates List File input and click back in the File name to populate the File name
  12. This Excel file should already have a table created with CandidateName and CandidateContact
  13. Click Alt + I and R to insert a new row
  14. Click (Ctrl + V) and go to nextCandidateContact column
  15. And switch to Resume Word doc to get contact details and paste in the excel file
  16. Save the CandiatesList excel file and close the file
  17. Close the Resume Word doc file
  18. Stop Recording
  19. Edit Run word script 2 and run word script 3 to refer the same word document by selecting No for Launch application and Refer the same document in the Main window title
     
    1.png
  20. Edit Run Excel script 2 to refer the same excel file by selecting No for Launch application and Refer the same file in the Main window title.
     

    2.png

  21. You can test the steps recorded by clicking the “Test now” button by removing the previously copy pasted Candidate’s name and contact in CandidatesList XLSX file.

Thanks for reading!

Comments

A short video would be much better to demonstrate this new functionality

Why don't I have UI flows, not even under the Premium tab

About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: https://ganeshsanapblogs.wordpress.com/about MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: https://linkedin.com/in/manueltgomes and twitter http://twitter.com/manueltgomes. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/