alerts:create
alerts family
An owner's opt-in to team alerts on their own WhatsApp (channel whatsapp): when a website visitor asks for a person, the owner is told on WhatsApp, with what the visitor said and the whole conversation, from ONE's alert number. The owner's tick beside the exact words (wordingVersion) makes the number PENDING and answers the message to send FROM that number to ONE's alert number (message, and a wa.me link that opens it); that message proves the number is theirs and switches alerts on (whatsapp:receive). Read the state with alerts:get, turn it off with alerts:update. Nothing is ever sent to a number that has not written first. Dark (whatsapp_alerts_not_configured) until ONE's alert number and the approved template are configured.
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_integrations
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- yes
- Safe to retry as-is.
- Version
- 1.0.0
- Pin this to keep a contract stable; additive bumps never break callers.