What’s New?
Introducing a plethora of novel features in the marketplace – workflows. Developers now have the capability of branching, pausing executions, and incorporating their custom code in their actions.
Branches:
The branches feature allows the creation of multiple workflow branches based on predefined conditions. This functionality channels each contact along the fitting path, depending on their interactions or status.
- Allow New Branches: Enables users to constitute new branches within an action.
- Is Predefined Branches Editable: Allows users to modify pre-existing predefined branches.
- Show Branches Section: Presents detailed branch section information to the user.
Pause Execution:
The Pause Execution feature halts a contact at a specific action in the workflow. The contact resumes when a resume webhook is solicited.
- If this toggle is activated, the contact will remain paused until the resume webhook is invoked.
- When enabled, an extras object must be furnished as a body payload to the resume workflow endpoint.
- The Show API Details button exhibits a sample response for both successful and unsuccessful execution webhooks.
In case of Sync Execution
When Pause Execution and branching are deactivated, the contact will advance to the suitable branch based on the branchId provided in the API response or from Custom Code using the return statement. The branchId determines the branch that the contact will pursue.
In case of Async Execution
For asynchronous execution, when Pause Execution is deactivated, the branchId must be dispatched to the webhook, which can be located in the Show API Details button, to resume the contact’s progress.