Skip to main content

Create and use plain-text content

Use Plain Texts to prepare reusable text for flow actions that support plain-text content. You can insert variables and macros, apply conditions to blocks or layers, and maintain language versions of a text block.

Find plain-text content​

Open Plain Texts in your project. Use Search to find matches in the name, description, or template name or Filter by tags to narrow the list.

Double-click a content row to open its editor or open through more actions menu.

For role access and tag restrictions, see Roles and restrictions. Tag restrictions can disable Save, Download, and Restart from template for a content item.

Create plain-text content​

  1. Select New Content, or Create Content on an empty overview.
  2. If the template chooser appears, select a plain-text template.
  3. Enter a Name and, if needed, a Description.
  4. Select Save to create the content and open its editor.

The name is required, must be unique, and cannot consist only of a number. The form also advises you not to include spaces. The description is optional.

The template chooser is available when templates are enabled in the project and your role has access to them. Creation controls appear only when content creation is enabled and your role allows it.

Edit and preview the text​

The Preview pane displays the selected layer. Select an editable text block in this pane to open its text editor, change the text, and select Apply. The pane updates with the applied changes.

Use the @ control beside the text editor to insert a variable. Use the function control to open the macro editor. During flow execution, Flowize replaces supported variables and evaluates macros using the available execution data.

Select Save in the main toolbar to persist your changes. Apply updates the content in the editor; the main Save action saves the content item.

Apply a condition to a block​

When the selected block supports conditions, choose an existing Condition in its editing panel and select Apply. The condition controls whether the block is included when Flowize generates the text.

Use the refresh control beside the condition selector to reload the available conditions. For instructions on creating a condition, see Conditions.

Work with conditional layers​

A layer groups text under a condition. When the content has conditional layers, use the selector above the Preview pane to switch between them.

To change the current layer's condition, open its Layer settings, choose a Condition, and select Apply.

Add a layer​

When Add Layer is available:

  1. Assign a condition to the current layer and select Apply.
  2. Select Add Layer and confirm the action.
  3. In Add a new Layer, choose a condition that another layer does not already use.
  4. Select Add.
  5. Edit the new layer's text, apply the changes, and save the content.

The new layer starts as a copy of the current layer. Flowize requires a condition on the current layer before you add another one and prevents layers from sharing the same condition. If no unused conditions remain, create another condition and refresh the selector.

Delete a layer​

Delete Layer is available for a non-default conditional layer that allows deletion. Select it and confirm the action, then save the content. If you delete the only remaining layer, the editor clears its text and condition.

Layer controls depend on the template's settings. For the plain-text template attributes, see Attributes.

Add language versions​

Language controls appear when languages are configured for the project.

  1. Select an editable text block in the Preview pane.
  2. Set Do you want to use languages? to Yes.
  3. Choose a language under Select a language: and enter its text.
  4. Repeat for the other languages you need.
  5. Select Apply, then save the content.

Switching languages keeps your changes to the previous version and loads the selected version. A language with no version yet opens with an empty text field. You enter each language version yourself.

While language versions are enabled for a block, its ordinary condition control is hidden. Turning language support off asks you to confirm deletion of the block's language information.

Save and publish​

  1. Select Save in the main toolbar.
  2. In Saving design, review the content title and optional description.
  3. Select Save again.

New plain-text content is created with Published status. Saving through this dialog also publishes the saved content. The plain-text editor requires a manual save.

For content linked to a template, Restart from template replaces its text with the template's content. This control is available when templates are enabled and you can edit the item. Confirm the restart and save afterward, as the confirmation message instructs.

Download controls​

The editor includes Download. When project languages are available, this opens Downloading content, with a Select the content language selector and another Download button.

Save your changes before using the download controls.

Use plain-text content in a flow​

Flow actions that support plain-text content provide a content selector. For example, File manager → Write a file supports choosing plain-text content for its Content parameter.

  1. Open the action's parameters.
  2. In its plain-text content selector, select Choose a Plain Text.
  3. Choose the saved content from the list.
  4. Complete the remaining parameters and select Apply.

The selection list includes active, published plain-text content in the current project. If an item is missing, check its status in Plain Texts. Fields with Type the content also let you enter text directly.

For the file-writing parameters, see File manager: Write a file.