Hi!
I am looking for ways to add images to the response of my Copilot. I know it is possible to post links to publicly available images, but in my case it won't work.
Ideally I would like to pull base64 content of an image via Power Automate and then post it in Teams chat as a file.
There is an option to add file to the message, but it requires a variable of type 'File'. I tried using JSON like below but it did not work (Variable is being set to an incorrect type. Assigned: String, expected: File). I also tried using a Record variable but with no luck...
Does anyone know how to create a variable of type 'File'?
Structure that did not work:
{
"fileName": "example.pdf",
"fileContent": "<Base64EncodedContentHere>"
}
Option for adding files:

Thanks,
Tim