Hello,
I have been trying to set up a flow for Sharepoint where anytime a picture file is added to a Sharepoint group folder, a download link for that picture is sent to a Teams channel. I've tried to set the raw content in an adaptive card and that gives a payload error, and trying to set it in a list also didn't work. I tried to set it in a message and the message isn't showing the File Content dynamic context link. If anyone could guide me how to set that up, I would appreciate it.
To note, it doesn't necessarily HAVE to be a download link, if I could even just post the image as-is into the channel would be fine too, I just need some way for the people in said channel to instantly get that image on their computer at any point.
Hi @CoryC
You can add a clickable image link in Teams message. And currently, flow doesn't support posting image in Teams message.
The whole flow is for your reference:
Please edit the message in html mode.
The html code used:
<p>
<br>
<a href="@{triggerOutputs()?['body/{Link}']}">image</a><br>
</br>
</p>
The result of the flow in Teams is:
Best Regards,
Community Support Team _ Kira Xie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.