Multiple Paths
The Multiple Paths ( If else condition ) tool lets you create different routes within a single workflow — each performing specific actions based on the conditions you define.
You can use conditions and operators (like equals, less than, or greater than) to decide which path executes.
Example:
If a customer’s order value is over $100 → send a “Premium Customer” message.
If under $100 → send a standard thank-you message.
How to Use Multiple Paths in viaSocket
Add the Multiple Paths Tool
Click + Add Step → In-Built Tools → Multiple Paths.

Create Path Branches
You’ll see Path A, Path B, and the option to Add more paths.
For each path:
Define your condition(s) (e.g., “order amount > 100”) and use Ask AI — it will automatically perform the task.
viaSocket will automatically route the data that matches each condition to the right branch.

Test the Conditions
Run a test to check that your workflow data is following the correct paths.
This will display whether the condition is true or false.
Add Actions to Each Path
Inside each path, add the actions that should run when that condition is true.
Example:
Path A: Send a welcome email.
Path B: Send a re-engagement message.

Publish
Once you’ve tested and verified your workflow, click Set Live to publish it.
Nested Paths (Advanced Logic)
Nested Paths let you add conditions inside conditions — like using multiple “if” statements in code.
Example: Order Processing Flow
If order value > $100 → apply free shipping
↳ If address = US, also add a discount
↳ If address ≠ US, apply international feeIf order value < $100 →
↳ If same city, use local delivery
↳ Else, use standard shipping
This setup helps you handle complex workflows easily without duplication.
Real-World Example
Use Case: CRM Message Automation
When a customer’s status changes in your CRM:
Path A: If status = “new customer” → Send a personalized welcome message.
Path B: If status = “inactive” → Send a re-engagement email.
All in a single workflow — no need to create multiple flows for each case.
Why Use Multiple Paths
Personalization: Send targeted actions based on conditions.
Efficiency: Manage multiple scenarios in one workflow.
Flexibility: Automate logic for different user segments.
Simplicity: Avoid building multiple workflows for small variations.
Summary
The Multiple Paths feature in viaSocket helps you design workflows that react intelligently to your data.
By setting clear conditions, you can ensure the right actions happen at the right time — automatically.