Skip to content

52. Integracja Twilio z GoHighLevel

Poziom: Łatwy | Czas: 10 min

Twilio to provider SMS używany przez GoHighLevel. Integracja zajmuje 10 minut i odblokuje wysyłkę SMS do klientów na całym świecie.

Dlaczego Twilio?

✅ Globalny zasięg (180+ krajów)
✅ Wysoka deliverability (99%+)
✅ Konkurencyjne ceny
✅ 2-way SMS (wysyłka + odbieranie)
✅ Natywna integracja z GHL
✅ Skalowalność

Krok 1: Utwórz konto Twilio

  1. Idź do: twilio.com/try-twilio

  2. Wypełnij formularz:

    • Email
    • First name / Last name
    • Password (silne hasło!)
    • Accept terms
  3. Verify email (check inbox)

  4. Verify phone number (SMS code)

Krok 2: Zakup numeru telefonu

Po zalogowaniu:

1. Dashboard → # (Phone numbers) → Buy a number

2. Choose country: Poland (lub inny)

3. Capabilities needed:
   ☑ SMS
   ☑ MMS (optional, for images)
   ○ Voice (if you want calling too)

4. Search → See available numbers

5. Choose number:
   - Local number (dla Polski: +48 format)
   - Toll-free (dla US: 1-800...)
   
6. Buy Number ($8-15/month Poland)

Best practices:

  • Choose memorable number (if possible)
  • Local area code (builds trust)
  • Test SMS capability before buying

Krok 3: Get Twilio Credentials

Dashboard → Account → API keys & tokens

Copy (CRITICAL - keep safe!):
- Account SID: ACxxxxxxxxxxxxxxxxxxxxxxx
- Auth Token: [click "show" → copy]

DO NOT SHARE these publicly!
They give full access to your account.

Krok 4: Connect to GoHighLevel

W GHL:

1. Settings → Integrations → Phone/SMS

2. Click: "+ Add Twilio Account"

3. Fill in:
   - Account Name: "Main Twilio" (your label)
   - Account SID: [paste from Twilio]
   - Auth Token: [paste from Twilio]
   
4. Click "Connect"

5. Status should show: ✅ Connected

Krok 5: Assign Number to Location

Settings → Phone Numbers

You should see your Twilio number(s):
+48 123 456 789

Click number → Settings:
- Location: Choose your GHL sub-account
- Forward calls to: [optional voice number]
- SMS forwarding: Inbox (GHL conversations)

Save

Krok 6: Test SMS

1. Contacts → Add test contact (your phone)

2. Click contact → Communications tab

3. Send SMS:
   "Test SMS from GHL via Twilio! Reply if you see this."

4. Check your phone → Should receive in <5 seconds

5. Reply to SMS → Should appear in GHL Conversations

✅ If both work → Integration successful!

Troubleshooting

Problem: Number not appearing in GHL

Check:

1. Twilio properly connected? (Settings → Integrations)
2. Number purchased? (Twilio dashboard)
3. Number capabilities include SMS?
4. Wait 2-5 minutes for sync
5. Refresh GHL page

Problem: SMS not sending

Check:

1. Twilio balance > $0? (Top up if needed)
2. Number assigned to location?
3. Recipient number in correct format? (+48123456789)
4. Geographic permissions enabled? (see below)

Geographic Permissions

Some countries require approval:

Twilio Dashboard → Regulatory Compliance

If sending to Poland, Germany, India, etc.:
1. Submit business information
2. Wait for approval (1-3 days)
3. Then SMS will work

Problem: Can't receive replies

Check:

1. Number capabilities include "SMS" (not just outbound)
2. Webhook configured in Twilio? (auto-done by GHL)
3. Test by sending SMS TO your Twilio number from your phone
4. Check GHL Conversations inbox

Multiple Numbers Strategy

When to use multiple numbers:

✅ High volume (>10k SMS/day) - avoid rate limits
✅ Different brands/locations
✅ Separation: Marketing vs Transactional
✅ Geographic targeting (local presence)

Setup:

Buy additional numbers in Twilio
→ All auto-sync to GHL
→ Assign each to specific location/purpose

Example:
+48 22 123 4567 → Warsaw location (transactional)
+48 12 345 6789 → Krakow location (marketing)

Costs Reminder

MONTHLY FEES:
Phone number: $8-15/month (Poland)
No monthly minimums

PER-USE:
Outgoing SMS: $0.015/SMS (Poland)
Incoming SMS: $0.01/SMS
MMS: $0.045/MMS

Set auto-reload:
Twilio → Billing → Auto-Recharge
Trigger: $20 balance
Recharge: $100

Security Best Practices

✅ DO:
- Use strong Twilio password
- Enable 2FA on Twilio account
- Store SID/Token securely
- Revoke old API keys if re-generating
- Monitor usage daily (fraud protection)

❌ DON'T:
- Share SID/Token publicly
- Commit credentials to GitHub
- Use same password as other accounts
- Ignore usage spikes (could be hacking)

Advanced: Sub-Accounts (Optional)

For agencies managing multiple clients:

Twilio → Subaccounts → Create

Each client gets:
- Separate billing
- Own numbers
- Isolated usage
- Individual API keys

Connect each sub-account to separate GHL locations

Następny krok: 53. 2-way conversations - obsługa odpowiedzi SMS