How to Give From name win power automate adaptive card

praveena panneer selvam 0 Reputation points
2024-11-07T16:46:03.2433333+00:00

Hi Team,

I have a requirement where my Power automate desktop flow uses active post a card to send message to teams channel. I have created connection reference and it displays name of the account used in connection reference.

I want to place a generic From name Ex: API Bot Notifications as flow bot name.

Any help would be much appreciated.

I tried using below JSON but it didnt work.

{

"type": "AdaptiveCard",

"body": [

    {

        "type": "TextBlock",

        "size": "Medium",

        "weight": "Bolder",

        "text": "test"

    },

    {

        "type": "TextBlock",

        "text": "test",

        "wrap": true

    }

],

"from": "RPA1000 Notifications"
```}
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,326 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,345 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 6,886 Reputation points Microsoft Vendor
    2024-11-08T06:09:47.6166667+00:00

    1.If you want to send by using option 'Flow bot', it will send as below:

    Prasad_DasMSFT_4-1721714396812.png

    Prasad_DasMSFT_5-1721714421326.png

     

    2.If you want the sender's name only to be reflected without via Workflows text, you can choose below option while setting up/editing the workflow.

    This will send the card as below:

    Prasad_DasMSFT_6-1721714464969.png

     

    Prasad_DasMSFT_7-1721714491095.png

    ** When a flow is triggered and uses the "Post card in chat or channel", it uses username as the sender in that channel as "[MY NAME] via Workflows". If you do not want it bound to yourself and let an application/bot, be the sender of the message, this is not supported yet.

    Engineering team is currently looking into removing the user attribution from the bot post ("UserName via Workflows"). Once we have any update, we will share in this thread.

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.