Skip to content

Webhook Format: Microsoft Teams

When format is set to teams, incoming emails are converted into Microsoft Teams messages using the incoming webhook format.

  1. In the channel, click + next to the message input → Workflows.
  2. Select Post to a channel when a webhook request is received.
  3. Finish setup and copy the generated URL.
  1. In the channel, click ···Connectors.
  2. Search for Incoming Webhook, click AddConfigure.
  3. Give it a name and copy the generated URL.
Terminal window
curl 'https://api.echovalue.dev/webhook' \
-H 'x-token: mytoken' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://prod-00.westeurope.logic.azure.com:443/workflows/XXXX/...",
"format": "teams"
}'
**Subject line**
From: Sender Name <sender@example.com>
Email body text