This article will help you to automate a message card using MS flow when a new item is added to a list.
Step 1: Select the preferred list to get the notification. Let it be a news list.
Step2: Now go to flow and create a flow to get a team’s message card. The name of the flow is Teams message.
Step 3: Now from the SharePoint item select the site URL and list name. Add the teams message card and add Recipient, Message and Headline. Then save the flow.
Step 4: Now add an item to the list where we created the automation.
Save the item to the list to trigger the flow
Step 5: Now the flow will trigger and a message card with Headline and message will be received in the Teams using MS Flow.