I'm building an integration where SolarWinds Orion (SAM/NPM) alerts are sent to corporate WhatsApp groups, similar to how Orion integrates with Microsoft Teams or Slack via the "Send a GET/POST Request to a Web Server" alert action.
I'm planning to use the official WhatsApp Business Cloud API (Meta) instead of unofficial libraries like whatsapp-web.js, for better reliability and support.
My backend (Node.js) will receive the webhook/HTTP request from Orion's Alert Action and route the message to the correct WhatsApp destination based on a routing table (mapping alert source/location to a group or recipient).
What I need help with:
- Best practices for structuring the payload from the Orion Alert Action (which
${N=SwisEntity;M=...} and ${N=Alerting;M=...} variables are most useful) - Message template requirements for the Cloud API (since outbound messages outside a 24h window need pre-approved templates)
- Has anyone used the SolarWinds Information Service (SWIS) REST API / SWQL directly (instead of the native Alert Action) to pull alert data and push it to external systems like WhatsApp? Is there any advantage to that approach over just using the Alert Action?
- Any examples of someone who has done a similar Orion → webhook → WhatsApp Cloud API integration