How to configure teams_webhook

Step-by-step guide on how to configure teams_webhook

teams_webhook is a mandatory field to configure MS Teams integration.

Setting up teams_webhook is a simple process that can be completed in a few steps.

  1. In the target Teams channel, open Workflows and create a new flow using the When a Teams webhook request is received trigger. Set Anyone in the Who can trigger the flow.

  2. Parse JSON wit hthe following parameters:

    • Content - “Teams” Body

    • Schema:

{
    "type": "object",
    "properties": {
        "type": {
            "type": "string"
        },
        "attachments": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "contentType": {
                        "type": "string"
                    },
                    "contentUrl": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "content": {
                        "type": "object"
                    }
                }
            }
        }
    }
}
  1. Select Apply to each, then set attachments as the Select an output from previous steps value.

  2. Set content value for the Compose -> Inputs (inside Apply to each).

Configuring MS Teams webhook
  1. Click Post card in chat or channel and set the Adaptive Card field to Outputs (inside Apply to each).

Post card config

Last updated

Was this helpful?