cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cjenkins
Level: Power Up

Get Attachment Content from Microsoft Teams Message

I try to make a flow from a Message Received from Teams. First of all, from a third party, i send a webhook to microsoft Teams Channel. From this one, each time i receive a channel message, i want to get the original informations from the webhook to make a CSV files. From now, i can't catch the Attachment Content, it seems impossible. Here what i have from now :

 

This is the webhook i receive in my channel :

2020-01-16 15-19-24.pngHere is the webhook i receive in my Teams Channel

 

Here when i can get the information of my attachment content :

 

2020-01-16 15-19-53.pngThe first part where i can see where is my attachment content

Here when i try to catch the informations to be able to make CSV file (Note, in compose it never propose me any array) :

 

2020-01-16 15-20-05.pngNow trying to get the attachment content and make a csv file or send it by email

Exemple of email i received :

 

2020-01-16 15-26-14.pngExample of email i received

 Any ideas can be helpful ?

 

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get Attachment Content from Microsoft Teams Message

 

Hi @cjenkins ,

 

If you want to get content and create a file, you can refer to the following method.

26.PNG27.PNG

Expression reference:

triggerBody()?['attachments'][0]['content']

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
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
Community Support Team
Community Support Team

Re: Get Attachment Content from Microsoft Teams Message

 

Hi @cjenkins ,

 

If you want to get content and create a file, you can refer to the following method.

26.PNG27.PNG

Expression reference:

triggerBody()?['attachments'][0]['content']

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
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
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,469)