Microsoft

Post Microsoft Teams Message

Sends a message to a Teams channel through a Workflows webhook.

Unverified

What the model is told

Post a short message to the team's Microsoft Teams channel, for example to hand over a conversation or flag an urgent request. Returns an empty or short acknowledgement when it succeeds.

Request

POSThttps://YOUR_TEAMS_WORKFLOW_HOST/YOUR_TEAMS_WORKFLOW_PATH_AND_QUERY

Headers

  • Content-Typeapplication/json

Body

{
  "text": "{{message}}"
}

Parameters

  • message stringThe message to post.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "b9d33837-b88d-41e9-a01d-484d015c1e71",
    "type": "HTTP_REQUEST",
    "label": "Post Microsoft Teams Message",
    "name": "post_microsoft_teams_message",
    "customName": false,
    "description": "Post a short message to the team's Microsoft Teams channel, for example to hand over a conversation or flag an urgent request. Returns an empty or short acknowledgement when it succeeds.",
    "parameters": [
      {
        "name": "message",
        "type": "string",
        "description": "The message to post."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://YOUR_TEAMS_WORKFLOW_HOST/YOUR_TEAMS_WORKFLOW_PATH_AND_QUERY"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": "{\n  \"text\": \"{{message}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.