Chat Transport & SMS Integration
-
Twilio SMS Transport: Send chat responses directly via SMS using
TwilioSMSChatTransport
inCreateChatDTO.transport
. This enables programmatic SMS conversations with your voice assistants, bridging the gap between voice and text communication. -
SMS Session Management: Create new sessions automatically when using SMS transport by providing:
customer
: Customer information for SMS deliveryphoneNumberId
: SMS-enabled phone number from your organization- Automatic session creation when both fields are provided
-
LLM-Generated vs Direct SMS: Control message processing with
TwilioSMSChatTransport.useLLMGeneratedMessageForOutbound
:true
(default): Input processed by assistant for intelligent responsesfalse
: Direct message forwarding without LLM processing for notifications and alerts
-
Enhanced Chat Creation:
CreateChatDTO
now supports sophisticated session management:transport
: SMS delivery configurationsessionId
: Use existing session data- Mutual exclusivity between
sessionId
and transport fields for clear session boundaries
-
OpenAI Responses Integration: Streamlined chat processing with
OpenAIResponsesRequest
supporting the same transport and squad integration features for consistent API experience. -
Cross-Platform Continuity: Seamlessly transition between voice calls and SMS conversations within the same session, maintaining context and conversation history across communication channels.
SMS transport requires SMS-enabled phone numbers in your organization. The phone number must support SMS functionality and belong to your account for successful message delivery.
SMS Communication Features
Send and receive SMS messages through your voice assistant, enabling text-based interactions alongside voice conversations.
Choose between AI-processed responses and direct message forwarding based on your use case requirements.
Maintain conversation context across SMS and voice interactions within unified sessions for seamless user experiences.
Automatic session creation and management when using transport fields, simplifying SMS conversation setup.