How to attach files from a Microsoft Teams Chatbot to a ServiceNow Incident via Scripted REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi all,
@Ankur Bawiskar @Dr Atul G- LNG
I am currently working on integrating a chatbot in Microsoft Teams with ServiceNow to automate incident creation via Scripted REST API.
Current Setup:
A form is built within the chatbot to capture incident details.
Users can submit incidents directly from Teams, which works fine.
An option has been added for users to upload attachments while filling out the form.
Requirement: The client now wants that any attachment uploaded via the chatbot form should be automatically added to the corresponding incident record in ServiceNow.
Question: Is this feasible using the Scripted REST API? If yes, could someone guide me on how to:
Accept the attachment from the chatbot in the API call
Link that attachment to the newly created incident record in ServiceNow
Any inputs, sample scripts, or advice from those who've handled something similar would be greatly appreciated!
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @sravanku888
I'm not 100% sure, but why do you want to use REST API? You can use the Spoke/Plugin to integrate Microsoft Teams with ServiceNow—it’s a simpler and more supported approach.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************