Module Fields
Each AI module record holds the following fields:config is stored and returned as a JSON object. When submitting via the admin panel form, enter valid JSON in the config textarea — the platform calls json_decode on the raw string before saving.Module Types
Themodule_type field controls what the AI module actually does when attached to a call flow. Based on the platform’s AI sub-system, the following module types are supported:
Creating an AI Module
1
Open AI Modules in the admin panel
Navigate to AI → Modules and click New Module.
2
Select a tenant and set the basics
Choose the
tenant_id from the dropdown. Enter a descriptive name, select the module_type that matches your use case, and choose the provider (e.g. openai, vapi). Set status to active when you are ready to enable the module.3
Supply the provider config
In the Config textarea, enter a valid JSON object with the settings your provider requires. See the example below for a VAPI-backed lead agent.
config example — VAPI lead agent
4
Save and verify
Click Save. The module appears in the index with its
tenant, module_type, provider, and status visible. Toggle status to inactive at any time to pause the module without deleting it.Tenant Isolation
Every AI module is scoped to a single tenant viatenant_id. Modules from one tenant are never accessible to another tenant’s call flows or admin users. This lets you run different AI providers and prompt strategies per tenant on the same LaraCopilot instance.