Antlytics logoAntlytics

Connect Antlytics to Microsoft Power Automate

Microsoft Power Automate (formerly Flow) integrates Antlytics with Microsoft 365 — Teams, SharePoint, Excel Online, Outlook — and hundreds of other services.

Option A: Webhooks via HTTP trigger

Power Automate's When an HTTP request is received trigger catches incoming POST payloads.

  1. Create a new automated cloud flow. Choose When an HTTP request is received as the trigger.
  2. Click Use sample payload to generate schema and paste the example payload below.
  3. Save the flow — Power Automate generates a unique POST URL. Copy it.
  4. In your Antlytics dashboard, go to Settings → WebhooksAdd webhook.
  5. Paste the URL, select your events, then click Create. Save the signing secret.
  6. Click Test in Antlytics to fire a test payload.
  7. Add action steps (e.g. post to Microsoft Teams, append an Excel Online row).

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 dynamic content as stats visitors, stats pageviews, site name, and period.


Option B: API polling via Recurrence trigger

  1. Create a new scheduled cloud flow. Choose Recurrence as the trigger (e.g. daily at 09:00).
  2. Add an HTTP action:
    • Method: GET
    • URI: https://www.antlytics.com/api/v1/stats?site_id=YOUR_SITE_ID
    • Headers: AuthorizationBearer ant_YOUR_TOKEN
  3. Add a Parse JSON action to extract fields from the response body.
  4. Connect to Teams, Outlook, SharePoint, or Excel Online as needed.

Create your API token in Settings → API tokens.


Need help?

Email support@antlytics.com with your site ID.

Something missing? Get in touch and we will update these docs.