Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Send content templates in Flex Conversations (public beta)


(new)

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.

(warning)

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.


Overview

overview page anchor

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.


SendRichContentMessage UI action

sendrichcontentmessage-ui-action page anchor

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(link takes you to an external page). The SendRichContentMessage action is available in Flex UI 2.13.0 and later.