Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FDjYbJcb/n/0GlnyPgdrnS
Power Automate - Using Flows
Unanswered

post a message in specific channel with Power Automate

Like (0) ShareShare
ReportReport
Posted on 29 Aug 2022 15:39:11 by 2

Hello,

i have a flow to create a Team based on the information sent by a JSON file.

So aftre the creation of the new team, i need to post a message to a channel with power Automate (where the name of the channel is "Général")

i put in Teams ID field the ID variable generated when the new Team is created but what i have to put in the channel ID fields? (Get ID channel where channel name equal "Général") ==> how to translate that in expression for Power Automate?

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on 17 Jan 2024 at 13:54:27
    Re: post a message in specific channel with Power Automate

    Please post this as a new question.  You'll get more responses and others will be able to find the answer more easily later.

  • doduthai Profile Picture
    3 on 17 Jan 2024 at 09:26:54
    Re: post a message in specific channel with Power Automate

    hi Pstock1, could you show how to copy a post in one channel and send it to the other channels.

    the format, subject, everything will be the same as a original post.

     

    thanks

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on 13 Sep 2022 at 14:26:15
    Re: post a message in specific channel with Power Automate

    Please post this as a new question instead of replying to an existing thread that has been marked as answered.

  • WasayNoori Profile Picture
    4 on 13 Sep 2022 at 05:34:55
    Re: post a message in specific channel with Power Automate

    I have a similar issue. My filter array returns nothing. Looking at the Raw data, it is showing "display name" instead of Channel Name which could be the issue?

    WasayNoori_0-1663047287751.png

     

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on 30 Aug 2022 at 02:18:03
    Re: post a message in specific channel with Power Automate

    So I just tried a flow doing what you have described and it works fine for me.  Here's the basic flow.

    image.png

  • Rketata Profile Picture
    2 on 29 Aug 2022 at 16:33:27
    Re: post a message in specific channel with Power Automate

    Hello,

    Thank you for your quick answer.

    when i create the "List channels" action, i get this error:


    Failed to parse invoker connections from trigger 'manual' outputs. Exception: Could not find property 'headers.X-MS-APIM-Tokens' in the trigger outputs. Workflow has connection references '["shared_teams"]' with invoker runtime source.

     

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on 29 Aug 2022 at 15:48:43
    Re: post a message in specific channel with Power Automate

    Use the Teams ID in the List Channels action and then filter that array of channels on the display name being equal to the one you want.  That will give you the Channel ID that you need to post the message to the channel.  Something like this

    image.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow
Loading started