Twilio Prayer Hotline Setup
Follow these steps to activate your prayer hotline
π¨ CONFIGURE YOUR TWILIO NUMBER OR IT WON'T WORK!
If you hear "configure your number's voice" when calling your hotline, you MUST complete Step 3 below!
The Fix (Takes 2 minutes):
- Go to Twilio Phone Numbers
- Click your number: (620) 798-5049
- Scroll to "Voice Configuration" section
- Change "A CALL COMES IN" to "Webhook"
- Paste webhook URL:
https://1churchcopy.com/api/functions/twilioWebhook - Set to "HTTP POST"
- Click "Save Configuration" at bottom!
Go to Dashboard β Settings β Secrets and add these three secrets:
TWILIO_ACCOUNT_SIDYour Twilio Account SID (starts with AC...)
TWILIO_AUTH_TOKENYour Twilio Auth Token (secret key)
TWILIO_PHONE_NUMBERFormat: +15551234567 (include country code)
This is your unique webhook URL. You'll paste this into Twilio in the next step.
https://1churchcopy.com/api/functions/twilioWebhookβ Configuration Steps (For Reference)
Keep these steps handy if you ever need to reconfigure your Twilio number.
STEP 2: Find Your Number
Click on your phone number: (620) 798-5049
STEP 3: Configure VOICE (THIS FIXES THE ERROR!)
- Scroll down to find the section called "Voice Configuration" or "Voice & Fax"
- Look for "A CALL COMES IN"
- Click the dropdown and change it from "TwiML App" or "TwiML Bin" to "Webhook"
- A text box will appear - paste your webhook URL from Step 2
- Make sure the dropdown next to it says "HTTP POST"
STEP 4: Configure SMS
- Scroll to find "Messaging Configuration"
- Look for "A MESSAGE COMES IN"
- Change dropdown to "Webhook"
- Paste the SAME webhook URL
- Select "HTTP POST"
β οΈ STEP 5: SAVE CONFIGURATION!
Scroll to the bottom of the page and click the "Save Configuration" button!
Nothing will work until you click Save!
Send a test SMS to your Twilio number or test the webhook here:
What Happens:
- SMS: AI categorizes and saves prayer
- Voice: Records message, transcribes, saves
- Admins get notified instantly
- Auto-tags and categories applied
View Requests:
- Go to Prayer Hotline Dashboard
- See all SMS and voice requests
- View call statistics
- Moderate and respond