Setting Up Webhooks

Webhooks let Alpha Insights send your profit, sales, and expense data to an external URL on a schedule. You configure a single endpoint and choose how often to send: daily, weekly, or monthly. The payload is a JSON object containing date-bounded summaries and (optionally) full order and expense rows for the period.

How Alpha Insights Webhooks Work

Webhooks are scheduled exports, not real-time event notifications:

There are no per-order or per-event webhooks (e.g. no “order created” or “low profit alert” triggers). Everything is batch by date range.

Where to Configure

  1. Go to Alpha Insights → Settings.
  2. Open the Integrations tab and find the Webhooks section.
  3. Enter your Webhook URL (the endpoint that will receive the POST).
  4. Choose Schedule Webhook Export: Don’t Schedule Export, Daily, Weekly, or Monthly.
  5. Optionally enable Enable Logging to log webhook runs and responses for debugging.
  6. Click Save. If a schedule is selected, the next run will occur at the next 1am (and then only on the correct day for weekly/monthly).

Test Webhook

The Test Webhook button sends one immediate POST to your URL with the same JSON structure as the scheduled export. For the test, no date range is passed to the data warehouse, so the payload uses the warehouse’s default date range (typically a recent period up to “today”). The response from your endpoint is shown in the browser (e.g. success flag and response code). Use this to confirm the URL is reachable and that your endpoint accepts the payload.

Payload Structure

Every webhook request is:

Top-level keys

Exact keys and nesting may vary with your data warehouse and report builder; the structure above matches what the webhook code sends. You can inspect the Webhook Test Data Output on the same settings page to see a live example for your site.

After Saving

Troubleshooting