Skip to content

Add automatic telemetry reporting for endpoint availability messages #280

@kzu

Description

@kzu

When using our endpoint for flow data, WhatsApp for Business will automatically send endpoint availability updates (from pings and actual usage) stats which we should track and report as our own telemetry for unified tracking.

Docs: https://developers.facebook.com/docs/whatsapp/flows/guides/healthmonitoring

Example of a message:

{
  "entry": [
    {
      "id": "539235785933710",
      "time": 1755544869,
      "changes": [
        {
          "value": {
            "event": "ENDPOINT_AVAILABILITY",
            "message": "Flow endpoint availability successfully recovered. Users will now be able to open and use the flow.",
            "flow_id": "1987937931743377",
            "availability": 100,
            "threshold": 90,
            "alert_state": "DEACTIVATED"
          },
          "field": "flows"
        }
      ]
    }
  ],
  "object": "whatsapp_business_account"
}

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions