Skip to content

Teams Message

  • Action
  • Web
  • Advanced mode

Posts a card to a Microsoft Teams channel through a Workflows webhook: in the channel's ... menu, Workflows, then "Post to a channel when a webhook request is received", and copy the address it shows. Continues on Success when Teams accepts it, otherwise on Failed.

In the editor, press Space on the canvas to add a step, then open Actions > Web, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Webhook URL

A web address Required

The workflow's address. Stored as a password: anyone who has it can post to the channel.

Starts as: empty Takes ${variables} and expressions Can come from another step's output Starts as a password

Title

Text

Shown in bold at the top of the card.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Message

Text

Simple formatting works: **bold**, _italic_, [links](https://example.com) and lists. ${variables} are filled in.

Starts as: Message text Takes ${variables} and expressions Can come from another step's output

Time limit (ms)

A duration More options

0 waits as long as it takes.

Starts as: 30000 Can come from another step's output

Where it continues

  • Success: Continues here when the answer has a 2xx status.
  • Failed: Continues here when it fails; the reason is in the run log.

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Teams Message outputs
OutputGivesWhat it is
StatusCodeThe HTTP status Teams answered (202 when it worked); 0 when there was no answer.
ErrorTextWhy it failed; empty on success.

Good to know

  • Fields marked as passwords keep their value in the Windows password vault, never in the macro.

More in Web