# Teams webhook — recovered example

Inspect the recovered Teams webhook and Adaptive Card example. The workflow setup relies on held screenshots and the PowerShell body is fragmented; no working send procedure is established here.

!!!warning Source-derived reference
These notes were recovered from OneNote. Configuration, permissions and operating results have not been freshly verified. Confirm the applicable authority and environment before acting.
!!!

**Search for "Send webhook"**

[Screenshot retained for review](../../review/Review-status.md#asset-c99334a37a26c6a6e327)

[Screenshot retained for review](../../review/Review-status.md#asset-b1bf23fa9b5ca2d3dfb5)

Copy webhook link

[Screenshot retained for review](../../review/Review-status.md#asset-4b27510d208d44a5dab7)

``` powershell
$TeamsWebhookUrl = "<Replace with webhook>"
```

``` powershell
$payload = @{
```

type = "message"

attachments = @(

@{

contentType = "application/vnd.microsoft.card.adaptive"

content = @{

"\`\$schema" = "[http://adaptivecards.io/schemas/adaptive-card.json"](http://adaptivecards.io/schemas/adaptive-card.json")

type = "AdaptiveCard"

version = "1.5"

body = @(

@{

type = "TextBlock"

text = "Test Alert: Hello World Webhook"

size = "Large"

weight = "Bolder"

color = "Attention"

}

@{

type = "TextBlock"

text = "This is a line of text you can add to your message."

wrap = \$true

}

@{

type = "FactSet"

facts = @(

@{ name = "Title"; value = "FactSet Title" }

@{ name = "Time"; value = "DATE: \$((Get-Date).ToString("yyyy-MM-dd HH:mm:ss"))" }

@{ name = "Status"; value = "STATUS: HELLO WORLD TEST COMPLETE" }

)

}

)

}

}

)

} \| ConvertTo-Json -Depth 10

``` powershell
Invoke-RestMethod -Uri $TeamsWebhookUrl -Method Post -Body $payload -ContentType "application/json" | Out-Null
```

## Related guidance

- [Topic overview](Introduction.md)
- [Source review status](../../review/Review-status.md)
