Understanding virtual webhooks

This guide explains what virtual webhooks are, how they differ from native webhooks, and when you would want to use a virtual webhook.

What are virtual webhooks?

Virtual webhooks are Unified.to's solution for providing webhook functionality even when an integration doesn't natively support it. They simulate real-time updates by periodically checking for changes in your connected SaaS applications' data e.g. new records, update records, or deleted records. In other words, they use scheduled polling.

While native webhooks are great when they're available, many software vendors either don't support webhooks or have limitations with their webhook implementations. Virtual webhooks bridge this gap by providing a consistent webhook experience across all supported integrations.

How virtual webhooks work

Virtual webhooks work by:

  1. Monitoring your connections for updates to specific objects (e.g., CRM deals, ATS jobs, etc) at regular intervals (polling)
  2. Detecting when data has changed or new data has come in since the last check
  3. Sending updates to your webhook URL only when changes are found
  4. Managing rate limits automatically

The key difference from native webhooks is that virtual webhooks use polling behind the scenes, but this complexity is managed by us so that you, the developer, don’t have to worry about it. You interact with virtual webhooks as you would with native webhooks.

Virtual vs native webhooks comparison

Virtual WebhooksNative Webhooks
ImplementationPolling-based virtualizationReal-time push notifications
SetupConfigured entirely through Unified.toMay require additional configuration on other platforms
Cost StructureOne API call per interval when changes found - the interval can be set by youOne API call per event whenever they occur
ReliabilityMore controlled, depends on API availabilityDepends on integration's webhook infrastructure
Event TypesMainly supports created and updated eventsSupports created, updated, and deleted events if the integration supports them
Retry LogicBuilt-in for both reading and dispatchingHandled on a per-integration basis
Health MonitoringBuilt-in connection health tracking with retry mechanismSubject to your server’s availability and the integration’s retry mechanism

When to use virtual webhooks

Virtual webhooks are ideal for:

  • Integrations that don't offer native webhook support
  • Tasks where 1+ minute delays are acceptable and you don’t need the data immediately
  • When you want greater control over costs by setting the frequency the integration is polled

Consider native webhooks when:

  • You need immediate updates as soon as they arrive

How to identify webhook support

You can check what type of webhook support an integration offers:

  1. Navigate to the integration's page in the Unified.to dashboard
  2. Click on Feature Support
  3. Look under the Webhooks section:
    • Virtual webhooks are labeled with "virtual"
    • Native webhooks are labeled with "native"

    How to identify virtual webhooks
    In this example, the integration supports virtual updated and virtual created events.

Creating and configuring virtual webhooks

You create and configure virtual webhooks the same as you would with any other webhook, with the exception of also being able to set an interval for the polling. To see how to do that, refer to: How to create and configure webhooks

Additional resources

Are we missing anything? Let us know
Was this page helpful?