Microsoft Teams - Post Message via Workflow Webhook
This atomic belongs to the Microsoft Teams atomic group.
This atomic sends a message to a Microsoft Teams channel or chat using a webhook. You must add a compatible workflow with a webhook to your Teams channel or chat before you can use this atomic.
See this page for more information on how to add the workflow to your channel and get your webhook URL: https://support.microsoft.com/en-us/office/post-a-workflow-when-a-webhook-request-is-received-in-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498
Target: None
Steps:
[] Make sure a message or attachment list was provided (if not, end the workflow)
[] Build the message payload and attempt to post the message to the webhook
[] Check if the Python script was successful (if not, end the workflow)
[] Check if the request was successful:
[]> If it was, check for an unexpected response body and, if found, output an error
[]> If it wasn't, output an error