Skip to main content

Flow nodes

This page is the field reference for the nodes you connect on the Workflow tab of a campaign. For how to build, validate, and activate a flow, see Flows.

Nodes fall into three groups: triggers (green, the entry points), conditions (yellow Field Check nodes), and actions (blue, the steps that do something). Every node panel has a Node name field; the required fields below are the ones Flametree checks when you activate the flow.

Triggers

A flow needs at least one trigger, and each trigger type can appear only once per flow. Triggers have no settings to fill in.

TriggerFires when
Participant CreatedA new participant is added to the campaign — by a file upload or through the API.
Participant UpdatedA participant's field values change.
Communication EndedA communication for the participant reaches a final status: Completed, NoResponse, Failed, Canceled, or Skipped.
Communication UpdatedA communication reaches an intermediate status: Started, Delivered, Read, or Replied.
Incoming SessionThe participant starts an inbound conversation with one of your agents.
From Another FlowA To Another Flow action in a different flow of this campaign sends the participant here.

Conditions

A Field Check compares one field against a value and routes the participant down the Match branch (the comparison is true) or the Else branch (any other result).

FieldWhat it does
PropertyThe field to check. Properties are grouped by level: Customer Profile, Participant, and Communication Results — values produced by the participant's last communication.
OperatorThe comparison to apply. The list depends on the field type — see below.
ValueThe value to compare against. Not needed for is set / is not set. Type a static value, pick one from a list for enumeration and boolean fields, or click to compare against a dynamic value.

The node name fills in automatically based on the chosen field; edit Node name to use your own label.

Operators by field type

Field typeOperators
integer, numericis set, is not set, is equal to, is not equal to, is less than, is greater than, is less than or equal to, is greater than or equal to, is between
string, email, phoneis set, is not set, is equal to, is not equal to, contains, starts with, ends with, in list
date, datetimeis set, is not set, is equal to, is before, is after, is on or before, is on or after
enumerationis set, is not set, is equal to, is not equal to, in list
booleanis set, is not set, is equal to, is not equal to

Is between asks for two values; in list accepts several values.

Dynamic values

Click the button inside the value field to compare against something dynamic instead of a static value:

SourceWhat it does
PropertiesPick another field of the same type — for example, "amount paid is less than amount due".
TodayFor date fields, optionally with a plus or minus offset.
Python expressionWrite a custom expression for advanced cases.

Actions

Every branch of a flow, except an unconnected Else, must end in an action.

Communication actions

WhatsApp Communication, Telegram Communication, Email Communication, and Voice Communication schedule an outbound contact for the participant and create a communication record you can track on the Participants and Analytics tabs. The Agent lists offer only agents that have a channel of the matching type attached.

Fields shared by the WhatsApp, Telegram, and Email actions:

FieldWhat it does
Communication NameA unique name for this communication; it appears in the participant's communications list. Required for Telegram and Email.
AgentThe AI agent that handles the conversation.
Agent ChannelWhich of the agent's channels to use. Inactive channels are marked in the list.
Communication Date and TimeUse Date and Time from: a date field or Today, with an optional plus or minus offset. This is the base date of the send.
Communication HoursA From / To window in which sending is allowed, or Best time to contact to let Flametree pick the time.
Communication DurationHow many hours the communication stays open before it is closed.
Customer ContextFields whose values are passed to the agent as context about this customer.

WhatsApp Communication

Click Set a template message (it becomes Change template once a template is chosen), pick an approved WhatsApp template, and map its variables to participant fields.

Required fieldNotes
AgentAn agent with a WhatsApp channel attached.
Agent ChannelThe WhatsApp channel to send through.
TemplateAn approved WhatsApp template, with its variables mapped.
Base dateThe Communication Date and Time source.
Communication DurationHow long the communication stays open.
Time windowA From / To window, or Best time to contact.

Telegram Communication

FieldWhat it does
Start PhraseOptional. The first message sent to open the conversation.

Plus the shared fields above (Communication Name is required).

Email Communication

FieldWhat it does
Email TemplateThe subject and body of the message.

Plus the shared fields above (Communication Name is required).

Voice Communication

Starts an outbound call through a voice (SIP) agent.

FieldWhat it does
PhoneThe participant field that holds the number to dial.
SIP ServerRequired. The SIP server to place the call through.
SIP ParametersOptional, in key=value;key=value format.
ScheduleUse Exact Date & Time, or Optimize Delivery Time with a base date and a Communication Hours window.
Communication DurationHow many hours the communication stays open before it is closed.

Control actions

Cancel Communications

Cancels all planned and active communications for this participant and sets their status to Canceled. No parameters.

Update Field

Sets participant field values. Add one or more Assignments:

FieldWhat it does
AttributeThe participant field to change.
Operationset or reset.
ValueFor set only: a static value, another field, Today with an offset for dates, or a Python expression.

To Another Flow

Moves the participant to a different flow of the same campaign.

FieldWhat it does
Target flowThe flow to move the participant to. That flow must contain a From Another Flow trigger and be active for the move to take effect.

Python Custom Action

Runs a custom Python script as a flow step, for cases the built-in nodes don't cover.

FieldWhat it does
ScriptThe Python code that runs for the participant when the node is reached.

For the legacy code-based campaign system, see Python campaigns.

  • Flows — build, validate, and activate the flows these nodes belong to
  • Session Statuses — how a communication's final status maps to an outcome
  • Supported Channels — the channels the communication actions send through
  • Python campaigns — the legacy code-based campaign system

Was this article helpful?