- SMS campaigns and staff replies.
- The signed SMS inbox, including
STOP,START,HELP, join keywords, and text-to-give keywords. - WhatsApp delivery when the configured sender is approved for WhatsApp in Twilio.
- Outbound, audio-only homebound phone-companion conferences.
Twilio’s browser-based Virtual Phone is for messaging tests, not Voice calls.
The homebound phone companion rings real telephone numbers. Twilio Video is
a separate product and is not used by this workflow.
What You Need
Before opening TheFaithApp, prepare:- A Twilio account with two-factor authentication enabled.
- The production Account SID and Auth Token from the Twilio Console.
- A Twilio number with the capabilities you intend to use:
- SMS for campaigns, replies, keywords, and the inbox.
- Voice for the homebound phone companion.
- A funded, upgraded account for normal production use.
- Any registration or approval required by Twilio and the destination country.
- A small group of consented test recipients whose phone numbers are in E.164
format, such as
+256...or+1....
1. Prepare the Twilio Account
- Sign in to the Twilio Console.
- Enable two-factor authentication for account owners and administrators.
- Open Phone Numbers > Manage > Buy a number or Active numbers.
- Choose a number with SMS capability. Also require Voice capability when the church will use the homebound phone companion.
- Complete any country-specific regulatory or sender registration shown by Twilio.
- Review pricing for the countries the church will message or call.
- Set usage alerts and limit geographic access to the countries the church actually serves.
2. Connect Twilio in TheFaithApp
- In the admin dashboard, open Marketing > Integrations.
- In the Twilio card, select Configure.
- Enter the Twilio Account SID.
- Enter the Twilio Auth Token.
- Enter the sending number in E.164 format, including the leading
+and country code. - Turn on Active.
- Turn on Set as Default Provider when Twilio should handle the church’s SMS campaigns and replies.
- Select Save.
- Select Test Connection.
3. Add the Incoming Messaging Webhook
The webhook is required for the SMS inbox, staff replies to inbound threads, opt-out and opt-in handling, join keywords, and text-to-give keywords.- Save and activate Twilio in TheFaithApp.
- Copy the Webhook URL shown in the Twilio configuration drawer.
- In Twilio, open Phone Numbers > Manage > Active numbers.
- Select the same number entered in TheFaithApp.
- Find Messaging Configuration.
- Under A message comes in, choose Webhook.
- Paste the copied URL.
- Select HTTP POST.
- Save the Twilio number.
4. Prepare SMS and WhatsApp Delivery
SMS
- Confirm the configured number can send SMS to every destination country the church intends to use.
- Complete any required sender registration before sending campaigns.
- Collect and retain the recipient’s consent before adding them to SMS outreach.
- Keep
Reply STOP to opt outin campaign messages. TheFaithApp adds it when a campaign does not already contain an opt-out instruction.
5. Prepare the Homebound Phone Companion
The phone companion places outbound calls. You do not need to create a TwiML App, configure an incoming Voice webhook, or paste a separate Voice callback URL into Twilio. TheFaithApp supplies non-recorded conference instructions and a signed status callback for each participant call. Before the first session:- Confirm the configured Twilio number has Voice capability.
- Upgrade the Twilio account if it is still on trial.
- Open Voice > Settings > Geo permissions and enable only the destination countries the church needs.
- Confirm Voice and conference pricing for those countries.
- Record each participant’s consent in a Homebound phone companion care request.
- Store each participant’s real telephone number in E.164 format.
- Confirm the TheFaithApp server scheduler runs every minute.
completed, busy, no-answer, failed, and canceled.
One failed participant does not stop the remaining calls. Recording is always
disabled for this workflow.
6. Complete a Safe Live Test
Use test recipients who know a message or call is coming. Do not use a full member list for the first test.Messaging test
- Select Test Connection in the Twilio drawer.
- Send one SMS campaign to a consented test recipient.
- Confirm it appears in Monitor > Logs > Messaging in Twilio.
- Reply
HELPfrom the test phone and confirm an inbound thread appears in TheFaithApp. - Test a disposable join keyword.
- Test
STOP, confirm sending is blocked, then replySTARTto restore the test recipient’s consent. - Schedule a second small campaign and confirm the server launches it at the selected time.
Voice test
- Create at least two consented homebound phone-companion test requests.
- Schedule a session and select Launch now.
- Answer the test phones and confirm they hear the introduction and join the same audio conference.
- Confirm the session moves through calling or live state and then completes.
- In Twilio, open Monitor > Logs > Calls and inspect the participant calls and Request Inspector.
- Confirm the status callback received a successful
2xxresponse.
A
busy or no-answer result can still prove that Twilio accepted the
outbound call and that the status callback worked. It does not prove the
conference audio experience; answer at least two real phones for that check.Troubleshooting
Server Readiness
This section is for the team operating TheFaithApp. Churches using the hosted service do not need to change server settings themselves.- Set
APP_URLto the public HTTPS API origin, such ashttps://api.thefaithapp.com. - Never leave
APP_URLset tolocalhostor a development tunnel in a staged or production deployment. - Preserve the original HTTPS scheme and hostname through the reverse proxy so Twilio signature validation uses the same URL Twilio called.
- Run Laravel’s scheduler every minute and keep the queue workers healthy.
- Keep TLS, DNS, and the callback route publicly reachable from Twilio.
- Review Twilio Messaging and Call Logs after deployment and confirm callbacks
return
2xxresponses.
Security and Billing
- Treat the Auth Token like a password. Do not send it by email, paste it into support tickets, commit it to Git, or include it in screenshots.
- Enable two-factor authentication and usage alerts in Twilio.
- Rotate the Auth Token immediately if it is exposed, then update and retest the connection in TheFaithApp.
- Enable only the geographic destinations the church needs.
- Review messaging, Voice, conference, number rental, and WhatsApp charges in Twilio before launch.
- If the church stops using Twilio, turn the provider off in TheFaithApp before releasing or canceling the Twilio number.