Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module sends SMS and Viber messages via TurboSMS when a Webform is submitted. It supports tokenized message templates, test sends, delivery status webhooks, and logging.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Drupal 10/11 module that sends SMS and Viber via TurboSMS when a Webform is submitted. Supports Token API, test send, delivery-status webhook, and logging. (≀200 chars)

Features

  • Webform Handler: dispatches messages on submission save (postSave).
  • Channels: SMS, Viber (transactional / promotional) with optional image and button (caption/action).
  • Token API in the message template: supports [site:*], [date:*], [webform_submission:*], [webform:*], [current-user:*].
  • Settings page (/admin/config/system/turbo-sms) with a β€œSend test” action to verify the API.
  • Flexible targeting: pick the Webform by machine ID (or * for all), choose the phone field key.
  • Phone normalization to E.164 (leading +).
  • Webhook (POST /turbosms/webhook) for DLR/delivery statuses; optional signature verification.
  • Logging to the turbo_sms_notify channel (Reports β†’ Recent log messages).

Post-Installation

  1. Enable and rebuild caches: drush en turbo_sms_notify -y && drush cr.
  2. Go to Admin β†’ Configuration β†’ System β†’ TurboSMS and fill in:
    • API token and Sender (alpha name) from your TurboSMS account;
    • Webform machine ID (you can temporarily use * for diagnostics);
    • Phone element key (e.g., phone);
    • Message template (Token API supported);
    • channel options (SMS/Viber) and, if needed, Webhook secret.
  3. Open the target Webform β†’ Settings β†’ Handlers β†’ Add handler β†’ TurboSMS notify β†’ Save.
  4. Use β€œSend test” on the settings page to verify authentication and delivery.
    Note: the test has no webform_submission context, so those tokens are cleared; on real submit all tokens are resolved.

Additional Requirements

  • Drupal 10/11 (PHP β‰₯ 8.1).
  • Webform module.
  • TurboSMS account with an active API token and approved alpha name.
  • Token module β€” optional but recommended for tokenized templates.
  • Server must allow outbound HTTP to api.turbosms.ua.
  • Token β€” richer tokens for message templates.
  • Admin Toolbar β€” quicker access to the settings page.

Similar projects

There are generic SMS frameworks/gateways that require manual integration for each provider. This module works with the TurboSMS JSON API out of the box, is tightly integrated with Webform Handler, and supports Viber extras and tokens without extra glue code.

Activity

Total releases
3
First release
Aug 2025
Latest release
11 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Aug 14, 2025
1.0.1 Stable Aug 14, 2025
1.0.x-dev Dev Aug 14, 2025