Send content templates in Flex Conversations (public beta)
Public beta
Content templates in Flex Conversations is currently available as a public beta product and the information contained in this document is subject to change. Some features are not yet implemented and others may be changed before the product is declared as generally available. Public beta products are not covered by an SLA.
Not a HIPAA eligible service or PCI compliant
Content templates in Flex Conversations is not a HIPAA eligible service or PCI compliant and should not be used in workflows that are subject to HIPAA or PCI.
Starting with Flex UI 2.13.0, use the Flex UI Actions framework to send a content template to agents and customers during a conversation. When you send a content template programmatically, Flex adds the message to the conversation history alongside other agent and customer messages.
Note that you can't filter by agent or otherwise select which conversations receive content templates that you send programmatically. The message appears in all active conversations in the channel.
Currently, you can send content templates only on the WhatsApp channel.
To send a content template programmatically, use the SendRichContentMessage action. This action is different from the SendMessage action because SendMessage uses the body property, while SendRichContentMessage uses the contentSid parameter and the contentVariables parameter (if applicable) to define the message content.
For a full list of properties available and examples of the SendRichContentMessage action, refer to the Flex UI API Reference. The SendRichContentMessage action is available in Flex UI 2.13.0 and later.