Skip to content
Sugester V2 EN

SMS/WhatsApp Notifications for New Messages

Updated at: 1 min read

SMS/WhatsApp Notifications

This feature allows you to receive SMS or WhatsApp notifications when:

  • A client sends a new message in the chat
  • A new helpdesk ticket is created
  • A client adds a comment to a ticket

How does it work?

  1. The client writes a message in the chat or creates a ticket
  2. The system sends an SMS to the configured number
  3. The SMS contains:
    • The sender’s name and email
    • The message content (up to 200 characters)
    • Link to the conversation - click and reply

Example SMS

New message from chat!

From: Anna Nowak
Email: anna@firma.pl

Hello, I have a problem with invoice no. 123...

https://twoja-firma.sugester2.pl/chat/spaces/123

Configuration

1. Twilio Account

You need a Twilio account:

  • Account SID
  • Auth Token
  • Phone number (SMS) or WhatsApp Sandbox

2. Account Settings

Add Twilio data to account configuration:

account.config['twilio'] = {
  'account_sid' => 'ACxxxxxxxx',
  'auth_token' => 'xxxxxxxx',
  'whatsapp_number' => '+1234567890'
}
account.save!

3. Enable for Chat

In the chat widget settings:

widget.fields['whatsapp_notifications'] = true
widget.fields['whatsapp_notification_number'] = '+48501234567'
widget.save!

4. Enable for Helpdesk

In the helpdesk desk settings:

desk.fields['whatsapp_notifications'] = true
desk.fields['whatsapp_notification_number'] = '+48501234567'
desk.fields['whatsapp_notify_on_ticket'] = true
desk.fields['whatsapp_notify_on_comment'] = true
desk.save!

Costs

SMS to Poland: ~$0.07-0.10 per message

Branch

mis_whatsapp_notifications

Was this entry helpful?

Share

Comments