For the complete documentation index, see llms.txt. This page is also available as Markdown.

Context Builder

The Context Builder action lets you compose a block of text by embedding data-stream field values directly inline, using {{FieldName}} placeholder syntax. Instead of alternating between quoted string literals, VALUE() calls, and + concatenation operators, you write a natural expression and the action resolves each placeholder at runtime.

Context Builder produces a single string output, making it a drop-in alternative to the Variable action wherever a Variable output is consumed. Both actions coexist in the action picker. Choose whichever fits your workflow.

Before you begin

  • Identify the field names exposed by your upstream data stream. Field names are matched case-sensitively, so confirm the exact casing before you create your workflow.

How the placeholder syntax works

Wrap any data-stream field name in double curly braces to reference it in your template:

{{FieldName}}

At runtime, each placeholder is replaced with the value of the matching field from the current data stream. Static text outside the placeholders passes through unchanged, including line breaks and other whitespace.

Example:

Given a data stream where Name = "Acme Corp", Industry = "SaaS", and Website = "acme.com", the output is:

This is equivalent to the following Variable action expression, without any of the manual syntax:

Add and configure the Context Builder action

1

In the action picker, locate Context Builder under the AI section. Drag it into your flow at the point where you want to compose the text.

2

Click Configure.

3

In the multi-line text area, type your template text.

Insert {{FieldName}} wherever you want a data-stream field value to appear. You can add as many placeholders as you need, and you can repeat the same field name more than once.

Use the field picker (if available) to browse the fields exposed by the upstream step and confirm their exact names.

We recommend confirming field name casing against the upstream step before saving, because field name matching is case-sensitive.

4

Click Save.

5

Click the Run icon to execute the flow.

Check the step output or console to confirm that each placeholder was resolved and the assembled text looks correct.

If the action encounters a placeholder that doesn't match any field in the data stream, the step fails with a runtime error before passing any output to downstream steps. See Troubleshooting for details.

Troubleshooting

The step fails with a runtime error mentioning an unknown field

A placeholder in your template references a field name that doesn't exist in the data stream at execution time. The step stops immediately and doesn't pass any partial output to downstream steps.

To resolve this error:

  1. Open the action and review every {{FieldName}} placeholder in your template.

  2. Compare each field name against the fields exposed by your upstream step. Check for typos and casing differences; the match is case-sensitive.

  3. Remove or correct any placeholder that references a field not present in the data stream.

  4. Save and re-run the flow.

A placeholder is rendered as literal text in the output

The placeholder is usually not recognized because of a formatting issue:

  • Confirm you used double curly braces on both sides: {{FieldName}}, not {FieldName} or {{ FieldName }} with spaces inside.

  • Confirm the field name contains no special characters that could break parsing.

What's next

Last updated