Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Webform Yuboto

2 sites Security covered Drupal 10–11 Webform ecosystem
View on drupal.org

This module provides a Webform handler to send SMS messages via the Yuboto API. It allows for configurable message templates and sender names, supporting various tokens for personalization. The module also includes options for API key management and phone number validation.

A Drupal module that provides a Webform handler to send SMS messages using the Yuboto SMS API. See more at the Yuboto Messaging Platform.

The latest Yuboto API version tested with this module is v1.10 (as of 2026-03-02).

Features

  • Send SMS messages to webform submission phone numbers
  • Configurable message templates with token support
  • Global API key configuration through Drupal UI
  • Support for custom sender names
  • Comprehensive error handling and logging

Requirements

  • Drupal 9, 10, or 11
  • Webform module
  • Yuboto SMS API account and API key

Configuration

1. Configure API Keys

Navigate to Administration > Configuration > Services > Yuboto SMS Settings (/admin/config/services/webform-yuboto):

Note: Access to this configuration page requires the "Administer Webform Yuboto SMS settings" permission, which should be granted to trusted administrators only.

Environment Control:

  • The enable/disable toggle allows you to temporarily disable SMS sending without uninstalling the module, perfect for staging environments
  • The debug mode toggle provides different error handling behaviors for development vs. production environments

Phone Number Validation: The module automatically validates and normalizes Greek mobile phone numbers:

  • Only accepts Greek mobile numbers starting with 69
  • 10-digit numbers (6912345678) are automatically prefixed with 30
  • 12-digit numbers with country code (306912345678) are accepted as-is
  • All normalized phone numbers use the format 3069XXXXXXXX (without + prefix)
  • Invalid numbers are rejected and logged but don't interrupt form submission (unless debug mode is enabled)

2. Configure Webform Handler

  1. Edit your webform
  2. Go to Settings > Handlers > Add handler
  3. Select Yuboto SMS from the list
  4. Configure the handler settings:
    • Phone number field: Select the form field that contains the phone number
    • SMS Message: Enter the message to send (supports tokens) or leave to use the default
    • Sender Name: Enter the sender name for the SMS or leave to use the default

Token Support

You can use the following tokens in your message and sender fields:

  • Webform tokens: [webform:title], [webform:id]
  • Submission tokens: [webform_submission:value:field_name], [webform_submission:serial]
  • Site tokens: [site:name], [site:slogan], [current-user:name]
  • Global tokens: [current-date:custom:Y-m-d], etc.

API Request Format

The module sends requests to Yuboto API using Basic Authentication with your API key as the Basic auth credentials.

HTTP Request Format:

  • Method: POST
  • URL: https://services.yuboto.com/omni/v1/Send
  • Headers:
    Content-Type: application/json; charset=utf-8
    Accept: application/json
    Authorization: Basic 

Request Body:

{
  "dir": "false",
  "contacts": [
    {
      "phonenumber": "3069XXXXXXXX"
    }
  ],
  "sms": {
    "sender": "[site:name]",
    "text": "Thank you for your submission",
    "validity": 1440,
    "typesms": "sms",
    "long_sms": false,
    "priority": 1
  }
}

Future plans

  • Add support for webform submission with multiple phone numbers
  • Extend the API to support Viber
  • Extend the API to support more API call verbs (not only Send)
  • Consider splitting the Yuboto API to a standalone module

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Dec 2025
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable 10–11 Jul 6, 2026
1.0.3 Stable 9–11 Mar 2, 2026
1.0.2 Stable 9–11 Dec 12, 2025
1.0.1 Stable 9–11 Dec 8, 2025
1.0.x-dev Dev 10–11 Dec 8, 2025
1.0.0 Stable 9–11 Dec 8, 2025