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 / Co-Pilot indicates my ...
Power Automate
Unanswered

Co-Pilot indicates my flow might not trigger due to a bug in generated JSON?

(0) ShareShare
ReportReport
Posted on by
I have a Power Automate flow that should track someone putting a checkmark on a thread in Teams.

I use 'When someone reacted to a message in chat'. It generates JSON like this:
 
{
"type": "OpenApiConnectionWebhook",
"inputs": {
"parameters": {
"reactionKey": "✅",
"frequency": "Multiple",
"runningPolicy": "Everyone",
"threadType": "channel",
"requestBody/channels": [
"Findings-UK"
],
"requestBody/groupId": "a025aff9-71c7-400f-ad3d-be4d455a178b"
},
"host": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
"connection": "shared_teams",
"operationId": "WebhookMessageReactionTrigger"
}
}
}

I'm trying to debug why the flow does not trigger. When asking Co-Pilot it indicates the JSON is incorrect. I cannot assess whether that is true.

 

Your trigger setup looks mostly correct for listening to a specific reaction (✅) in a Teams channel. However, there is a small issue in the JSON:

  • The property should be "connectionName" instead of "connection" under "host".

Corrected snippet:

"host": { "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams", "connectionName": "shared_teams", "operationId": "WebhookMessageReactionTrigger" }

Other than that, your parameters look valid for this trigger. Make sure your Teams connection is authenticated and the group/channel IDs are correct.

Note that I'm using another flow that triggers based on a new threads being started, and that works without issue.




 
Categories:
I have the same question (0)
  • MParikh Profile Picture
    529 Super User 2026 Season 2 on at

    The problem:

    
    
    "host": {
    
      "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
    
      "connection": "shared_teams",
    
      "operationId": "WebhookMessageReactionTrigger"
    
    }

    The fix:

    "host": {
    
      "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
    
      "connectionName": "shared_teams",
    
      "operationId": "WebhookMessageReactionTrigger"
    
    }

    Change "connection" to "connectionName" in the host object.

    How to apply this fix:

    You need to edit the flow definition directly:

    1. Open Power Automate

    2. Go to your flow

    3. Click the three dots menu, select "Export" > "Package (.zip)"

    4. Extract the zip file

    5. Find the definition.json file

    6. Open it in a text editor

    7. Search for "connection": "shared_teams"

    8. Replace with "connectionName": "shared_teams"

    9. Save the file

    10. Import the modified flow back to Power Automate

    Alternatively, try recreating the trigger:

    1. Open your flow in Power Automate

    2. Delete the "When someone reacted to a message in chat" trigger

    3. Add it again fresh

    4. Reconfigure all the parameters (reaction key, frequency, running policy, thread type, channel)

    5. Save the flow

    The second approach is faster and less prone to errors. The fresh trigger should generate the correct JSON automatically.

    After fixing this, test the flow independently before connecting it back to Copilot Studio. Add a simple action after the trigger (like "Compose" or "Send an email") to verify the trigger fires correctly when you react to a Teams message.


     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard