Hi,
I have a Yammer trigger 'When there is a new message in a group" and there is an image attached to the post.
In the raw output, I can see that there is a field called "downloaded URL" which has the image download link.
How can I extract this as a string from the output?
Solved! Go to Solution.
Hi @Tono_Analyst2,
I am assuming you only have one attachment in the Yammer message?
If so, you could use the following expression to retrieve that download_url of the first attachment item as a string value:
triggerOutputs()?['body/attachments'][0]['download_url']
However, there also should be a sharepoint_web_url property (which gives you a direct link to the file instead of a download link). They might even be better in your setup:
triggerOutputs()?['body/attachments'][0]['sharepoint_web_url']
Hi @Tono_Analyst2,
I am assuming you only have one attachment in the Yammer message?
If so, you could use the following expression to retrieve that download_url of the first attachment item as a string value:
triggerOutputs()?['body/attachments'][0]['download_url']
However, there also should be a sharepoint_web_url property (which gives you a direct link to the file instead of a download link). They might even be better in your setup:
triggerOutputs()?['body/attachments'][0]['sharepoint_web_url']
That's exactly what I was after, thank you!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
9 |
User | Count |
---|---|
31 | |
21 | |
15 | |
12 | |
12 |