Chat Transport & SMS Integration
Chat Transport & SMS Integration
-
Twilio SMS Transport: Send chat responses directly via SMS using
TwilioSMSChatTransportinCreateChatDTO.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:
CreateChatDTOnow supports sophisticated session management:transport: SMS delivery configurationsessionId: Use existing session data- Mutual exclusivity between
sessionIdand transport fields for clear session boundaries
-
OpenAI Responses Integration: Streamlined chat processing with
OpenAIResponsesRequestsupporting 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.