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). 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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (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 instant Slack notifications whenever someone submits a contact form on your Drupal website. You can customize which forms trigger notifications, which fields are included in the messages, and send them to different Slack channels. This helps teams quickly respond to inquiries and stay informed about website submissions.

Get instant Slack notifications when visitors submit contact forms on your Drupal website. Simple, powerful, and built for teams that rely on Slack for communication.

Features

  • Real-time notifications to any Slack channel
  • Per-form configuration with customizable fields
  • Multi-channel support for different forms
  • Custom message text for context and priority

Setup Instructions

Global Configuration

  1. Install: composer require drupal/contact_slack && drush en contact_slack
  2. Create an Incoming Webhook (Slack setup guide)
  3. Configure at Configuration → Contact Slack settings
  4. Test the connection with the built-in test message feature

Per-Form Configuration

Go to Structure → Contact forms and click Slack settings for any form to customize:

  • Enable/disable notifications for specific forms
  • Override webhook URLs to send to different channels (leave empty to use global default)
  • Add default message text to prepend custom context (e.g., priority labels, department routing)
  • Select fields to include in Slack messages (name, email, subject, message, form name)
  • Enable system info to include IP address and user agent

Requirements

  • Drupal 10.0+ or Drupal 11.0+
  • PHP 8.1 or higher
  • Slack workspace with webhook access

Perfect for customer support, sales teams, and any organization that needs instant notification of contact form submissions.

Activity

Total releases
1
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0 Stable Nov 20, 2025