viaSocket offers three embedding options to bring automation and integrations into your SaaS product. Each embed type offers a different level of user control and integration complexity.
This guide outlines how each embed works, why you might choose it, and when it’s the right fit — using use cases that clearly map to the type.
1. Workflow Embed
How it works
This embed allows users to build complete workflows using a visual builder inside your application. They can define what triggers the workflow (either from your app or external apps) and what actions to perform (using your app or third-party services).
Why choose this
Best for SaaS platforms that want to give users complete flexibility to automate across tools, apps, and internal events — with full control over when and how things happen.
Use case example
A CRM platform wants users to build custom workflows like:
"When a new lead is added in the CRM, create a contact in HubSpot and notify the sales team on Slack."
"When a form is submitted in Typeform, create a new deal in the CRM and send a confirmation email."
Users control both the trigger (CRM or external tool) and the actions (Slack, HubSpot, Email), building end-to-end workflows inside your product.
2. Action Embed
How it works
This embed allows users to configure what actions to take when predefined events occur in your app. Users do not create or manage triggers — the system sends those events behind the scenes.
Why choose this
Ideal for products that want to centralize control over workflow triggers but still give users flexibility to customize how data flows to other tools.
Use case example
A helpdesk platform includes automation options such as:
"When a support ticket is created (system event), send a message to a Slack channel."
"When a ticket is marked as resolved, log it into a Google Sheet and send a feedback survey to the customer."
Users only decide the actions — the trigger is fixed and comes from the system. This keeps things simple and aligned with specific app events.
3. Auth Embed
How it works
This embed allows users to securely connect third-party apps (like Gmail, Notion, or Google Sheets) via an embedded authentication interface. No workflow builder or automation configuration is shown.
Why choose this
Best for platforms that need to use third-party services in the background — like importing data or sending emails — but don’t want to build and maintain OAuth or token logic themselves.
Use case example
A marketing automation tool wants users to connect apps like:
Gmail — to send campaigns.
Google Sheets — to import contacts.
Notion — to sync content blocks.
There are no workflows or actions configured by the user — they simply connect their accounts so your app can access the data behind the scenes.
Comparison Summary
Feature | Workflow Embed | Action Embed | Auth Embed |
---|
Users define triggers | Yes | No | No |
Users configure actions | Yes | Yes | No |
Embedded workflow builder | Yes | Yes | No |
Third-party connection UI | Yes | Yes | Yes |
Best suited for | End-to-end automation builders | System-driven event automation | Secure third-party auth |
Choosing the Right Embed
Use Workflow Embed to let users build their own automation logic using both triggers and actions.
Use Action Embed to keep control over system triggers while letting users define outputs.
Use Auth Embed when you just need to give users a secure way to connect apps — without workflows.
Need help implementing these or combining them? Contact us at
[email protected]
. We're here to help.