Assignment
The Assignment action writes values into variables so later steps can reuse them.
When to use
Section titled “When to use”- Compute a derived value without Javascript
- Copy a nested field into a top-level variable for simpler mapping
- Initialize defaults before a Decision
Configure
Section titled “Configure”- Add an Assignment node on the path where you need new values.
- Open General.
- Configure the assignment operation (destination variable and source fixed value or variable).
- Connect next to the following action.
Tabs: General, Execution.
Example
Section titled “Example”Webhook provides firstName and lastName. Assignment sets fullName from those inputs. Send Email uses fullName in the subject.
Pitfalls
Section titled “Pitfalls”- Assigning incompatible types can break downstream consumers.
- Overwriting a trigger input variable mid-flow can confuse debugging—prefer new names for derived values.
Related: Variables & Data Mapping, Javascript.