Skald Documentation

Assignment Node

This node evaluates an assignment expression.

You can use assignment nodes to assign or update variables during the conversation. Assignment nodes have one input and one output.

Assignment Node

Inspector

The inspector has a single input field for the assignment expression.

Screenshot of Assignment Node with Error

Expression

Assignment nodes store a single expression.

Use this expression to assign or update variables in your conversation. Variables can be strings, integers, floats or booleans. See variables for more information.

Errors

If the expression is invalid, the inspector will highlight the error as seen below.

Screenshot of Assignment Node with Error

Hovering the error will show a tooltip with the error message, as seen below.

Screenshot of Assignment Node with Error This specific error explains that no variable by the name "someVariable" exists within the project.

Example of use in a conversation

Screenshot of Assignment Node

On this page