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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Output from 'when a ne...
Power Automate
Unanswered

Output from 'when a new channel message is added' seems not to be passed to the next action

(1) ShareShare
ReportReport
Posted on by 4
Hello guys.
 
I'm using Power Automate to set up flow to address the following:
  • Read a message from a teams channel (trigger).
  • The message is converted to plain text (html to text).
  • Some other actions.
The problem I'm facing is the message body / message body content seems not to be passed to the second action: html to text.
This seems to be really easy but, honestly, I feel totally stupid not being able to progress with this process.
 
 
Based on this basic flow, when I test it, this is what I get:
 
Input and output raw data for 'channel messages is added':
 
{
    "host": {
        "connectionReferenceName": "shared_teams",
        "operationId": "OnNewChannelMessage"
    },
    "parameters": {
        "groupId": "882e8de4-0cbc-xxxx-xxxx-45f6fab2cca3",
        "channelId": "19:1a38dd1095e840d08b4bf4f63exxxxx@thread.tacv2"
    }
}
The message arrives to Teams and the flow is triggered:
{
    "headers": {
        "Transfer-Encoding": "chunked",
        "Location": "https:/
...
...
    "body": {
        "etag": "1728460532475",
        "messageType": "message",
        "createdDateTime": "2024-10-09T07:55:32.475Z",
...
...
        "body": {
            "contentType": "html",
            "content": "<attachment id=\"e0194c903d2543b98538fcbba6xxxxxx\"></attachment>"
        },
        "channelIdentity": {
            "teamId": "882e8de4-0cbc-xxxx-xxxx-45f6fab2cca3",
            "channelId": "19:1a38dd1095e840d08b4bf4f63e71deaf@thread.tacv2"
        },
        "attachments": [
            {
                "id": "e0194c903d2543b98538fcbba6xxxxxx",
                "contentType": "application/vnd.microsoft.card.adaptive",
                "content": "{\r\n  \"type\": \"AdaptiveCard\",\r\n  \"body\": [\r\n    {\r\n      \"text\": \"\\nOrganization:
...
...
 
And this is what I see from the Raw input and output data, 'html to text':
{
    "host": {
        "connectionReferenceName": "shared_conversionservice",
        "operationId": "HtmlToText"
    },
    "parameters": {
        "Content": "<p class=\"editor-paragraph\">{\"contentType\":\"html\",\"content\":\"<attachment id=\\\"a55d51fd14514161ab2363b813xxxxxx\\\"></attachment>\"}</p>"
    }
}
 
Everything seems to be OK (status == 200) no other information:
 
{
    "statusCode": 200,
    "headers": {
        "Cache-Control": "no-store, no-cache",
        "Pragma": "no-cache",
        "Transfer-Encoding": "chunked",
        "Vary": "Accept-Encoding",
        "Set-Cookie": "ARRAffinity=8484fb3d90c3d36e5b1e48ba2fb9c171f2967b2e02d3fc0cf6ad37cb692fb867;Path=/;HttpOnly;Secure;Domain=conversionservice-we.azconn-we-003.p.azurewebsites.net,ARRAffinitySameSite=8484fb3d90c3d36e5b1e48ba2fb9c171f2967b2e02d3fc0cf6ad37cb692fb867;Path=/;HttpOnly;SameSite=None;Secure;Domain=conversionservice-we.azconn-we-003.p.azurewebsites.net",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
        "x-ms-request-id": "d17d372b-09b3-xxxx-xxxx-2cc403afb086",
        "X-Content-Type-Options": "nosniff",
        "X-Frame-Options": "DENY",
        "x-ms-tenant-id": "ecaa386b-c8df-xxxx-xxxx-740cbdb5ba55",
        "Timing-Allow-Origin": "*",
        "x-ms-apihub-cached-response": "false",
        "x-ms-apihub-obo": "false",
        "Date": "Thu, 10 Oct 2024 12:45:01 GMT",
        "Content-Type": "text/html; charset=utf-8",
        "Content-Length": "35",
        "Expires": "-1"
    },
    "body": "{\"contentType\":\"html\",\"content\":\"\"}"
}
 
 
Would like to understand why this basic flow is not transferring the information from main action to 'html_to_text'.
 
Appreciate your help.
 
Regards
Categories:
I have the same question (0)
  • FL-02091104-0 Profile Picture
    4 on at
    Hello.
     
    Anyone around ?
     
    Regards
    Javier

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard