This is awesome. In the Get Response flow, could you not generate a new adaptive card and wait for a response? Or generate a regular ac and then use a second Get Response flow to respond to to what was input? My use case is generating a few (less than 6) ACs at initial SP list item creation. User will dismiss or Request details. Dismiss would end the initial Get Response flow. Choosing Details will result in a second card that has a field for comments and an approve/reject choice.
I haven't tried it myself tbh... For sure, whatever you post from ACs and is received by a flow underneath, must receive a response, so that ACs is not displaying any error message. However I haven't tried to submit one card, receive a response with another card, that can be submitted as well. No idea if that would work.
I've been trying for days to make this work and I'm clearly doing something wrong in my adaptive card json. It does not seem to matter how I structure the {data} it's not showing in Dynamic content. I initially had my Actions outside of the body which properly generated the card but didn't show dynamic data. So I restructured my json to create an ActionSet inside the body like Tomasz did and it still doesn't work.
Hi Tomasz Thanks for sharing the amazing content, but why is it only functioning in the Default Environment? Even after so many years, this trigger hasn't been upgraded to Dev and Production Environments.
Hi Thomasz. Really useful video and a great pattern. Unfirtunatley ( and I think this is a common issue) the flow that is triggered by"When someone responds to an adaptive card" doesn't fire for me even though the adaptive card json and Card Type Id are the same as in teh invoking flow. I also note that we can now update a card.
@@TomaszPoszytek Wow, this is confusing from Microsoft. Just to clarify more, default envitonment is really "default environment of your company" (!). It can't even be created out of solution in enviroment of your project/department/division etc. Very strange and this should be written somewhere with huge text and 10times underlined :-))... took 3 hours of my life.
Hi Thomasz ! Thank you for this helpful video. IS there a way to "listen" an updated adaptive card ? I don't figure out how to pass the Card Type Id to the action "Update an adaptive card in chat or channel". Thanks !
The Card Type Id is for the trigger "When someone responds to an Adaptive Card": ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2ZHv0l_6W5Q.html&ab_channel=TomaszPoszytek
@TomaszPoszytek Thanks for a great video! I can´t however grab the response value from the user in the response flow (when someone responds to an adaptiv card). Flow is triggered, but the cardOutputs property is empty. Any idea why?
Oh, there may be many reasons. For example, you are referencing wrong ID in the response body - not related to a field, that you want to send data from. Or that it is not escaped. Or, or or :)
@@TomaszPoszytek I see you were using the expression First() yet you never explained that clearly. My advice is that you should always time to expand and explain each step.
In the latest Power Automate version, the "When someone reply to an adaptive card" trigger now has a Body property and no "Card Type Id" property. But there is a new tab called Parameters and there's a Tracking Id in that tab. Is that the field we need to use in place of "Card Type Id" ?
@@TomaszPoszytek But when I switch to the old version, I cannot past the card json into that field. I tested with a very basic text string and can past but can't paste the full card definition. Such a useful function with really bad documentation. Not your fault clearly. I'm just frustrated that I cannot figure out how to replicate what you've done. So I figured out how to get the json in there. Apparently I had a data definition it didn't like. But even with the json in there, I get nothing in the Dynamic content popup in my next Compose step. It seems to be completely ignoring the trigger content and I don't understand why. I have nothing but the trigger with valid json and card type id. It's only two fields. How can I screw it up? lol. But no dynamic content. Is there something silly obvious I'm missing?
Hello, I still have problems with the trigger "When someone responds to an adaptive card". If I click on the card myself, the flow is triggered, if another user clicks on this card then not. The flows are both in the default. I don't understand why it doesn't respond to the others' responds?Maybe someone can help me?
As far I know the trigger is still in preview. Maybe this is the reason. Basically it should let you get responses to the card that was sent by you, but completed by anyone else.
Hello Tomasz, Not sure if you noticed that now there is no 'Card Type ID' field under Post adaptive card to chat or Channel task. it has changed to "hosted Contents". Do you know how should we do now? Thanks!
Resolved it after read others' comments, changed to send through flowbot then the Card Type ID appears and it works perfect. Thanks a lot for the video and guidance.
Hello. I am wondering if you can help me as i am desperate. I have a bot posting the adaptive card to a user. However when the user clicks submit, I get the error "the initiator is not a member of the roster in the generic thread". I believe that happens because the Flow bot initiates the chat with the user and when I try to update the card i use my own account so i get the above error. Do you have any workarounds for that? Thank you in advance!! Great videos!
Thank you. As per the solution - maybe the childflow, that runs using specific account, would be a solution, so that always a card and the update will happen using the same account?
Hello Tomasz, maybe you can help me. I created a card in the card designer to get a text string response. In my card I put some dynamic content but when I use the cards code in the listener trigger I get an error. Do you know if dynamic content is allowed to be used in the post card and in the listener card? After removing the dynamic content it works fine but that limits the trigger since I would need to have more entry data into the card. Any suggestions are welcome. Thank you.
@@TomaszPoszytek yes, I found that out. For anyone having the same issue just paste the card design in the listener trigger and then delete the dynamic content and it works fine. I didn't know if they had to match perfectly for it to work.
@@JakobElfner yes I was. I think the only thing you can really work with are items from the card output section. You can always add things to that by adding data to buttons using the adaptive card designer tool. The format for data goes like this " "title": "data" ". Use this in your card that is being sent and it should show up as something you can use in your listening card.
Hello, great video. I have a logic app in azure environment with a adaptive card .And the response adaptive card is in power automate. Will it still work ? Or does both have to be in power Automate ? Because when I run the logic app in azure, it says error “ environment id is null or empty “. Could you kindly give your input ?
@@TomaszPoszytek I haven’t got notifications of your reply. Thank you for replying back. The response is in power automate ( the one you have explained ) and the trigger is in logic app( where it post the adaptive card with card type id same as in the one in power automate ). I get environment id null or empty. Thank you again
@@abinayamuthusamy7479 i don't know tbh. Maybe some kind of workaround is to create a cloud flow triggered by http and use it from your logic app, to actually post Adaptive Card?
Hi Tomasz, hoping you can help, i have copied your part of the adaptive card JSON underneath the Action.Submit for the hidden data, i know in yours you have the Team and Channel ID, in mine im looking to carry through a SharePoint list ID so i can update a row in a SharePoint list with outputs from the adaptive card but i cant seem to find it on the second cloud flow Original Card when input is given { "type": "ActionSet", "id": "ActionSet2", "actions": [ { "type": "Action.Submit", "title": "Submit", "associatedinputs": "auto", "style": "positive", "data": { "ListID": "@{outputs('Create_item_2')?['body/ID']}" } } ] } Outputs i get from the second flow triggered when there is a response to the adaptive card which is from my input.text box }, "cardOutputs": { "inputComments": "Test Comments" }
@@TomaszPoszytek it's unfortunate because my enterprise doesn't give access to posting as flow bot, so it really limits what I'm able to do with adaptive cards