Announcements
I have been testing a similar approach using REST APIs through Postman. We are sending JSON payloads that include the prompt along with the attachment binaries (Base64 encoded). The API endpoint we are using is:
https://directline.botframework.com/v3/directline/conversations
After multiple attempts and trying different payload structures, our observation is that the APIs work as expected when using simple prompts. However, when attachments are included in the payload, the agent does not seem to process them correctly. We observed the same behavior when testing through Cloud Flows as well.
Hi @Sayali, since you are from the Microsoft team, could you please confirm if this observation is expected behavior, or if we might be missing something in the request format or configuration?
@Romain The Low-Code Bearded Bear if you have any progress on the same please share.
Below are some of the scenarios we tested and the outcomes we observed:
Additional notes:
Attachments are passed in the payload as Base64 encoded content.
The same behavior is seen both when calling the API directly via Postman and when triggering the agent through Cloud Flow.
The issue only appears when attachments are involved. All other prompt-only scenarios work correctly.
We also tried a few other combinations and payload structures, but they work only when attachments are not included in the request.
If there are any specific requirements for sending attachments through the Direct Line API, or if there is a recommended format for document processing scenarios, it would be very helpful to know.
Any guidance would be greatly appreciated.
Thank you.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 291
Vish WR 175
Romain The Low-Code... 146 Super User 2026 Season 1