Microsoft Teams Webhook Connector

Has anyone been able to get the webhook into a teams channel to work? I have setup an incoming webhook on my teams channel, copied that into Orchestrator, but no messages are sent.

1 Like

I am facing the same issue. Anyone got it working?

Hi All,

UiPath Webhook sends http calls in the format described here. and Microsoft Team Webhook connector needs to be in the format described here.

I manage to utilise Power Automate to provide a webhook endpoint and use the out of the box action to post a message in Microsoft Teams. In short there steps are;

  1. Create an Instant flow and select trigger flow “When an HTTP request is received”
  2. Click Use a sample payload to generate schema.
  3. Copy and Paste one of the json examples in UiPath documention.
  4. Add a “Post a message” action and format the message to your requirement.
  5. After save, go back to the trigger and copy the HTTP POST URL and paste in Orchestrator webhook section.

Because UiPath uses different format for each alert type, you’d have to repeat the above per alert type. I only care about faults so I created 3 flows.
Maybe there is a UiPath base solution someone can chime in.

Hello,
In this video you will see how Use Orchestrator Webhooks in Power Automate to call MS teams:

Thanks,
Cristian Negulescu

I tried this approach end to end and it does send alerts/messages to Teams. However, it sends blank messages! (The values for each field are not populated)
eg:
I received from Orchestartor:
Start Time:
End Time:
State:
Name:
Process:
Info:

Hard to say please be sure that you put variables from JSON. Exactly like in the video 10:06. If some times you get values and sometimes you don’t get values that is really strange, and in this case the only logic is that Sample for Generate Schema is different and the conversion fails. Try to print the response I don’t know exactly how and after this build a schema that will cover all your cases.