Forwarding: Nango forwards the webhook from the external API to your webhooks endpoint.Processing in Nango: The webhook from the external API triggers a Function in Nango. This lets you make additional API requests to the external API and store data in Nango’s Sync cache.You can also combine the two: Process the webhook in Nango, fetch additional data from the external API, and then forward the final object as a webhook to your app.
You can combine webhooks and polling syncs into a single, real-time sync.With this setup, both webhooks and polling syncs update the same Sync cache in Nango. Nango applies change detection to the objects in the cache and notifies your application when new data is available.This gives you the best of both worlds: the reliability of polling syncs and the real-time updates of webhooks.To set this up, follow our implementation guide for real-time syncs.