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 / Dynamic content from t...
Power Automate
Answered

Dynamic content from trigger (Microsoft Teams) passes on null values

(0) ShareShare
ReportReport
Posted on by 5
I'm using the trigger "when keywords are mentioned (in a Teams channel)". Subsequent flow:
 
Get a team->Get specific details about a channel -> Post message on Slack
 
From the trigger the following dynamic content were used subsequently:
teamId
channelId
linktoMessage
 
I pass the teamId to "Get a team", and when the flow is executed because of the trigger, it always fails here with the error message.
 
Action 'Get_a_team' failed: The 'inputs.parameters' of workflow operation 'Get_a_team' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'teamId'

It seems like the teamId string is empty as it is passed to the next flow, so I added a 5 second delay and a "Do until" flow with the condition that all variable assignment to trigger values must not be empty. But it doesn't solve the issue, my error message remains.
 
So the keyword trigger reveals that teamId, channelId, linktoMessage are NOT EMPTY. But why does do the dynamic content remain empty as the next part of the flow is triggered?
 
In any case, I had to remove the "Get a team" and "Get specific details about a channel" to get the flow to work. But the linktoMessage that I was hoping to pass to the Slack Message didn't appear, so it's basically a hard coded Slack message without any links.
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    It is possible that these details are returned in the value field as an array. Which means you would have to loop through that array to get the nested details within that array. Try and use the value field/property and an apply to each action.
     
    Below is an example setup.
     


    And in this flow run outputs you can see the value field is an array




     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • YL-20020729-0 Profile Picture
    5 on at
    Omg thank you so much!!! I couldn't figure it out for hours.
     
    I was wondering why the "For each" loop keeps appearing, now I see why. The UI has been very misleading because it seems like those dynamic content can be used directly. I wish Microsoft would brush up on making this clearer. I wouldn't have been able to figure it out without the help of those who can read JSON.

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
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard