Nodes

From Evo Voice
Jump to: navigation, search

Introduction

Nodes are the building blocks of Flows.

Every node is an independent unit of functionality. At any given time in a Flow only a single Node can be active. When the Node is completed performing its task, the Flow transitions to the next Node depending upon the connections made in the designer.

The Say Node below has been configured to say "Hello World" to the caller (or via SMS message)

ClipCapIt-190905-140201.PNG

Node Transitions

In the Say Node, you can see that it has a single Transition "Done" which will be followed when the system is done speaking to the caller.

If we wanted to Say something else after the first Say, we could join the two Nodes together as follows

ClipCapIt-190905-140354.PNG

Every node has different transitions and some nodes even have a dynamic number of transitions. For example:

ClipCapIt-190905-140454.PNG

The Dial node above has a transition for if there is "No Answer" and it also has an Asynchronous Transition (see below) for when the call recording is ready.

ClipCapIt-190905-140553.PNG

The String Match node above has a transition for each entry that was put in its Choices property and also a transition for the situation where nothing matched "No Matches"

Note A flow will only ever follow a single transition when leaving a Node

Asynchronous Transitions

Asynchronous Transitions are indicated by a clock on the transition, for example:

ClipCapIt-190905-140717.PNG


In the example above, the Dial node has a Recording Ready transition which is Asynchronous (clock). This transition will be followed as soon as the call recording for this call is ready (assuming you enabled call recording).

Asynchronous transitions are followed OUTSIDE of the normal call flow and because of this, certain nodes CANNOT be used, for example if you used a Dial node after the Recording Ready transition, it would fail because at this point there is no call (it has long since hung up)


Node Properties

Whenever you select a Node, the Node's settings or "Properties" are displayed in the Properties Pane, for example:

ClipCapIt-190905-140944.PNG

The Node's Properties determine how the Node will behave, for example in the Say node, it determines what will be said and in what voice.

In the image above, there are a couple of things to note

  1. The type of field (e.g. String, Number, Boolean) is indicated in parentheses, for example What to Say is a String field. This is explained in more detail in the Data System documentation
  2. The node type is indicated in the top right along with a link to the documentation

Summary

Nodes are the building blocks of Flows. They are independent processing units that perform a single task and then transition to the next Node in the Flow.,