Variables
Use data from earlier nodes in messages, conditions, and integrations.
Variables let you use information from earlier steps in later ones. The editor looks at what is connected before the step you are editing and lists available fields (message, customer, trigger, HTTP response, branch labels, and more).
When to use
- Personalize message body text (WhatsApp, Messenger, Instagram).
- Drive If / Else and Switch case conditions.
- Bind Fireberry field values, HTTP request body placeholders, or task title/body slots.
- Map Update Customer fields from data produced earlier in the flow.
How it works in the editor
- Connect the node you are configuring to nodes that run before it in the flow.
- Open the node form. Fields that support variables show a tree picker (or “Add variable” for
{{1}}-style placeholders). - Pick a fixed value from an upstream node or, where supported, an expression.
- At runtime, the workflow engine resolves the binding to the actual value for that execution.
The picker lists fields from connected upstream nodes. Branch nodes (answers, If / Else paths, switch cases, timeout, and fallback) still expose their parent’s context so you can reuse trigger and message data downstream.
Configuration (by field type)
| Pattern | What it does | When to use |
|---|---|---|
| Tree picker | Single binding to one upstream field or expression | Fireberry values, Update Customer, If conditions, template variable slots |
{{n}} placeholders | Numbered slots in free text; each slot gets its own binding | HTTP body, task title/body |
| Inline body editor | WhatsApp/Messenger/Instagram body with variable chips | Message actions |
Flow behavior
- On the node you are editing, variable pickers are for using upstream data, not for defining new outputs (message nodes and switch cases add outputs for later steps when you configure them).
- Clearing a binding in the picker clears that field on the node.
- If no upstream nodes are connected, the picker may be empty; connect triggers and actions first.
Examples
Greet by name after a trigger
- Start with a Pingmee Trigger (or channel trigger) that exposes customer/message variables.
- Add WhatsApp (or Messenger/Instagram) and connect from the trigger.
- In Body, open the variable picker and insert the customer name (or nickname) from the trigger branch.
HTTP POST with dynamic JSON
- Add HTTP Request after a node that produces data.
- Set method to POST and write body JSON with
{{1}},{{2}}, etc. - Use Add variable and bind each
{{n}}to the upstream fields you need.
Related
- Nodes drawer — where you pick nodes to configure
- Sub-nodes — branches that still expose parent variables
- WhatsApp — template and body variables
- If / Else — conditions on variables
- HTTP Request — body placeholder bindings