whapi_flatten_webhook: Flatten Whapi webhook payload into tidy rows for persistence (robust)
Description
Flatten Whapi webhook payload into tidy rows for persistence (robust)
Usage
whapi_flatten_webhook(payload, verbose = TRUE)
Value
tibble with normalized fields
Arguments
- payload
list parsed from JSON (e.g. plumber req$body)
- verbose
logical, print logs with cli?