Connect Antlytics to Activepieces
Activepieces is an open-source automation platform. Connect Antlytics using its Webhook trigger to receive analytics events and drive downstream automations.
Option A: Webhooks (recommended)
- In Activepieces, create a new flow. Add a Webhook trigger and copy the endpoint URL.
- In your Antlytics dashboard, go to Settings → Webhooks → Add webhook.
- Paste the Activepieces URL, select your events, then click Create. Save the signing secret.
- Click Test in Antlytics to send a sample payload — Activepieces captures the shape automatically.
- Add action pieces (Slack message, Google Sheets row, HTTP request, etc.) using the mapped fields.
Example payload (daily summary)
{
"event": "daily_summary",
"site_id": "YOUR_SITE_ID",
"site_name": "example.com",
"period": "2026-04-11",
"stats": {
"visitors": 142,
"pageviews": 387,
"bounce_rate": 45,
"top_pages": [{ "path": "/", "visitors": 80 }],
"top_referrers": []
},
"timestamp": "2026-04-11T09:00:00Z"
}
Reference fields in Activepieces as {{trigger.stats.visitors}}.
Option B: API polling via schedule trigger
- Add a Schedule trigger with your desired interval.
- Add an HTTP action piece:
- Method: GET
- URL:
https://www.antlytics.com/api/v1/stats?site_id=YOUR_SITE_ID - Headers:
Authorization: Bearer ant_YOUR_TOKEN
- Map the response to subsequent action pieces.
Self-hosted Activepieces
If you run Activepieces on your own infrastructure, ensure the instance can receive inbound POST requests from Antlytics servers and that the webhook URL is publicly reachable.
Need help?
Email support@antlytics.com with your site ID.
Something missing? Get in touch and we will update these docs.