Hi UiPath Community,
I’m working on a use case where I need to build a chatbot integrated with Microsoft Teams that can start and stop UiPath jobs using the Orchestrator API. Here’s the flow I’m aiming to implement:
Use Case Overview:
- The client logs into Microsoft Teams and interacts with the chatbot.
- The chatbot presents two options: Start Job or Stop Job.
- If the user selects Start Job:
- The bot asks for the process name.
- Based on the input, the bot fetches a list of matching processes from Orchestrator.
- The user selects the desired process from the list.
- The bot triggers the job using the StartJobs API.
- If the user selects Stop Job:
- The bot asks for the Job ID or shows a list of running jobs.
- The user selects the job to stop.
- The bot calls the StopJob API.
Technical Stack:
- Bot Framework: Planning to use Python or Node.js with Microsoft Bot Framework.
- UiPath API: Using Cloud Orchestrator APIs with OAuth2 authentication.
- Teams Integration: Via Bot Framework and Azure Bot Service.
Help Needed:
- Best practices for securely integrating UiPath API with a chatbot.
- How to fetch and display process names dynamically from Orchestrator.
- Suggestions for handling job selection and confirmation in Teams UI.
- Any sample projects or references that follow a similar architecture.
Any guidance, examples, or suggestions would be greatly appreciated!
Thanks in advance,
Vignesh N