Document fragments are reusable parts/components of an Interactive Communication document using which you can compose communication documents. The following video walks thru the steps to create document fragment.

Document fragments hold the text content of interactive communication documents. This text content can be static text or inserted from the underlying data model elements values. For example Dear {name}, where Dear is static text and {name} is the form data element name. At runtime, this will resolve to Dear Gloria Rios or Dear John Jacobs depending on the value of the name element.

The rich text editor is intuitive enough for a business user to author text and inserts form data elements. The document fragment editor has the ability to format text, specify font types and styles, ability to insert special characters and create hyperlinks.

The document fragment editor also has the ability to insert inline conditions in your text as demonstrated in this video



Make sure the Form Data Model elements you insert into a document fragments are descendants of the root element. For example in this use case make sure the User object's elements that you select is the child of the balances object