To streamline automations on we are introducing Workflow V2. This update brings significant improvement to existing automations by introducing parallel runs, improved tracking and faster runs!
To improve automations we are categorizing Workflows, Triggers and Actions into two categories Session Dependent - The Workflows, Triggers and Actions are dependent on 24 hour session window for their execution. Session Agnostic - The Workflows, Triggers and Actions are independent of 24 hour session window for their execution. Workflows
Workflows that have any Session Dependent Action (Send Text Message, Send Image Message etc) are marked as Session Dependent while all other are marked as Session Agnostic.
A conversation can only be enrolled into a single Session Dependent workflows. If there are multiple Session dependent workflows with the same valid trigger (Two workflows that have Contact sends a text message trigger with the same matching message - “Hi”) then Workflow that was created earlier will be given priority. A conversation can enroll in as many Session Agnostic workflows. Actions
Actions that require 24 hour session window for their execution are Session Dependent Actions while those which do not require 24 hour session window are Session Agnostic Actions.
Triggers
Triggers are initiated by the recipient or require 24 hour session window are Session Dependent Triggers while those which are initiated without an recipient or do not require 24 hour session window are Session Agnostic Triggers.
Based on the type of Trigger we are restricting actions to be allowed in a Workflow -
Workflow Runs
To improve tracking and debugging we are introducing Workflow Runs. Every time a workflow is triggered a new run will be created and each step and state of the workflow will be tracked.
Every workflow will go through following state during it’s lifetime -
The workflow run section is present in both Inbox and Workflow Builder
You can also see timeline with data of Workflow Run on clicking Show steps
Action Validation
To improve error tracking during creation of a Workflow we have added Action Validation which will indicate that the action will fail because of missing values.
Breaking changes
Existing workflows with Conversation send the first message and Conversation sends message outside of working window triggers will reset last time they triggered for a conversation and might experience re-enrollment. Any workflow with Shopify Triggers with Session Dependent actions will not work. Any workflow with Session Agnostic Trigger and Session Dependent Actions will not be allowed to add anymore Session Dependent Actions. These will be disabled in the coming month. Delay actions before 11/8/2024 will not work Execute Flow and Execute Survey Action are deprecated and will not work. Please migrate to Enroll Reusable Workflow Action.