View, set up and manage Workflows
This module is only accessible by Owners & Managers.
This module is accessed from the side navigation menu under the menu item Workflows.
Use the 🔍 at the top of the Workflows Module to quickly find a Workflow
The main page of the Workflows Module is a listing page. It provides an overview of the Workflows in your Workspace.
Below are the actions that can be performed in Workflows:
To create a Workflow:
- 1.Navigate to the Workflows main page
- 2.Click Add Workflow
- 3.Name the Workflow
- 4.Click Create
Once the Workflow has been created, it will open in the Workflow Builder. Start building the Workflow by selecting a Trigger.
Maximum 50 Workflows per Workspace.
To create a Workflow from a list of templates:
- 1.Navigate to the Workflows main page
- 2.Click the dropdown arrow beside the ADD WORKFLOW button
- 3.Select Browse Templates
- 4.Choose one of the templates and click the Use Template button
The pre-built Workflow will be created. Update the steps highlighted in red to save or publish the Workflow.
A Workflow can be saved by clicking the SAVE button in the Top Bar of the Workflow Builder.
Step configuration errors must be resolved before a Workflow can be saved.
If a Step in the Workflow is configured incorrectly, the ⚠ sign will appear in the Top Bar. Hover over the icon to see which Steps have configuration errors. Click on the Step in the dropdown list to identify it in the Workflow builder and open its settings in the configuration drawer.
To start a Workflow, you need to publish it. A Workflow can be published from two places:
Once the Workflow is published, it will run. Contacts who meet the trigger criteria will enter the Workflow. To edit a Published Workflow, you need to stop the Workflow.
When a Workflow is stopped, all enrolled Contacts will be ejected immediately. They will not be re-enrolled into the Workflow when it is re-published.
A Workflow can be stopped from two places:
Once a Workflow is stopped, it may be edited.
A Workflow can only be edited when stopped.
Editing takes place in the Workflow Builder. In the Actions menu in the Workflows listing page, click Open in Builder. Once inside the Workflow Builder, you can edit the Workflow.
To export a Workflow, open the Actions Menu and click the Export Workflow button
The Workflow will be downloaded as a JSON file.
It can then be imported to another Workspace or Organization.
To import a Workflow, go to the Workflow main page. Click on the dropdown arrow beside the ADD WORKFLOW button and select Import Workflow.
Click Browse file to select your Workflow and click the IMPORT button.
To import your Workflow successfully, please make sure:
- The file is in a JSON format
- All the values in the JSON file are correctly listed and formatted
- The file cannot exceed 400 KB
- The file cannot contain more than 100 Workflow steps
Upon import, the values in a Workflow Step will be removed if they do not match the available data in your Workspace. Eg if a Workflow Step contains data such as Channels, User IDs or Teams that are not in the Workspace, these values will be removed.
Each Workflow will have the following associated information in its columns.
The Workflow Status is used to determine if the Workflow is currently running. There are three possible statuses:
- Draft: A Workflow that has never been published
- Published: A Workflow that is currently implemented
- Stopped: A previously published Workflow that has been stopped
Each Workflow has additional columns detailed below.
Displays the name and description
Last Published By
Displays the last User who published it
Displays the last published date
Displays the User who created it
Displays the date it was created
The last column in the Workflows row contains the Actions Menu. The following actions can be performed here:
Only shown when Workflow is in Draft or Stopped
Only shown when Workflow is Published
Allows editing of Workflow name or description
Open in Builder
Opens the Workflow in the Builder
Creates a duplicate Workflow in Draft Status
Exports the Workflow in a JSON file
Deletes the Workflow
To open the Workflow Builder, you need to create a Workflow or edit a Workflow. The Workflow Builder is a visual editor where Steps can be added, removed and configured. It consists of four main sections:
The top bar is used to manage key Workflow items like its name, description, errors in step configuration and status. The elements of the top bar are as below.
Displays Name and allows editing of Name or Description
Indicates a step configuration error
Allows Workflow to be saved
Allows Workflow to be published or stopped
The Assistive Tools are designed to help you navigate the Canvas. It includes 5 tools:
- Zoom In
- Zoom Out
- Back to 100% Zoom
Canvas is the drag-and-drop interface that provides an overview of the Workflow. It allows the user to observe the logic and sequence of a Contact's journey during an event. Actions such as building new Steps, dragging or dropping Steps and connecting Steps take place here.
To configure a Trigger or Step, click on the Trigger or Step block to open its configuration drawer. The actions possible in the configuration drawer include:
- Edit the Step name
- Define the action of the trigger event or Step.
What will happen to my Contacts if I stop a published Workflow?
If a Workflow is stopped, all enrolled Contacts will be immediately ejected from the Workflow. They will not be re-enrolled into the Workflow if it is re-published.
Why did my Workflow end before it was completed?
A Workflow may end prematurely for the following reasons:
- 1.The Workflow was stoppedIf a Workflow is stopped, all enrolled Contacts will be immediately ejected from the Workflow.
- 2.The Contact fell under the Failure Branch and there was no continuing journey Contacts may fall under a Failure Branch if they provide invalid responses or do not meet specified conditions. If there are no steps configured under the Failure Branch, the Workflow will end. It is advisable to configure steps under the Failure Branch so Contacts may continue their journey if they land here.
- 3.Ask a Question - Timeout The Ask a Question Step has a default timeout period of 7 days. If Contacts do not respond within the defined or default timeout period, the Workflow will end. It is advisable to create a Timeout Branch and add Steps for Contacts to continue their journey in the event of a timeout. Read more about the Ask a Question Step here.
- 4.Assign to - Timeout The Assign To Step has a default timeout period of 7 days. If an assignee who fulfills the assignment logic cannot be found within the defined or default timeout period, the Workflow will end. It is advisable to create a Timeout Branch and add Steps for Contacts to continue their journey in the event of a timeout. Read more about the Assign To Step here.
- 5.Branch Condition - Else Contacts who do not meet the required conditions of a branch will fall under the Else branch. If no steps are configured under this branch, the Workflow will end. It is advisable to configure Steps under the Else branch so Contacts may continue their journey if they land here. Read more about branch steps here.
- 6.Send a Message - Fail If a message is not sent for any reason (e.g. messaging window closed, network connection issues), the Contact will exit the Workflow.
If I manually close an ongoing conversation with an enrolled Contact on the platform, will the Workflow end?
No, the Workflow will continue even if the conversation is manually closed on the platform. The Workflow will only end if the conversation closes in the Workflows Module.
Can a Contact re-enter the same Workflow they are currently enrolled in it?
A Contact cannot re-enter a Workflow they are currently enrolled in. The Contact has to exit the Workflow and meet the criteria for the trigger event again to repeat or re-enter a Workflow.
What if a Contact triggers more than one Workflow at the same time?
Both Workflows will be executed concurrently.
Why is the Contact Field not saving responses in the Ask a Question step?
Invalid responses, such as responses in the wrong format, cannot be saved. Clearly specify a response format when asking a question to avoid this scenario. Refer here for the correct format of each type of response.
I have updated a Contact Field value but the old value is still being applied. Why is Workflows not applying the updated value?
All Contact information will be cached or stored for three (3) minutes once the Workflow is triggered to allow for faster data access. If a Contact Field is being updated manually or programmatically while the Contact is still in a Workflow journey, the information will take up to three (3) minutes to be reflected in the Workflow. Until then, the previous value will be shown.
If I add an Ask a Question step after a conversation has closed (e.g. Close Conversation step or Conversation Closed trigger), will the conversation reopen if the Contact responds?
No, a Contact will not reopen the conversation by responding to the 'Ask a Question' step.
What happens if there is no one in an Assign To team?
The Contact will not be assigned and will move on to the next Step. If there is no next Step, the Workflow will end.
Why is the reply from the Contact not being saved in the Contact Field that I have selected?
It could be because the Contact Field chosen under the Save Response setting does not match the Question Type. Please make sure you select the correct Contact Field for the Question Type when saving a response. For instance, if the Question Type is a date, then the response cannot be saved as a different Contact Field, such as email address or phone number.