Skip to main content

WhatsApp Connector

This guide explains how to create and configure a WhatsApp connector in Yggio. Six providers are supported: MessageBird, Plivo, Sinch, TextMagic, Twilio and Vonage.

Overview​

  • WhatsApp connectors enable sending WhatsApp messages via rule actions.
  • You must have an account with one of the supported providers, with WhatsApp messaging enabled on it.
  • Required fields are validated in the UI.

WhatsApp is not an open network: whichever provider you use, the sender number has to be registered and approved for WhatsApp Business before it can send. That approval is done with the provider, not in Yggio, and it takes time. The Twilio walkthrough below is included as a worked example; the other providers follow the same shape with their own consoles.


Twilio Setup Requirements​

To use WhatsApp with Twilio, you must complete the following steps:

  1. Sign up for a Twilio account and verify your email and phone number: https://www.twilio.com/try-twilio
  2. Request WhatsApp access in the Twilio Console (WhatsApp > Senders > Request Access).
  3. Register your business and WhatsApp-enabled phone number with Twilio.
  4. Wait for Twilio approval and number activation (this process may take several days).
  5. Set up a WhatsApp sender (your approved number) in the Twilio Console.
  6. Get your Account SID and Auth Token from the Twilio Console dashboard.
  7. Use the approved sender number as the “From” field in your connector configuration.
  8. (Optional for testing) Use Twilio’s WhatsApp Sandbox to send test messages before your number is fully approved.

For detailed instructions, see the Twilio WhatsApp Quickstart.


Creating a WhatsApp Connector​

  1. Go to the Connectors section in the Control Panel (/control-panel-v2/connectors).
  2. Click New Connector and select WhatsApp as the type.
  3. Choose your WhatsApp service provider. The credential fields below change to match it.
  4. Fill in the required fields for that provider, plus the From sender number.
  5. Save the connector.

Field Details​

Twilio​

FieldDescriptionRequiredValidation
Account SIDTwilio Account SID (starts with AC)YesMust start with AC
Auth TokenTwilio Auth Token (secret)YesNon-empty
FromSender number (E.164 format)YesMust be valid E.164

MessageBird​

FieldDescriptionRequiredValidation
Access KeyAPI access keyYesNon-empty

Plivo​

FieldDescriptionRequiredValidation
Auth IDPlivo auth IDYesNon-empty
Auth TokenPlivo auth tokenYesNon-empty
DomainYour Plivo domainNoNon-empty when set

Sinch​

FieldDescriptionRequiredValidation
API TokenSinch API tokenYesNon-empty
Service Plan IDSinch service plan IDYesNon-empty

TextMagic​

FieldDescriptionRequiredValidation
UsernameTextMagic usernameYesNon-empty
API KeyTextMagic API keyYesNon-empty

Vonage​

FieldDescriptionRequiredValidation
API KeyVonage API keyYesNon-empty
API SecretVonage API secretYesNon-empty
Brand NameSender identity shown to the recipientYesNon-empty

Example​

  1. Account SID: ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  2. Auth Token: your_auth_token
  3. From: +46700000000

Notes​

  • All numbers must be in E.164 format (e.g., +1234567890).
  • Recipients are chosen per rule action, not on the connector.
  • You must have a valid account with your chosen provider, with WhatsApp enabled.

Screenshots​

Connector details form with the service provider list, its credential fields and the required From sender

The WhatsApp connector form follows this same shape: pick the provider, fill in its credentials, and set the From sender.


Messaging Statistics​

On the saved connector page, you will see a statistics panel showing:

  • Total Sent: Number of messages successfully sent.
  • Total Fails: Number of failed send attempts.
  • Sent This Month: Number of messages sent in the current month.
  • Success Rate: Percentage of successful deliveries.
  • Attempts: Total number of send attempts (successes + failures).
  • Last Sent: Timestamp of the most recent successful send.
  • Last Failed: Timestamp of the most recent failed send.
  • Last Error: The latest error or warning message, if any, with timestamp.

Messaging Statistics Panel

These statistics help you monitor the health and performance of your connector.


Error Logging​

If the connector fails to send a WhatsApp message, an error log will be displayed in Logs under Resource → Connector. You can review these logs to diagnose and resolve issues with your connector configuration or your provider account.

Error Logs