Hey,
I want to post on Yammer including some Topics, however it is not working as expected.
In the documentation I just see it should be a string, however its not working.
This is the code in my Flow:
{
"inputs": {
"host": {
"connection": {
"name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_yammer']['connectionId']"
}
},
"method": "post",
"body": {
"group_id": 12116344832,
"body": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
"topic1": "eyJfdHlwZSI6IlRvcGljIiwiaWQiOiJUTF81MTc4MjgxMTY0OCJ9",
"topic2": "Toolsday",
"topic3": "\"TuesdayIsToolsday\"",
"topic4": "@{string('TuesdayIsToolsday')}"
},
"path": "/messages.json",
"queries": {
"network_id": "Default"
},
"authentication": {
"type": "Raw",
"value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
}
},
"runtimeConfiguration": {
"staticResult": {
"staticResultOptions": "Disabled",
"name": "Post_message_20"
}
},
"metadata": {
"operationMetadataId": "a8b33799-ceed-407a-8bf6-3bbde624a9e8",
"flowSystemMetadata": {
"swaggerOperationId": "PostMessage"
}
}
}
As you see I try different things to add a Topic her.
However after running the Flow I get following output at this succeeded post step:
[
{
"id": 2504243079618560,
"sender_id": 3391474778112,
"delegate_id": null,
"replied_to_id": null,
"created_at": "2023/10/25 12:05:19 +0000",
"published_at": "2023/10/25 12:05:19 +0000",
"network_id": 80410,
"message_type": "update",
"sender_type": "user",
"url": "https://www.yammer.com/api/v1/messages/2504243079618560",
"web_url": "https://www.yammer.com/mycompany.com/messages/2504243079618560",
"group_id": 12116344832,
"body": {
"parsed": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
"plain": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
"rich": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post."
},
"thread_id": 2504243079618560,
"client_type": "Microsoft Power Platform (Europe)",
"client_url": "http://www.powerapps.com",
"system_message": false,
"direct_message": false,
"chat_client_sequence": null,
"language": null,
"notified_user_ids": [],
"privacy": "public",
"attachments": [],
"liked_by": {
"count": 0,
"names": []
},
"supplemental_reply": false,
"content_excerpt": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
"group_created_id": 12116344832,
"topics": []
}
]
as you can see, here topics is an array, which is empty..
so no topics are added to the post. Apart from this everything is working fine.
Any idea how adding topics does work?
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2