Send Communication via SMS (Twilio) Data and Config

In sending SMS to students, parents, and carers, Twilio has been utilized as the platform for sending SMS.

image (15).png

TWILIO Set up

  1. Log in to your Twilio Account.

  2. On the console page, go to the Account Info.

    1. https://console.twilio.com

image-20240515-000502.png
  1. Create External System Connection

Go to the External System Connection tab and click New.

image-20240827-043229.png
  1. In your Twilio Account, select which country you would like to send the SMS to.

Twilio Account console page > Messaging > Settings > Geo Permission

image (17).pngimage (18).png

Please make sure the Country has been set up in the Company information.

image-20240717-032013.png

Here are the country codes of the different countries

{"US":"+1","CA":"+1","GB":"+44","AU":"+61","FR":"+33","DE":"+49","IN":"+91","CN":"+86","JP":"+81","BR":"+55","RU":"+7","ZA":"+27","MX":"+52","IT":"+39","ES":"+34","KR":"+82","AR":"+54","CL":"+56","NZ":"+64","NL":"+31","BE":"+32","SE":"+46","CH":"+41","AT":"+43","DK":"+45","FI":"+358","NO":"+47","IE":"+353","PT":"+351","GR":"+30","IL":"+972","TR":"+90","EG":"+20","NG":"+234","KE":"+254","PK":"+92","ID":"+62","MY":"+60","SG":"+65","TH":"+66","VN":"+84","PH":"+63","SA":"+966","AE":"+971","IR":"+98","IQ":"+964","AF":"+93","BD":"+880","LK":"+94","MM":"+95","NP":"+977","HK":"+852","MO":"+853","TW":"+886","KH":"+855","LA":"+856","MN":"+976","UZ":"+998","KZ":"+7","UA":"+380","PL":"+48","CZ":"+420","HU":"+36","SK":"+421","HR":"+385","SI":"+386","BA":"+387","RS":"+381","ME":"+382","MK":"+389","BG":"+359","RO":"+40","IS":"+354","MT":"+356","CY":"+357","LU":"+352","LI":"+423","MC":"+377","SM":"+378","AD":"+376","VA":"+39","BZ":"+501","GT":"+502","SV":"+503","HN":"+504","NI":"+505","CR":"+506","PA":"+507","CU":"+53","JM":"+1-876","TT":"+1-868","BB":"+1-246","BS":"+1-242","LC":"+1-758","GD":"+1-473","VC":"+1-784","AG":"+1-268","DM":"+1-767","DO":"+1-809","HT":"+509","VE":"+58","CO":"+57","PE":"+51","BO":"+591","PY":"+595","UY":"+598","SR":"+597","GY":"+592","EC":"+593","FJ":"+679","PG":"+675","SB":"+677","VU":"+678","NC":"+687","PF":"+689","WS":"+685","TO":"+676","TV":"+688","FM":"+691","MH":"+692","KI":"+686","NR":"+674","PW":"+680","CK":"+682","NU":"+683","TK":"+690","TL":"+670","BN":"+673","BT":"+975","MV":"+960","KP":"+850","JO":"+962","KW":"+965","LB":"+961","OM":"+968","QA":"+974","SY":"+963","YE":"+967","AM":"+374","AZ":"+994","GE":"+995","KG":"+996","TJ":"+992","TM":"+993"}

Note: After saving, the Token and Account SID will be emptied and it will create a PosiEd External record in Custom Settings and populate the Account ID. This can’t be viewed in a Production Org, only in a Scratch Org.

image-20240519-235142.png

After setting up Twilio, you can now send communication via SMS in the Attendance Management (Day Attendance Component).

The student record should have a Mobile Phone value.

image (15).pngimage-20240515-010553.png

Here’s the documentation on how to set up the SMS template.