Forum Discussion
nidheeshbabu96
Jul 30, 2024Copper Contributor
Error while running Teams workflow for sending message to a channel by triggering webhook
Hi, I was using the incoming webhook connectors for sending messages to channels via webhooks. Recently heard that these connectors are no longer supported and need to use workflows. I had setup a w...
- Aug 29, 2024
@basharh190 , StoneE1085, sushantp1105 ,BrianA1775, MattJ1810, nidheeshbabu96, RCFTech
We tried to test this by creating a workflow and then by POSTing a payload to the webhook URL. The workflow sent the message successfully in desired team's channel.
Workflow:
Step:1Step:2
Step:3
Running cURL command:
Result:
kidhexa
Aug 30, 2024Copper Contributor
Turns out it was failing due to processing the flow as 'bot' - have changed the post to user and the curl is now working successfully. I will test in our dev environment now.
Many thanks for your time on this!
sushantp1105
Aug 30, 2024Copper Contributor
That's correct..it was failing when processing the flow as 'bot'. After changing to user it worked. Will do more tests.
Thank you everyone for following up on this nidheeshbabu96 kidhexa basharh190 , StoneE1085 ,@BrianA1775, MattJ1810, RCFTech
Prasad_Das-MSFT thank you for your time.
Thank you everyone for following up on this nidheeshbabu96 kidhexa basharh190 , StoneE1085 ,@BrianA1775, MattJ1810, RCFTech
Prasad_Das-MSFT thank you for your time.