Summary
REDCap has the capability to make voice calls and send SMS text messages for surveys and for alerts & notifications by using a third-party web service named Twilio (www.twilio.com). This requires a Twilio account which is a cost-based service (information about pricing can be found on Twilio's website).
How to Integrate Twilio with REDCap
Enabling Twilio in a REDCap project requires having an existing Twilio account:
- Navigate to Twilio to set up an account and purchase a phone number.
- Once you have a Twilio account and phone-number, you will also receive a Twilio Account SID and Twilio Auth Token - these are both required to connect Twilio to your REDCap project.
- Navigate to your REDCap project's Project Set-up page
- From the Project Setup Page, click "Enable" next to Twilio SMS and Voice Call services for surveys and alerts (Note: For more information about REDCap and Twilio, click on the "?" next to this option)
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=daecaead-78d1-4998-8cab-56df8bbd6883.png&beidInt=2)
- A pop-up will appear asking you to enter the Twilio Account SID, Twilio Auth Token, and the Twilio Phone Number. This feature can be enabled or disabled from the top of this screen as well. Then save.
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=735f994b-8c7d-488f-b6c4-8275800c64d8.png&beidInt=2)
- Then the Twilio SMS and Voice Call services for surveys and alerts will turn green
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=95ee430a-24dc-4351-b174-a3bf96291230.png&beidInt=2)
- A Twilio SMS and Voice Call services box will appear where additional customizations and configurations can be set
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=b03a74e3-a293-4ae7-a1c2-2d400304c4ea.png&beidInt=2)
- The Configure Settings page shows the configuration settings that are made available throughout the project and how they control different parts of the project.
- Language and gender used for voice calls - users select the language and regional dialect in which the survey questions and/or alert messages are spoken
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=617e5ee7-6997-4468-a744-0b70028f41a9.png&beidInt=2)
- Select the project features for which the telephony services will be enabled (e.g., surveys and/or alerts) - users select if Twilio will be used for surveys and/or alert messages
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=c553d7e5-4e4a-4c49-8b5d-b09513418ec6.png&beidInt=2)
- Choose survey invitation types to use - Users select how participants are invited to take surveys as well as the medium in which they take the surveys. (Note, SMS as conversation is not recommended, especially if PII is collected in the survey as SMS is not a secure form of communication.)
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=0fef94be-a1d4-4726-9be2-fcac8f2294cb.png&beidInt=2)
- Choose the default invitation preference for new survey participants - for participants created by data entry form (rather than via survey), users may select their default survey invitation preference that will get assigned to them as the record is created.
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=f327ae24-8d51-45e8-a827-0bfd5dedd122.png&beidInt=2)
- Control each participant's invitation preference using a multiple choice field - users may add a multiple choice field to the project that will help communicate to each participant based on their individual communication preference. (Note: Users must use the specific choice codes and labels listed here in the multiple choice field)
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=b97b0867-4d40-4a88-a309-e2920cc1ee83.png&beidInt=2)
- Designate a phone number field for survey invitations sent via SMS or voice call (optional) - users may capture phone numbers for sending invitations to the participants by adding a field in their project. This can be used in addition to or instead of entering phone numbers directly into the participant list. (Note: The options in this drop down will change per project based on the fields within the project)
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=0db61dc3-9bf6-4b49-9c0c-e095eecd2cf3.png&beidInt=2)
- Automatically append response instructions to questions?
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=97fc2d20-0255-4759-8e9b-8522b6677e3c.png&beidInt=2)
- Behavior for overlapping SMS invitations - If users will be sending out SMS invitations for multiple surveys within this project, they should choose default behavior for when a participant has received SMS invitations to multiple surveys at the same time
![](https://atlas.utdallas.edu/TDPortal/Images/Viewer?fileName=60c6d8c9-8bdf-4e7e-bd3c-b8ccd0b16964.png&beidInt=2)
- The Analyze surveys for SMS & Voice Calls page will run an analysis on all the identified surveys in the project to determine if they can be used as an SMS survey or as a Voice Call survey