The Virtual webhook concept explained in short:
We monitor resources (for example Employees, Leads, ...) through a polling system and when we detect a change, we send a webhook event.
More info can be found in the article: What is a Virtual webhook?
By default, we monitor the integrations (like BambooHR, Salesforce, ...) at an interval of every 24 hours, but there are cases where you want to trigger the monitoring sooner, like during the testing or implementation of the webhook events.
When a consumer authorizes new connections, our system will automatically trigger a sync within 5 minutes after authorization.
Here's a breakdown of an example Scenario:
Consumer activates BambooHR at 13:00.
1st Sync: Takes place between 13:00 and 13:05.
2nd Sync: Occurs 24 hours later.
To facilitate the implementation of webhooks and bypass the 24-hour interval, we make it possible to schedule the sync and have the webhooks events fired more quickly.
Here's how you can do it:
Access the Apideck Platform: Go to the Apideck platform https://platform.apideck.com/ and log in.
Choose the Integration: Go to the configuration section and select the integration for which you want to receive virtual webhook events.
Select the Resource: Click "Schedule sync" for the resource you want to monitor (employees in our example).
Choose the Consumer: Select the specific consumer for which you want to receive events and press "Schedule sync".
Our Virtual webhook engine will take it from there. It will pick up the job within 5 minutes and start polling the integration from the selected consumer for any changes.
If there are changes detected, you will receive webhook events.
Learn more about subscribing to Webhook events, in our "How to integrate webhook events?"