viaSocket Help

Multiple Paths

The Multiple Paths tool lets you create different routes within a single workflow, each performing specific actions based on the conditions you define.
This makes your automations smarter, more flexible, and easier to manage — all within one flow.

What It Does

With Multiple Paths, you can split your workflow logic so that each path runs only when certain criteria are met.
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

Step 1: Open Your Workflow

Log in to viaSocket and go to your Workflow Editor.

Step 2: Set Up the Trigger

Choose your trigger app, connect your account, configure it, and test the trigger to make sure data is coming in.

Step 3: Add the Multiple Paths Tool

Click + Add Step → In-Built Tools → Multiple Paths.
This will create a branching point where you can define different conditions for your data.

screenshot-29_10, 01_12_43 pm.jpg

Step 4: 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”)

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

screenshot-29_10, 02_04_21 pm.jpg

Step 5: Test the Conditions

Run a test to check that your workflow data is following the correct paths.

Step 6: 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.

screenshot-29_10, 02_10_36 pm.jpg

Step 7: 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.