Skip to main content
Community site session details

Community site session details

Session Id : jKdSEbG35D+CahgJLIXVJD
Copilot Studio - General
Answered

Using a user-uploaded file to create generative answer

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2024 07:50:22 by 6
Hi,
 
I have a use-case that involves sending a post request to a service using information that should be found in pdf documents. That is, I need Copilot to first gather the appropriate information from a pdf and then send that in a http request. The pdf will be different and contain different information each time a user is to interact with copilot. But I don't see anyway for a user to upload a document and have copilot base it's answers on that particular document?
 
Thanks for any help and comments.
 
/Hans Peter
Categories:
  • SummitKumar Profile Picture
    69 on 26 Sep 2024 at 13:33:45
    Using a user-uploaded file to create generative answer
     
    In this example , there is way for end users ( non developer) to directly upload file(s) to Azure Storage, and then send the blob URL to the bot for validation and further processing.
  • HJ-26090735-0 Profile Picture
    6 on 26 Sep 2024 at 12:55:02
    Using a user-uploaded file to create generative answer
    Hi Sandeep,
     
    As I said, I (the developer) can't upload file. It has to be the user that uploads it at runtime.
     
    /HP
  • sandeepstw Profile Picture
    302 Moderator on 26 Sep 2024 at 12:16:51
    Using a user-uploaded file to create generative answer
    Yes, I am saying you can upload file all files you can see in image you can upload in knowledge base and select here. 
  • Verified answer
    fchopo Profile Picture
    7,972 Moderator on 26 Sep 2024 at 11:22:34
    Using a user-uploaded file to create generative answer
    Unfortunately it's not possible to upload files in Copilot Studio, although it's a feature that is coming soon according to the Release Planner (upload images! not files).
    It would be difficult for the Copilot to upload a file, index and process it, and generate answers based on that in real time :S
     
    Hope that helps!
    Ferran
  • HJ-26090735-0 Profile Picture
    6 on 26 Sep 2024 at 10:18:23
    Using a user-uploaded file to create generative answer
    Hi Sandeep,
     
    thanks for your response - I really appreciate it. So, the issue is that the Generative Answer should be based on a file that the user would upload and not a pre-defined file. So I cannot specify the document when creating the bot. 
     
    The rest of the post is a really nice walk-through of the rest of the process, so I appreciate that!
     
    /HP 
  • Suggested answer
    sandeepstw Profile Picture
    302 Moderator on 26 Sep 2024 at 09:36:01
    Using a user-uploaded file to create generative answer
    Hi,
     
    You can add an action in your topic that is "Generative Answer" action there you will get option to upload file. Then you can set response in variable and use action sent HTTP request to send data along with response variable. 
     
     
    select file for generative response -
     
     
    create variable - 
     
     
    you can use this variable in Send HTTP request -
     
     
     
    Hope this will solve your problem. 
     
    Please mark as solution if it helps. 
     
    Thanks
    Sandeep Mishra
     
     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2

Loading complete