Ways of Embedding
Two Ways to Embed viaSocket in Your Product:
Option 1: Build Your Pre-Built Connector (Plug Builder)
Option 2: Use a Webhook Integration
Option 1: Build Your Pre-Built Connector
Step 1: List Your App on viaSocket
Go to viaSocket’s platform and create a listing for your app.
Choose from over 1,500+ supported apps to instantly connect with your service using pre-built trigger-action combinations.
Step 2: Customize Your Connectors
Select the specific triggers and actions that suit your app.
Customize how your app interacts with other apps based on common use cases.
Step 3: Activate Your Connectors
Once your app is listed, users can easily integrate with other apps by selecting the desired workflows within your viaSocket dashboard.
Users can create, edit, and manage their workflows directly inside your platform.
Why Use Pre-built Connectors?
✅ Expand Your Reach: Allow users to integrate with other apps seamlessly.
✅ Create a Marketplace: Offer a marketplace of integrations directly within your product.
Option 2: Use a Webhook Integration
Step 1: Create a New Flow
Log in to viaSocket and create a new automation flow.
Choose “Webhook” as the integration method for triggering your flow.
Step 2: Get Your Unique Webhook URL
Once the flow is created, viaSocket generates a unique webhook URL specific to your workflow.
This URL will serve as the entry point for your automation flow.
Step 3: Invoke the Webhook
Send an HTTP POST request to the provided webhook URL to trigger the automation flow.
Use the following example curl command to send data to the webhook:
curl -X POST "https://your-generated-webhook-url.com"
-H "Content-Type: application/json"
-d {
"event": "user_signup",
"data": {
"email": "[email protected]"
}
}'
Why Use a Webhook?
✅ AI Chatbots: Trigger real-time responses dynamically.
✅ Live Data Processing: Process real-time data and provide updates.
✅ Custom Event Handling: Execute personalized actions when key events happen.
Pro Tips for Webhook Integration
✔ Every user gets a unique webhook URL for their workflows.
✔ Webhooks can accept JSON, query parameters, or form data for dynamic execution.
✔ Webhooks offer a flexible and efficient way to automate tasks across various platforms.
Which Option to Choose?
Pre-built Connector: Ideal if you want to quickly offer out-of-the-box integration with 1,500+ apps and expand your product’s reach.
Webhook Integration: Best for custom workflows and real-time, dynamic automation when you need more control over the trigger points and data processing.
Both options offer powerful ways to automate tasks within your SaaS platform, providing flexibility based on your needs.