viaSocket Help

Multiple Paths (If Conditions)

Multiple Paths lets you branch a Workflow into different routes based on conditions. Each path can contain its own Actions, which run when the path's condition is met.

For example, you can route customers based on order value:

  • Order value > $100 → Send a premium customer message.

  • Order value ≤ $100 → Send a standard thank-you message.

 

#

How to Set Up Multiple Paths

#

1. Add Multiple Paths

Click + Add Step in the Workflow editor. Under Built-In Tools, select Multiple Paths (If Conditions).

BlockNote image

#

2. Define a Condition

The MultiPath panel opens with Path 1 ready to configure.

Enter a condition in the input field and click SAVE.

BlockNote image

For example:

order amount > 100

You can enter the condition yourself or use Ask AI to generate it from a plain-English description.

 

#

3. Add Actions to a Path

After saving the condition, the Workflow canvas displays the path with an IF branch and an ELSE branch.

Click + Add or drag step here inside the required branch to add the Actions that should run when that condition applies.

  • IF — runs when the condition is true.

  • ELSE — runs when the condition is not met.

BlockNote image

#

4. Add More Paths

Click the + button between paths to add another condition.

For example:

  • Path 1: order amount > 100

  • Path 2: customer type = "VIP"

  • Else: Handle all remaining cases

viaSocket evaluates the configured conditions and routes the Workflow to the applicable path. If no IF condition matches, the Else path runs.

BlockNote image

#

5. Go Live

After configuring all paths and their conditions, click GO LIVE to activate the Workflow.

 

#

Nested Paths

You can add a Multiple Paths step inside another path to create more detailed, multi-level conditions.

BlockNote image

 

For example:

  • Order value > $100

    • Address is in the US → Apply free shipping

    • Address is outside the US → Apply international fee

  • Order value ≤ $100

    • Same city → Use local delivery

    • Else → Use standard shipping

This lets you handle complex scenarios within a single Workflow.

 

#

Real-World Example

Suppose you want to automate messages based on a customer's status:

  • New customer → Send a welcome message.

  • Inactive customer → Send a re-engagement email.

  • Else → Send the record for manual review.

 

#

Why Use Multiple Paths?

  • Personalization — Run different Actions based on data.

  • Efficiency — Handle multiple scenarios in one Workflow.

  • Flexibility — Use conditions based on data from Triggers or previous steps.

  • Simplicity — Handle different outcomes without creating separate Workflows.