vapi_ai
This module provides a simple way for Drupal sites to integrate with modern Voice AI agents. It offers developers a straightforward configuration form for storing API credentials and includes an optional submodule that exposes a ready-to-use chat block. With this project, site builders and developers can quickly add conversational voice-powered experiences to their Drupal applications without custom boilerplate.
Features
- API Key Configuration: A clean, dedicated settings form to securely store and manage your Voice AI provider key.
- Chat Block Submodule: Enables a reusable block that developers can place in any region to offer voice-enabled chat interactions.
Post-Installation
Configure the API Key
After enabling the main module, navigate to Configuration → Services → VAPI AI Settings.
Enter your API key from your Voice AI provider and save the configuration.
Enable the Chat Block Submodule (Optional)
If you want a user-facing chat interface, enable the included submodule.
Then go to Structure → Block Layout, place the Voice AI Chat Block in any region, and configure its display options as needed.
Start Integrating
Developers can now call the service provided by this module to send/receive messages, log interactions, or extend functionality.
Additional Requirements
- A valid API key from your chosen Voice AI provider (e.g., OpenAI, Deepgram, etc.).
- Drupal Core 10 or higher (adjust depending on your module’s compatibility).
No additional contributed modules are required.