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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Customize the "Update ...
Power Automate
Unanswered

Customize the "Update message" of the "Post adaptive card and wait for a response" action

(0) ShareShare
ReportReport
Posted on by

Hi

 

Is it possible to use a json payload as the "Update message" or turn the the "Update message" off?  I would like to be able to send a new adaptive card as a response to the user selections in the first, but I do not want this "Thanks for your response" after each question?
I have seen in other posts here where the action has both a bigger field for the update message but also the option to select if the card should be updated or not, I do not have those options.

Post adaptive card and wait for response.png

Any idea why those options does not exist?

Thanks

Peter

Categories:
I have the same question (0)
  • blakjakdavy Profile Picture
    2 on at

    As far as I'm aware, json cannot be included in the Update Message. I have found that there is some limited support for Markdown, however:

     

    • Confirmed working:
    • Confirmed not working
      • - bullet point
      • > blockquote
      • ![image alt text](imagePathOrUrl/image.jpg)

    Hopefully that will help with what you're trying to do!

  • Verified answer
    CatarinaF Profile Picture
    25 on at

    Hi, I have done the following to update with an adaptive card :

     

    CatarinaF_0-1668082450368.png

     

    and in the messageId field of "Update an adaptive card in a chat or channel" I used outputs('Post_adaptive_card_and_wait_for_a_response_2')?['body/messageId'] to get the messageId of the adaptive card.

     

    So, this works great for forms because with the "post adaptive card and wait for a response" the form i submitted is automatically closed by the update message and then I can submit an update with the form answers (without the submit button).

     

    Hope this helps!

  • Community Power Platform Member Profile Picture
    on at

    Hi!

     

    That sounds great but what do you select in the update and adpative card action? There has to be a Team/Channel or a Group chat, what do you specify here. The inital adaptive card is sent as a one2one chat message to the user not in a channel or group chat

     

    Thanks

    Peter

  • CatarinaF Profile Picture
    25 on at

    To send to the user, as 1-to-1, I used the activity Create a Chat and put the email there, then that gives me as output an conversationId, and I use it in Group Chat field of Post adaptive card and wait for a response 2 and Update an adaptive card in a chat or channel.

     

     

    ConversationId = @outputs('Create_a_chat')?['body/id']

    MessageID = outputs('Post_adaptive_card_and_wait_for_a_response_2')?['body/messageId'] 

     

    CatarinaF_0-1668085910201.png

     

    CatarinaF_1-1668085983565.png

    CatarinaF_2-1668086013207.png

     

     

    The group chat field can be a conversationId as 1-to-1, because you retrieve the conversationId from the Create Chat activity. (And don't worry, if you use the activity, the conversation on teams will always be the same, because if teams has a conversation already between those 2 people, it will use that one. If not, it creates a new chat with that person.)

  • Community Power Platform Member Profile Picture
    on at

    Thank you @CatarinaF  this is brilliant, didn't think of having a 1to1 group chat 🙂

    Now the Bot doesn't have to be installed in the Teams client anymore as it had to when using the PVA

    Do you if there is any way of getting rid of the "<sender> via Power Automate" 

     

    /PPeter

  • CatarinaF Profile Picture
    25 on at

    Sure, glad it helped!
    Unfortunately, I think we still can't edit the flowbot name… 😅

     

    Please mark the last response as solution, apparently this problem is common to many people!

     

     

  • DavidZS Profile Picture
    3 on at

    Just came in here to mention this is an awesome solution, thanks for the idea!

  • CatarinaF Profile Picture
    25 on at

    Thanks for the feedback!

  • pl_Rocha Profile Picture
    11 on at

    Thank so much @CatarinaF!  I was crazy trying a solution for this. 

    I have a flow than send an approval to teams and mail and need to show the same answer on both. 
    Lost some hours researching for any solution. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard