This article explains how to send alert notifications from Shuffle to Microsoft Teams using the new Workflow-based webhook method in Teams and a simple HTTP POST action in Shuffle. The message format uses a Teams-compatible Adaptive Card.
alert_title
alert_id
customer_code
asset_name
Microsoft Teams has moved from the classic “Incoming Webhook” connector to a Workflow-based webhook method. Follow this SOCFortress knowledge base article to generate the webhook URL for your Teams channel:
How to Configure a Microsoft Teams Webhook Using the New Workflow Method
When finished, you will have a Teams-generated URL that looks similar to:
https://prod-XX.westus.logic.azure.com/workflows/XXXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=1.0&sp=...&sv=...&sig=...
Important: Keep this URL secure. Anyone with the URL can potentially post messages to that channel (depending on your workflow configuration).
$exec.execution_arguments.alert_title
$exec.execution_arguments.alert_id
$exec.execution_arguments.customer_code
$exec.execution_arguments.asset_name
application/json
In the HTTP node body/payload, paste the JSON below exactly (no extra text before or after the JSON). This will post an Adaptive Card into Teams.
{ "type": "message", "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive", "contentUrl": null, "content": { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.3", "body": [ { "type": "TextBlock", "text": "TEST SIEM Stack Alert", "weight": "Bolder", "size": "Medium" }, { "type": "TextBlock", "text": "Message: $exec.execution_arguments.alert_title", "wrap": true }, { "type": "TextBlock", "text": "Alert ID: $exec.execution_arguments.alert_id", "wrap": true }, { "type": "TextBlock", "text": "Customer Code: $exec.execution_arguments.customer_code", "wrap": true }, { "type": "TextBlock", "text": "Asset Name: $exec.execution_arguments.asset_name", "wrap": true } ] } } ] }
Notes
"
This almost always means the payload is not valid JSON. Common causes:
}
$exec...
"text": "Message: "something""
\"
Was this article helpfu?
Thank you for voting
You are related to multiple companies. Please select the company you wish to login as.