> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.meetgail.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.meetgail.com/_mcp/server.

# Expressions

> Build text and compute values on the fly from the data your steps produce.

Most of the time a step's setting is a fixed value you type in. But workflows get
powerful when a setting can change based on the data flowing through a run: an
email that greets each customer by name, a condition that checks a score, a URL
built from a contact's ID. Expressions are how you do that.

There are two kinds, and they work well together.

## String templates

A string template builds a piece of text with values dropped into it, using
`{{ }}` markers. Reach for a template whenever you are composing text such as an
email body, a message, or a URL:

```text
Hi {{node.contact.first_name}}, your renewal is due on {{node.policy.due_date}}.
```

See [String Templates](/platform/workflows/core-concepts/expressions/string-templates).

## Expressions that compute values

When you need to calculate or compare, rather than assemble text, you write an
expression. Expressions handle arithmetic, comparisons, yes/no logic, and picking
between options:

```text
node.quote.premium * 1.08
node.score.value >= 80 ? "APPROVED" : "NEEDS_REVIEW"
```

See [Expressions](/platform/workflows/core-concepts/expressions/using-expressions-in-nodes).

## Explore

#### [String Templates](/platform/workflows/core-concepts/expressions/string-templates)

Compose text with values dropped in, and repeat text for every item in a list.

#### [Expressions](/platform/workflows/core-concepts/expressions/using-expressions-in-nodes)

Calculate, compare, and choose between values.

#### [Function Reference](/platform/workflows/core-concepts/expressions/function-reference)

The functions you can call inside an expression.