cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CoryC
Frequent Visitor

Extracting new photo from Sharepoint folder to put in Teams Channel

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.

1 ACCEPTED SOLUTION

Accepted Solutions
v-yiwenxie-msft
Microsoft
Microsoft

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:

2.25-1.PNG

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:

2.25-2.PNG

 

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.

 

 

View solution in original post

1 REPLY 1
v-yiwenxie-msft
Microsoft
Microsoft

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:

2.25-1.PNG

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:

2.25-2.PNG

 

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.

 

 

View solution in original post

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (78,526)