{"id":41465,"date":"2025-06-11T14:58:30","date_gmt":"2025-06-11T09:28:30","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=41465"},"modified":"2025-06-13T11:23:03","modified_gmt":"2025-06-13T05:53:03","slug":"automating-local-document-retrieval-and-email-drafting-with-attachment-by-using-copilot-studio","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2025\/06\/automating-local-document-retrieval-and-email-drafting-with-attachment-by-using-copilot-studio\/","title":{"rendered":"Automating Local Document Retrieval and Email Drafting with Attachment by Using Copilot Studio Part 1"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41480\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Automating Local Document Retrieval and Email Drafting with Attachment by Using Copilot Studio\" width=\"1925\" height=\"1100\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1925w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x171.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x585.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x439.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1536x878.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/Automating-Local-Document-Retrieval-and-Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x377.png 660w\" sizes=\"(max-width: 1925px) 100vw, 1925px\" \/><\/p>\n<p>In the age of information, effectively searching, aggregating, and sharing pertinent information is vital in terms of productivity. This blog describes an end-to-end solution developed with Microsoft Copilot Studio for automating information extraction from local document stores. Furthermore, it details the seamless drafting of emails, providing a holistic approach to information management and communication.<\/p>\n<p>Imagine yourself being a Company with various documents and files in a single, shared local repository. Retrieving specific information out of a company&#8217;s huge local document repository often seems like hunting for a needle in a haystack.<\/p>\n<p>For example, consider a typical situation: your supervisor needs the scope of a specific project immediately, yet that vital information lies deeply embedded within a proposal document saved on a shared local server. The conventional method of wading through dozens of folders, opening numerous files, and thoroughly searching for the appropriate data can eat up precious time and seriously impede productivity.<\/p>\n<p>In this blog, we\u2019ll demonstrate how you can extend the Copilot capabilities to access and retrieve information from files stored in locally shared folders, fully automating this process for greater efficiency.<\/p>\n<p>This solution utilizes several major technologies to implement its functionality:<\/p>\n<ul>\n<li><strong>Microsoft Copilot Studio:<\/strong> The central platform for developing smart conversational AI bots, allowing user engagement and coordinating intricate workflows.<\/li>\n<li><strong>On-Premise Data Gateway:<\/strong> A secure connection that allows access to data that is stored within the local network from cloud-based services such as Power Automate. This is crucial when trying to integrate with your local document storage.<\/li>\n<li><strong>Microsoft Power Automate (Flows):<\/strong> A subset of the Microsoft Power Platform, utilized for task automation and integration between different services, such as document creation and email composition.<\/li>\n<\/ul>\n<p>Let&#8217;s consider a common organization where project-related documents are kept. We have arranged these documents in folders according to varying parameters. Our system intelligently picks the concerned folder, depending on your search query, to effectively get the file data you require.<\/p>\n<h2><img decoding=\"async\" class=\"alignnone size-full wp-image-41479\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1201\" height=\"231\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1.png 1201w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1-300x58.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1-1024x197.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1-768x148.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/1Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1-660x127.png 660w\" sizes=\"(max-width: 1201px) 100vw, 1201px\" \/><\/h2>\n<p>These documents, usually in the form of a PDF file, are kept in a specific folder on your local server.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41467\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1205\" height=\"501\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1205w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x125.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x426.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x319.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/2Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x274.png 660w\" sizes=\"(max-width: 1205px) 100vw, 1205px\" \/><\/p>\n<p>Suppose you ask our Copilot: &#8220;What is the scope of XYZ-IPD-01?&#8221;<\/p>\n<p>Within seconds, the Copilot gives an accurate response, and the project scope appears right in the chat window. No searching through folders, no opening multiple documents \u2013 just the answer you require, right away.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41468\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1135\" height=\"697\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1135w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x184.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x629.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x472.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/3Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x405.png 660w\" sizes=\"(max-width: 1135px) 100vw, 1135px\" \/><\/p>\n<p>Let\u2019s now explore how this is put into action. Within Microsoft Copilot Studio, dedicated topics are configured specifically to handle local document search requests.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41469\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1846\" height=\"1024\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1846w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x166.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x568.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x426.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1536x852.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/4Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x366.png 660w\" sizes=\"(max-width: 1846px) 100vw, 1846px\" \/><\/p>\n<p>It initiates a Power Automate flow to locate and retrieve the targeted document from your local system.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41470\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1362\" height=\"786\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1362w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x173.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x591.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x443.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/5Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x381.png 660w\" sizes=\"(max-width: 1362px) 100vw, 1362px\" \/><\/p>\n<p>This flow utilizes actions like &#8216;List Files&#8217; as shown in the images, for which we have renamed with &#8216;List Files in Local Folder&#8217; to locate the file, and &#8216;Get File Content&#8217; for which we have renamed with &#8216;Get File Content from the Local File&#8217; to fetch its complete content.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41471\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1438\" height=\"966\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1438w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x202.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x688.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x516.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/6Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x443.png 660w\" sizes=\"(max-width: 1438px) 100vw, 1438px\" \/><\/p>\n<p>Each time a user initiates a search, Copilot Studio sends the query to on-premises PDF files through a Power Automate Flow, utilizing the gateway for communication. The Power Automate flow is used to search for the equivalent job or project file by invoking the File System Connector. The connector utilizes the On-Premise Data Gateway.<\/p>\n<p>On-Premise Data Gateway authentically leverages the given system login credentials to access your local file system. Most importantly, this portal establishes a secure link to the specific local server folder containing your project documents, allowing Power Automate to retrieve them using the &#8216;List File&#8217; and &#8216;Get File Content&#8217; actions.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41472\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/7Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"635\" height=\"645\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/7Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 635w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/7Email-Drafting-with-Attachment-by-Using-Copilot-Studio-295x300.png 295w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/p>\n<p>Through this gateway, the Power Automate flow, configured with the local system folder path (where all files are stored), successfully retrieves the entire file information.<\/p>\n<p>The extracted information from the local documents, refined by Generative Answers, is presented to the user as an answer to their query.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41473\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1303\" height=\"797\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1303w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x183.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x626.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x470.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/8Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x404.png 660w\" sizes=\"(max-width: 1303px) 100vw, 1303px\" \/><\/p>\n<p>Here, Generative Answer uses the User\u2019s Query and File content to generate the answer the query asked by the User.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41474\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1563\" height=\"876\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1563w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x168.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x574.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x430.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1536x861.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/9Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x370.png 660w\" sizes=\"(max-width: 1563px) 100vw, 1563px\" \/><\/p>\n<p>The extracted information from the local documents, refined by Generative Answers, is presented to the user as an answer to their query.<\/p>\n<p>With essential project data now accessed, the subsequent typical need is to share this comprehensive report with stakeholders. While a brief email can offer rapid updates, writing a contextual email often becomes time-consuming and prone to errors. Our mission is to facilitate effortless, effective, and professional conveyance of extensive information.<\/p>\n<p>Imagine this scenario: You&#8217;ve just employed the Copilot to get the &#8220;scope of XYZ-IPD-01&#8221; as in our earlier scenario, and the results come in a cleanly written summary. Rather than writing it yourself, you just instruct your Copilot: &#8220;Draft an email with the above information.&#8221;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41475\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1128\" height=\"592\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1128w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x157.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x537.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x403.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x346.png 660w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/10Email-Drafting-with-Attachment-by-Using-Copilot-Studio-380x200.png 380w\" sizes=\"(max-width: 1128px) 100vw, 1128px\" \/><\/p>\n<p>On receiving your command, the Copilot automatically initiates a Power Automate flow to compose the content of the email. You will be given a link, and clicking it will directly launch Outlook, showing you a pre-populated email, complete with body and subject<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41476\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/11Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"926\" height=\"588\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/11Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 926w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/11Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x190.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/11Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x488.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/11Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x419.png 660w\" sizes=\"(max-width: 926px) 100vw, 926px\" \/><\/p>\n<p>Let\u2019s examine how this setup is carried out. This process is automated using Microsoft Power Automate (Flows), triggered from within Copilot Studio, for which we have created a dedicated topic.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41477\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1305\" height=\"725\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1305w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x167.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x569.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x427.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/12Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x367.png 660w\" sizes=\"(max-width: 1305px) 100vw, 1305px\" \/><\/p>\n<p>The topic triggers a Power Automate Flow Action, which uses <strong>\u201cSend an HTTP Request\u201d<\/strong> to create a draft email<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-41478\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png\" alt=\"Email Drafting with Attachment by Using Copilot Studio\" width=\"1366\" height=\"720\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio.png 1366w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio-300x158.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio-1024x540.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio-768x405.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio-660x348.png 660w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/06\/13Email-Drafting-with-Attachment-by-Using-Copilot-Studio-380x200.png 380w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>A unique link is provided to the user, which, when clicked, opens Outlook with the email&#8217;s subject and body pre-filled, ready for sending<\/p>\n<h3><strong>Conclusion<\/strong><\/h3>\n<p>This solution streamlines how we retrieve and first exchange information from on-premises document stores. Using Microsoft Copilot Studio, Power Automate, and a secure On-Premises Data Gateway, the system enables real-time data retrieval and seamless email drafting. It is a more efficient, streamlined workflow for handling mission-critical information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the age of information, effectively searching, aggregating, and sharing pertinent information is vital in terms of productivity. This blog describes an end-to-end solution developed with Microsoft Copilot Studio for automating information extraction from local document stores. Furthermore, it details the seamless drafting of emails, providing a holistic approach to information management and communication. Imagine\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2025\/06\/automating-local-document-retrieval-and-email-drafting-with-attachment-by-using-copilot-studio\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2746,2361],"tags":[2832],"class_list":["post-41465","post","type-post","status-publish","format-standard","hentry","category-copilot","category-technical","tag-copilot-studio"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/41465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=41465"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/41465\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=41465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=41465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=41465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}