web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Teams message whe...
Power Automate
Unanswered

Send Teams message when sharepoint news published

(0) ShareShare
ReportReport
Posted on by 4

 

So, we are a organisation with a team in MS Teams and channels for respective sub-department.
We want to build a SP-site where we have respective pages for each sub-department.

And when a news article is published for lets say "Accounting" then a teams-message should be posted about the article in the Accounting Teams-channel. I believe it can be done with metadata-tags but I cant seem to get it and I dont know how to add several conditions for the other sub-departments.

 

This is what I have come up with but I get an error that say "Request to the Bot framework failed with error: '{"error":{"code":"BadSyntax","message":"Payload is incorrect"}}'."

 

The flow is attached below

 

Flow nyhet.png

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @matokt 

    I would recommend getting the adaptive card that is being generated and pasting it in Adaptive Card Designer (Designer | Adaptive Cards), using Microsoft Teams as Host attribute, and version 1.2 or 1.3 and check whether is well rendered or not.

    Hope that helps!

    Ferran

     

  • matokt Profile Picture
    4 on at

    To think that a small misspelling could fix it, thank you so much!
    If I had to expand the condition nr2  "Kolla nyhetskategori" which checks the metadata-tag for which department it belongs to, how would that look? Maybe change the condition to a switch?

    Edit: I should try before I ask 🙂 A switch solved it. Now the question is if I can tag @ the channel in the adaptive card? Is that possible?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard