devlooped / devlooped/WhatsApp
Add automatic telemetry reporting for endpoint availability messages
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 13
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
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"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file, entry point, or test. Start by reading the linked WhatsApp health-monitoring documentation and locating the webhook handling for Flow messages, then compare it with the example payload. Done means endpoint-availability events are included in unified telemetry, with coverage for the supplied event shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100
