Skip to main content
Blocks are the visual units that make up content. They appear in a flow step’s content[], and in the rich content of checklists and banners. (The resource center has its own block vocabulary — see Type-specific data.) A block is a small tagged object:
  • id is the field-merge write handle. Echo a block’s id to update it in place (styling and other unmodeled details are preserved); omit id to create a new block. (object: "block" is returned on read; you don’t send it.)
  • type selects the block shape below.
Rich text is a small markdown subset — see Content representation. Conditions and actions referenced here are documented in Conditions & actions.

text

A rich-text paragraph block.

image

button

A button needs both text and at least one action to be publishable.

embed

An embedded URL (video, iframe-able page, …).

question

A survey question. The question field is one of the four Question shapes below; actions run after the user answers.

Questions

Every question needs a name (used for analytics). bindAttribute (optional) stores the answer on a user attribute. cvid is server-owned (returned on read).

nps

rating

text

choice

columns

A row of side-by-side columns, each holding its own blocks — the only nesting in the block model.

Shared shapes

Small objects reused across blocks. Dimension — a width/height. Spacing — margin/padding box (pixels; omitted sides inherit the theme). Column — one column inside a columns block.