I would like to send a message from UiPath to a specific Teams channel, ideally with an attachment.
If using Automation Cloud, I can roughly picture creating a connector via Integration Service and accessing it. But if Orchestrator is on-premises or not being used, could you point me in the right direction on how to implement this?
Note: Due to environment restrictions, sending email is not permitted, so sending an email to the channel’s email address is not an option.
I would appreciate any advice. Thank you in advance.
You can try below.
Please note it’s generated by LLM. I have not done this before but solution seems doable so would suggest to give it a try.
If you are not interested in trying this option, then another alternative is to send teams message using power automate and integrate power automate workflow with UiPath. By using http request, call power automate workflow which will send the teams message to the channel.
Prerequisites
Access to Azure Portal (to register your app)
UiPath Studio (Desktop version)
HTTP Request activity from UiPath.WebAPI.Activities package
Thanks for your response, and sorry for replying in Japanese.
Register an external application for UiPath integration through the Azure portal, and obtain the application ID and tenant ID.
Then, use those to send an HTTP request for authentication and send a message—is that the general idea?
(I imagine there’s probably a step before this to get the ID of the target channel.)
This part could probably be replaced with MicrosoftTeams.Activities.
I’ve never managed Teams, so I’m not familiar with how the Azure portal works, but I’ll try asking the administrator for now.