 REDCapSupport:[email protected]
VersionDate:4/2019
HowtouseSMSTextMessagingforREDCapSurveyInvitations
“REDCaphasthecapabilitytomakevoicecallsandsendSMStextmessagestosurveyrespondentsbyusinga
thirdpartywebservicenamedTwilio(www.twilio.com).Inthisway,youcouldinviteaparticipanttotakea
surveybysendingthemanSMSmessageorbycallingthemontheirphone,inwhichthedatawouldbecollected
inREDCapdirectlyfromtheirphonewithouthavingtouseawebpage.Therearemanydifferentoptions
availableforhowyoucaninviteparticipantsandhowtheycantakeyoursurveys,eitherasavoicecallsurveyor
asanSMSconversation.”
EachusershouldsetuptheTwilioaccountinTwilio.comincluding requiredpayment.WhentheTwilioaccount
iscreated,sendtheCCTSREDCapadminat[email protected]theREDCapprojectname/ID,SID,AuthToken
andTwiliophonenumber(seetheadminsetupscreenbelow)sothattheadminusercanenabletheSMS
option.Pleasemakesuretodisable‘RequestInspector’inyour Twilio account.

DetailedinfoofTwilioSMSinREDCapcopiedfromREDCapisasfollows:
TwilioSMSandVoiceCallservicesforsurveys
SETUP&CONFIGURA TION:
Tousethisfeature,youmusthaveaTwilio.comuseraccountthatisfundedwithsomemoney(sincethereisa
costforeachphonecallmadeandforeachSMSmessagesent).IfyoudonothaveaTwilioaccount,itisvery
easytogotoTwilio.comandcreateone.
OnceyourREDCapprojectisconne ctedtoyourTwilioaccountbyenteringyourTwilioaccou ntcredentialson
yourREDCapproject'sProjectSetuppag e,youcanthenconfigurehowyouwanttouseTwilioinyourproject.
Ingeneral,notmuchisdifferentbetweenadministeringasurveynormallyinREDCap thanwhenusingTwilio
SMS/voicecallsexceptthatyouadditionallychoosehowyoursurveyinvitationsaredelivered.
Thefollowingchoicesareavailable:
1)Initiatesurveyasvoicecall
2)InitiatesurveyasSMSconversation
 REDCapSupport:[email protected]
VersionDate:4/2019
3)SendsurveyinvitationwithsurveylinkviaSMS
4)SendsurveyinvitationviaSMStotakesurveyasvoicecall(respo ndentmakescall)
5)SendsurveyinvitationviaSMStotakesurveyasvoicecall(respo ndentreceivescallwhenreplyingviaSMS)
Anyoralloftheseinvitationdeliverymethodscanbeutilizedwithinasingleproject.Thechoiceofdelivery
methodcompletelydepen dsuponyourspecificusecaseforhowyouwanttocollectdatafr omyour
participants.
VOICECALLSURVEYS:
Whenparticipantstakeasurveyasavoicecall,questionsareaskedoneatatime,inwhichtheTwilioservicewill
usetexttospeechtechnologytoreadthequestionstotheparticipantaudiblyontheirphone.Youmaychoose
thelanguageand/ordialectinwhichthetextshouldberead.
Participantswillrespondby enteringnumbersontheirphone'skeypad,thusonlynumericresponsescanbe
usedbecauseofthislimitation(thisincludestheuseofinteger/numberfieldsandalsomultiplechoicequ estions
withnumericcodings,inwhichtheparticipantwillenterthenumericcod edvalueontheirkeypad,notthelabel
thatisreadtothemoverthephone).
Forexample:
“Doyoulikeicecream?Yes,press1.No,press0.”
Oranumberquestionlike“Whatisyourage?”
SMSSURVEYS:
WhenparticipantstakeanSMSsurvey,questionsareaskedoneatatimeasanSMStextmessageconversation/
thread.SMSsurveysprovidemoreresponsepossibilitiesthanvoicecalls.Whileparticipantsinvoicecallscan
onlyrespondwithnumbers,theymayrespondwithanykindofalphanumerictextforanSMSsurvey.
NOTE:OnlyREDCapadministratorsareallowedtoenabletheTwiliooptiontoinitiateasurveyasanSMS
conversation.Muchlikeemail,SMSisnotconsideredasecureformofcommunication, soyoumaynotwantto
administersurveysasSMSconversationsiftheparticipantwillbesubmittingidentifying information(PHIorPII)
unlessyouhavebeengrantedspecialpermissionfromtheparticipanttodoso.Givensuch sensitiveprivacy
issues,onlyyourlocalREDCapadministratorcanenabletheoptionalsettingtouseSMSsurveys.Pleasenotify
youradministratoraboutthisifyouwishtohavethisoptionenabled.
COMPATIBILITY:
MostofREDCap'ssurveyfeaturesstillfunctionmuchthesamewhentakingasurveyviaSMSorasavoicecall.
Thisincludestheenforcementofrequiredfields,fieldvalidation,branchinglogic,usingtheSurveyQueuefor
multiplesurveys(onlyworkswithAutoStartenabled),surveyemailnotificationsandconfirmations,the
ParticipantList,AutomatedSurveyInvitations,surveyStopActions,andcomputeradaptivetests(CATs)
downloadedfromtheREDCapSharedLibrary.Oneofthefewsurveyfeaturesthatisnotcompatibleisthe
SurveyLoginfeature.
COST:
InordertousetheTwilioSMSandVoiceCallservicesinaREDCapproject,youwillhavetoconnectyourproject
toyourTwilioaccountbyenteringyourTwiliocredentialsintoREDCapduringthesetupprocess.AndasREDCap
makescallsand/orsendsSMSmessagesusingthisservice,allchargestoyourTwilioaccountwill bemadebased
uponitsusage.ThisisnotdonebyREDCapbutisdoneinternallybyTwilioasyouuseitsservices.Inthisway,no
monetarytransactionsaremadebyREDCap, andthusitisyourresponsibilitytomaintainthefundsinyour
TwilioaccountinordertoensurethattheservicecontinuestoworkforyourREDCapproject.IfyourTwilio
 REDCapSupport:[email protected]
VersionDate:4/2019
accountrunsoutoffunds,theTwilioservicesinREDCapwillceasetofunction.Forinformationonthecostof
eachcalloreachSMSmessage,visityourTwilioaccounttoviewtherates.
PRIVACY&SECURITYINFO:
Itisimportanttounderstandthatthisfeatureutilizesthe thirdpartyserviceTwilio.com,whichmeansthatall
voicecallsandSMSmessageswillberoutedthroughTwilio'sservers.However,REDCapgoe stogreatlengthto
ensurethatvoicecallrecordsandSMStranscriptionsdonotstayinTwilio'slogsbutareremovedshortlyafter
beingcompleted.Thisisdoneforsecurityandprivacyconcerns(e.g.,HIPAA),inwhichyoursurveyparticipants'
phonenumbersandtheirsurveyresponsesdonotgetpermanentlyloggedonTwilio'sserversbutinstead
remainsecurelyinREDCap.
NOTE:OnlyaREDCapadministratorcanenabletheTwilioservicesinyour project,sopleasecontactthemtotalk
tothemabouthowtodothis.