Overview
When you export data from a workbook, Vern sends webhook events to your configured endpoint. This requires:- Setting up a webhook endpoint in the developer settings
- Configuring your application to receive and process the webhook events
- Exporting data from your workbook to trigger the webhook
Setting up webhooks
To configure webhooks, navigate to Developer Settings → Webhooks. This will load the Svix portal, which is our webhook provider.Adding an endpoint
- Click Add Endpoint in the Svix portal
- Enter your endpoint URL (this should be provided by your developer)
- For testing, you can use Svix Play to simulate an endpoint
- Give your endpoint a descriptive name (e.g., “Production endpoint for ACME HR”)
- Subscribe to the production export event to receive data exports
- Click Create
Exporting data from workbooks
After setting up your webhook endpoint:- Open the workbook containing the data you want to import
- Select the rows you want to export (or leave all selected for the entire dataset)
- Click Export Data
- Choose your configured endpoint (e.g., “Production” or “Preview”)
- The webhook event will be sent to your endpoint
- Successful message delivery
- The exact payload body
- Full logs of all webhook events
Webhook payload structure
The webhook payload contains your exported data in batches. Here’s what to expect:- Rows of data: All the exported records from your workbook
- Indexed rows: Each row includes its index number (e.g., row 1 to 50)
- Row order: The original order of rows in the workbook is preserved
- Errors: Any errors attached to specific records are included
- Batching: Data is sent in batches of 1,000 records. If you have more than 1,000 records, multiple webhook events will be sent
Event catalog
The Svix portal includes an Event Catalog that shows all available webhook events. For workbook data exports, you’ll see:- Production export event: The event type for exporting data to your production app
- Preview export event: The event type for exporting data to preview/test environments
Next steps
Once your webhook endpoint is configured and receiving events, your development team needs to:- Process the incoming webhook payloads
- Extract the row data from each batch
- Save the data to your database
- Handle any errors attached to records
- Implement proper error handling and retry logic for failed deliveries