AI Builder and Power Automate Revolutionize Document Summarization
May 15, 2025
FredAnderson
0
Are you tired of spending endless hours manually sifting through documents in SharePoint, trying to summarize and extract key information? There's a smarter way to handle this! This guide will show you how to harness the capabilities of Microsoft Power Automate and AI Builder to automate document summarization, streamline your workflows, and free up your time. We'll walk you through setting up an automated system that smartly summarizes documents the moment they're uploaded, ensuring that crucial information is always at your fingertips.
Key Points
- Automate document summarization in SharePoint with Power Automate and AI Builder.
- Utilize AI Builder's OCR technology to extract text from PDFs.
- Implement custom prompts to tailor summaries to your specific requirements.
- Automate file format conversions for seamless compatibility.
- Explore the integration capabilities of Power Automate and AI Builder.
- Learn how to upload files to SharePoint and update their properties.
Automating Document Summarization with Power Automate and AI Builder
The Struggle of Manual Document Summarization
It's no secret that manually summarizing documents in SharePoint can be a real drag for many organizations. It's not just time-consuming; it's also fraught with the potential for human error, which can lead to inconsistencies and the loss of important details. Picture yourself wading through dense contracts, reports, or legal documents, trying to pull out the essential nuggets of information. It's exhausting, right? That's where automation comes in as a lifesaver.

Introducing Power Automate and AI Builder
Microsoft Power Automate is a powerful tool that automates your workflow by connecting different applications and services, eliminating the need for repetitive tasks. When you pair it with AI Builder, Microsoft's AI platform, you're able to add a layer of intelligence to your workflows, making complex processes like document summarization a breeze. AI Builder comes with pre-built AI models and the flexibility to craft custom AI solutions that meet your unique needs.
With AI Builder and Power Automate working together, extracting and summarizing data from SharePoint documents becomes not just possible but remarkably efficient.
High-Level Process Overview
Here's a quick look at how the automation process unfolds, as illustrated in our process diagram:

- File Upload to SharePoint: Start by uploading a document, say a Word file, to a specific SharePoint library.
- Trigger Cloud Flow: This action automatically triggers a Cloud Flow in Power Automate.
- Convert File to PDF: Convert the uploaded file to PDF using OneDrive. This step is crucial because AI Builder's OCR works best with PDFs.
- Extract Text via AI Builder OCR: Use AI Builder's Optical Character Recognition (OCR) to pull text out of the PDF.
- Summarize Text Using AI Builder: Let AI Builder's text summarization feature do the work, creating a concise summary of the text.
- Update File Properties: Update the file's properties with the generated summary.
By following these steps, you'll drastically cut down on manual work, allowing your team to shift focus to more strategic tasks.
Customizing Summarization with AI Builder
Leveraging Pre-Built vs. Custom Prompts
AI Builder offers pre-built prompts like "Summarize text," but when you create custom prompts, you gain more control over the output. You can fine-tune these prompts to extract specific information, format the summary according to your preferences, and ensure it meets your organization's needs. It's like tailoring the AI to fit your summarization requirements perfectly.

To create custom prompts, follow these steps:
- In the prompt settings tab, click on the text to test with GPT using a prompt.
- Select the custom prompt option and make the necessary adjustments.
Working with GraphAPI
An alternative approach to using GraphAPI's default file conversions involves:
- Downloading a file in a specific format.
- Using the API to retrieve the text in JSON format.
- Ensuring all files are converted into the required format.

Building the Flow Step-by-Step
Creating a New Flow in Power Automate
Start by setting up a new flow in Power Automate:

- Navigate to Power Automate and initiate a new flow from a blank template.
- Opt for a manual trigger flow as your starting point.
- Add an input parameter of type "File Content" to allow file uploads during the flow's trigger. This input can be used for manual testing and will be modified later.
Converting the File to PDF
To convert the uploaded file to PDF format, follow these steps:
- Add a "Create File" action using the OneDrive for Business connector to save the file in OneDrive.
- Specify a temporary path within your OneDrive for storing the file.
- Set the file name dynamically using the "File Content Name" from the manual trigger.
- Use "File Content ContentBytes" from the trigger to set the file content.

Recognizing Text in PDF
With the document now in PDF format, proceed as follows:
- Add the AI Builder "Recognize Text in an Image or a PDF Document" action.
- Select the "File Content" from the convert file step for the image parameter.

Creating Custom Prompts in AI Builder
To tap into the full potential of AI for generating summaries based on specific prompts:

- Choose to create a new custom prompt, which will open the prompt engineering screen.
- Design the output format according to your organization's summary requirements, customizing based on multiple conditions.
Composing the Text
After setting up the AI, compose the required text:
- Add a compose action to the canvas.
- Enter the expression you want to generate.

Creating a Summary of the Sample File
After all configurations are in place:

- Upload the sample Word file to your SharePoint.
- Initially, there won't be a summary present.
- The flow will be triggered, taking about 10-15 seconds to process.
Power Automate and AI Builder Integration: Pros and Cons
Pros
- Simplified OCR and text summarization.
- Customizable text extraction.
- Integration with multiple tools.
- Enhanced efficiency through AI automation.
Cons
- Requires a premium license to access AI Builder's components.
- Needs high-quality images and documents for better summaries.
- The accuracy of the output depends on AI Builder's accuracy.
FAQ
Why convert to PDF before OCR?
AI Builder's OCR engine is optimized for PDF documents, which ensures more accurate and reliable text extraction compared to other formats.
Can I customize the summarization length?
Absolutely, custom prompts allow you to specify the desired summary length or word count.
What if the extracted text isn't accurate?
To improve OCR accuracy, ensure you're using high-quality source documents and adjust the OCR settings in AI Builder as needed.
Can I use this flow with other document libraries?
Yes, just modify the SharePoint site address and library name in the trigger to target different libraries.
Is AI Builder required?
You can always customize AI Builder according to your requirements.
Related Questions
What are the benefits of automating document summarization?
Automating document summarization brings a host of benefits, including:
- Time savings: By automatically generating concise summaries, your team can save hours previously spent manually extracting key information.
- Accuracy: AI Builder's text summarization capabilities help generate more accurate data extraction from any file.
- Efficiency: Quick access to key insights from documents allows for more effective decision-making.
- Consistency: Automation ensures summaries are consistent across all documents, reducing the risk of misinterpretation.
- Reduced manual effort: This allows employees to focus on tasks that require critical thinking.
Related article
SEOWriting.ai: Maximize Your Content Creation with AI
Creating Quality Content in the Digital AgeIn the whirlwind of today's digital landscape, producing top-notch content for your website can feel overwhelming. While AI writing tools are on the rise, selecting the right one is crucial to steer clear of Google's penalties. Among these tools, SEOWriting
AI chatbots are ‘juicing engagement’ instead of being useful, Instagram co-founder warns
Kevin Systrom, the co-founder of Instagram, has voiced his concerns about the way AI companies are operating, suggesting that they're too focused on boosting user engagement rather
AI Music Covers: Transform Any Song into a Viral Sensation!
In the fast-paced world of digital entertainment, artificial intelligence (AI) is transforming the way we create and enjoy music. Picture this: you've got a simple melody, and with a few clicks, you can turn it into a viral sensation using the voice of your favorite celebrity or cartoon character. T
Comments (0)
0/200






Are you tired of spending endless hours manually sifting through documents in SharePoint, trying to summarize and extract key information? There's a smarter way to handle this! This guide will show you how to harness the capabilities of Microsoft Power Automate and AI Builder to automate document summarization, streamline your workflows, and free up your time. We'll walk you through setting up an automated system that smartly summarizes documents the moment they're uploaded, ensuring that crucial information is always at your fingertips.
Key Points
- Automate document summarization in SharePoint with Power Automate and AI Builder.
- Utilize AI Builder's OCR technology to extract text from PDFs.
- Implement custom prompts to tailor summaries to your specific requirements.
- Automate file format conversions for seamless compatibility.
- Explore the integration capabilities of Power Automate and AI Builder.
- Learn how to upload files to SharePoint and update their properties.
Automating Document Summarization with Power Automate and AI Builder
The Struggle of Manual Document Summarization
It's no secret that manually summarizing documents in SharePoint can be a real drag for many organizations. It's not just time-consuming; it's also fraught with the potential for human error, which can lead to inconsistencies and the loss of important details. Picture yourself wading through dense contracts, reports, or legal documents, trying to pull out the essential nuggets of information. It's exhausting, right? That's where automation comes in as a lifesaver.
Introducing Power Automate and AI Builder
Microsoft Power Automate is a powerful tool that automates your workflow by connecting different applications and services, eliminating the need for repetitive tasks. When you pair it with AI Builder, Microsoft's AI platform, you're able to add a layer of intelligence to your workflows, making complex processes like document summarization a breeze. AI Builder comes with pre-built AI models and the flexibility to craft custom AI solutions that meet your unique needs.
With AI Builder and Power Automate working together, extracting and summarizing data from SharePoint documents becomes not just possible but remarkably efficient.
High-Level Process Overview
Here's a quick look at how the automation process unfolds, as illustrated in our process diagram:
- File Upload to SharePoint: Start by uploading a document, say a Word file, to a specific SharePoint library.
- Trigger Cloud Flow: This action automatically triggers a Cloud Flow in Power Automate.
- Convert File to PDF: Convert the uploaded file to PDF using OneDrive. This step is crucial because AI Builder's OCR works best with PDFs.
- Extract Text via AI Builder OCR: Use AI Builder's Optical Character Recognition (OCR) to pull text out of the PDF.
- Summarize Text Using AI Builder: Let AI Builder's text summarization feature do the work, creating a concise summary of the text.
- Update File Properties: Update the file's properties with the generated summary.
By following these steps, you'll drastically cut down on manual work, allowing your team to shift focus to more strategic tasks.
Customizing Summarization with AI Builder
Leveraging Pre-Built vs. Custom Prompts
AI Builder offers pre-built prompts like "Summarize text," but when you create custom prompts, you gain more control over the output. You can fine-tune these prompts to extract specific information, format the summary according to your preferences, and ensure it meets your organization's needs. It's like tailoring the AI to fit your summarization requirements perfectly.
To create custom prompts, follow these steps:
- In the prompt settings tab, click on the text to test with GPT using a prompt.
- Select the custom prompt option and make the necessary adjustments.
Working with GraphAPI
An alternative approach to using GraphAPI's default file conversions involves:
- Downloading a file in a specific format.
- Using the API to retrieve the text in JSON format.
- Ensuring all files are converted into the required format.
Building the Flow Step-by-Step
Creating a New Flow in Power Automate
Start by setting up a new flow in Power Automate:
- Navigate to Power Automate and initiate a new flow from a blank template.
- Opt for a manual trigger flow as your starting point.
- Add an input parameter of type "File Content" to allow file uploads during the flow's trigger. This input can be used for manual testing and will be modified later.
Converting the File to PDF
To convert the uploaded file to PDF format, follow these steps:
- Add a "Create File" action using the OneDrive for Business connector to save the file in OneDrive.
- Specify a temporary path within your OneDrive for storing the file.
- Set the file name dynamically using the "File Content Name" from the manual trigger.
- Use "File Content ContentBytes" from the trigger to set the file content.
Recognizing Text in PDF
With the document now in PDF format, proceed as follows:
- Add the AI Builder "Recognize Text in an Image or a PDF Document" action.
- Select the "File Content" from the convert file step for the image parameter.
Creating Custom Prompts in AI Builder
To tap into the full potential of AI for generating summaries based on specific prompts:
- Choose to create a new custom prompt, which will open the prompt engineering screen.
- Design the output format according to your organization's summary requirements, customizing based on multiple conditions.
Composing the Text
After setting up the AI, compose the required text:
- Add a compose action to the canvas.
- Enter the expression you want to generate.
Creating a Summary of the Sample File
After all configurations are in place:
- Upload the sample Word file to your SharePoint.
- Initially, there won't be a summary present.
- The flow will be triggered, taking about 10-15 seconds to process.
Power Automate and AI Builder Integration: Pros and Cons
Pros
- Simplified OCR and text summarization.
- Customizable text extraction.
- Integration with multiple tools.
- Enhanced efficiency through AI automation.
Cons
- Requires a premium license to access AI Builder's components.
- Needs high-quality images and documents for better summaries.
- The accuracy of the output depends on AI Builder's accuracy.
FAQ
Why convert to PDF before OCR?
AI Builder's OCR engine is optimized for PDF documents, which ensures more accurate and reliable text extraction compared to other formats.
Can I customize the summarization length?
Absolutely, custom prompts allow you to specify the desired summary length or word count.
What if the extracted text isn't accurate?
To improve OCR accuracy, ensure you're using high-quality source documents and adjust the OCR settings in AI Builder as needed.
Can I use this flow with other document libraries?
Yes, just modify the SharePoint site address and library name in the trigger to target different libraries.
Is AI Builder required?
You can always customize AI Builder according to your requirements.
Related Questions
What are the benefits of automating document summarization?
Automating document summarization brings a host of benefits, including:
- Time savings: By automatically generating concise summaries, your team can save hours previously spent manually extracting key information.
- Accuracy: AI Builder's text summarization capabilities help generate more accurate data extraction from any file.
- Efficiency: Quick access to key insights from documents allows for more effective decision-making.
- Consistency: Automation ensures summaries are consistent across all documents, reducing the risk of misinterpretation.
- Reduced manual effort: This allows employees to focus on tasks that require critical thinking.












