viaSocket Help

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 an option to Add more paths.
Each path consists of two parts: an “If” condition and an “Else” part.
If the condition is not met (i.e., the “If” condition evaluates to false), then the Else part will be executed.

For each path:

  • For each path, define your condition(s) (e.g., order amount > 100) and use Ask AI — it will automatically generate the required tasks.

  • viaSocket will automatically route the data that matches each condition to the right branch.

  • If none of the defined if conditions are met, the newly added else path will automatically execute.

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 fee

  • If 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.