Overview of Glific Flow Action types
Glific Flows use action nodes to define the behavior of a conversation. These actions can be selected from the node dropdown on the Flow Configure page. Available actions include:
Communication Actions
- Send contact a message: Sends a message to the contact. Supports the use of flow-level and contact-level variables within the message content.
- Wait for contact to respond: Pauses the flow to collect input from the contact. The response is saved in a variable specified in the
Result Namefield. - Wait for time: Introduces a delay before the next action. Defaults to 5 seconds if no specific time is selected.
- Send a staff member a message: Sends a notification or message to a staff member instead of the contact.
Data & Contact Management
- Label the incoming message: Assigns a label to a received message for analytics and data point generation.
- Add the contact to a Collection: Adds the current contact to a pre-existing collection.
- Remove the contact from a Collection: Removes the current contact from a collection.
- Update the contact: Saves updated contact details to the database.
Integration & Flow Control
- Call a Webhook: Sends or receives data from a third-party web application.
- Enter another flow: Triggers a secondary flow from within the current flow.
- Wait for result: Used specifically with webhooks to prevent the flow from breaking during response delays. It queues the request using the Resume flow API. If no webhook is present, it behaves like 'Wait for time'.
- Start Somebody else in the flow: Initiates a flow for a different user or a specific collection from the middle of the current flow.
- Open Ticket: Directs questions to a specific project team member by opening a ticket.
Decision/Split Nodes
- Split by custom expression: Branches the flow based on a custom logic expression derived from contact responses.
- Split by a result in the flow: Branches the flow based on the specific result of a user's response.
- Split by collection membership: Branches the flow based on whether a contact belongs to a specific collection.
- Split by contact field: Branches the flow based on the value of a specific contact variable.