WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Notification → Create

AI-generated

Summary

Create a notification with key‑value pairs

Inputs

  • notifData (required) — Key‑Value pairs defining notification details; each entry contains a Name and a Value (e.g., name: "title", value: "New Alert").

Output shape

a single notification object

Returns the created notification, including its generated ID and any returned fields; errors are thrown on failure.

Examples

Example 1: Send a simple text alert

notifData: [{ propertyValues: { name: "title", value: "New Alert" }, { propertyValues: { name: "message", value: "Something happened" } }]

Example 2: Add multiple key‑value pairs

notifData: [{ propertyValues: { name: "type", value: "info" } }, { propertyValues: { name: "details", value: "User logged in" } }]

Example 3: Use expressions for dynamic values

notifData: [{ propertyValues: { name: "link", value: "$$json['item'].url}" }]

Links

Discussion