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 / Copilot Studio / Textual and image extr...
Copilot Studio
Suggested Answer

Textual and image extraction from the Document knowledge source

(3) ShareShare
ReportReport
Posted on by 248
Hi All I am new to the Copilot Studio and building a customer chatbot. I have uploaded PDF and Word document and my Knowledge source. I want when Bot through the response it should also provide the image that is available in document. Pls confirm if this possible, if yes then what are the steps i should follow.
Categories:
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
    Hi ,
     
    Thank you for choosing Microsoft Community.
     
    This capability would certainly help users of your Bot.
     
    PDFs: Extracting Images
    Text extraction works, but image extraction is not built-in.
     
    Workarounds:
    • Store images separately in Dataverse, SharePoint, or OneDrive.
    • Use Power Automate to extract and store images in a retrievable format.
    • Embed image URLs if the PDF is hosted online.
     
    Word Docs: Extracting Images
    Text retrieval is seamless, but images require extra steps.
     
    Workarounds:
    • Use Dataverse for Image Storage:
    • Upload Word docs to Dataverse.
    • Extract and store images separately.
    • Link images to text entries.
    Extract Images via Power Automate:
    • Create an automated flow for image extraction.
    • Store images in SharePoint or OneDrive.
    • Format chatbot responses to display images.
    • Embed Image URLs in Documents:
    • If images are online, insert direct URLs. Bot can detect hyperlinked images and present them in responses.
     
    Have a look at these Copilot studio documentation as well:
     
     
     
    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 
     
    Robu 1
    SuperUser | Moderator
  • Suggested answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
     
    Here’s how you can configure your Copilot Studio bot to retrieve and attach images from a knowledge source.
     
    Step-by-Step Guide

    1. Enable Knowledge Sources
    Go to Copilot Studio and open your bot.
    Navigate to the Knowledge page.
    Click Add knowledge source and select the type:
    Documents (PDFs, Word files in Dataverse)
    SharePoint (retrieves organizational data)
    OneDrive (business storage)
    Dataverse (structured business data)
    Upload your documents containing images.
     
    2. Configure Generative Answers
    In Copilot Studio, go to Settings.
    Enable Generative AI and Conversational Boosting.
    Ensure Knowledge sources are linked to the bot.
    This allows the bot to retrieve relevant information dynamically.
     
    3. Allow Image Extraction
    Ensure your documents contain high-quality images.
    Images should be in JPG, PNG, WebP, or GIF format.
    The bot can reference images stored in Dataverse or SharePoint.
     
    4. Display Images in Responses
    Use Adaptive Cards to format responses with images.
    In the bot’s response node, add:
    json
    {
      "type": "AdaptiveCard",
      "body": [
        {
          "type": "Image",
          "url": "{image_url}",
          "size": "Medium"
        }
      ],
      "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
      "version": "1.2"
    }
    Replace {image_url} with the actual image path from the knowledge source.

    5. Test Your Bot
    Use the Test chat feature in Copilot Studio.
    Upload a document with images and ask the bot to retrieve content.
    Verify that images appear correctly in responses.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 612

#2
chiaraalina Profile Picture

chiaraalina 161 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 116

Last 30 days Overall leaderboard