Nodes

Last updated on Dec 27, 2024

Introduction to Nodes

Nodes serve as the fundamental elements of Flows, providing distinct units of functionality.

Key Points:

  • Each node operates independently within a Flow, with only one node active at a time.

  • Upon completing its task, a node transitions to the next based on predefined connections.

Example:

The Say Node is configured to communicate "Hello World" to the caller or via SMS, then transitions to the next step upon completion.

Node Transitions

Nodes utilize transitions to determine subsequent steps within a Flow.

  • Single Transition:
    For example, the Say Node transitions to "Done" after completing its task.

  • Multiple Transitions:
    Some nodes, like the Dial Node, offer dynamic transitions, such as "No Answer" or asynchronous transitions like "Recording Ready."

Asynchronous Transitions

Asynchronous transitions, marked by a clock icon, occur independently of the main flow. For instance:

  • The Dial Node's "Recording Ready" transition triggers when the recording is available, even if the main call flow has ended.

Note:
Due to their asynchronous nature, certain nodes, like Dial, cannot be used after such transitions as the call context no longer exists.

Node Properties

Node properties define behavior and are displayed in the Properties Pane. For example:

  • Each property specifies how the node operates, such as the Say Node's speech content and voice selection.

  • Properties are categorized by type (e.g., String, Number, Boolean) and linked to documentation for further reference.

Summary

Nodes are the foundational building blocks of Flows, executing individual tasks and transitioning sequentially. They operate independently, offering flexibility and precision in designing Flow processes.