Forum Discussion

Aaron Anderson's avatar
Aaron Anderson
Copper Contributor
Sep 01, 2022

Create new Teams Update post When a Form gets new Response

i dont see Updates in actions when i search available "Teams" actions in PowerAutomate 

there seem to be no lil purple action for "create new Teams Updates submission" or anything for Teams updates...

Is there a way to add a Update .. any trigger anywhere ?

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Aaron Anderson you need to use the Post adaptive card in a chat or channel action.

     

     

    In the Adaptive Card field you need to add JSON code. For my example the code was as shown below but you will need to change it to your requirements. So you'll need to get a bit familiar with JSON.

    Spoiler
    {
        "type": "AdaptiveCard",
        "body": [
            {
                "type": "ColumnSet",
                "columns": [
                    {
                        "type": "Column",
                        "items": [
                            {
                                "type": "TextBlock",
                                "text": "Aircraft Service Request",
                                "wrap": true
                            },
                            {
                                "type": "TextBlock",
                                "spacing": "None",
                                "size": "Large",
                                "weight": "Bolder",
                                "text": "⁠
    Registration
    ×
    ⁠"
    
                            },
                            {
                                "type": "TextBlock",
                                "spacing": "None",
                                "text": " - ",
                                "isSubtle": true
                            },
                            {
                                "type": "TextBlock",
                                "size": "Small",
                                "text": "⁠
    Airline
    ×
    ⁠",
                                "wrap": true
                            },
                            {
                                "type": "Image",
                                "url": ""
                            }
                        ],
                        "width": 2
                    }
                ]
            }
        ],
       
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.0"
    }

    And the result in the Teams channel was:

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

Resources