How to send SMS to assignment group members when an incident is created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 06:45 AM
Hi All,
Greetings!!
We have enabled Twilio Spoke plugin to send SMS to assigned to and assignment group members when an incident is created.
I achieved this for assigned to easily by using send SMS action which is available OOB as part of Twilio Spoke plugin. Now i want to send SMS to assignment group members of incident record dynamically.
Kindly provide me some insights to achieve this requirement.
Plugin Enabled for Twilio:
Twilio Spoke(App id: sn_twilio_spoke)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 07:05 AM
Hi @ss52 ,
Not sure if you got a chance to review this post in the community:
https://www.servicenow.com/community/itom-forum/send-sms-to-members-of-a-group-using-notify-api-and-...
If this helped you in anyway, Please mark helpful and accept as solution.
Thanks,
Mahathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 07:21 AM
Hi Mahathi,
Thanks for your prompt response. I have alreayd gone through this community artciale and had a setup simlar to this.
But i am receiving this error while i check in logs
com.glide.script.RhinoEcmaError: undefined is not a function.
sys_script.46ff832d47c2ea10f7553611e36d43c7.script : Line(9) column(0)
6:
7: gs.info("twilio sukanya inside");
8:
==> 9: var notify = new SNC.Notify();
I am setting this BR in global domain and global scope
Thanks and Regards,
Sukanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 08:00 AM
Hi @ss52 ,
do you have a Script include named Notify in the your system?
check the script include name and use the API Name of the script include with correct value replace
SNC.Notify
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2025 08:05 AM
Hi, consider making a workflow with two steps:
Look Up Records for sys_user_grmember table where user group will be coming from the incident record
For Each Item in where SMS action will be called to the each group member from the list above