Skip to content
Impulse SoftwareDOCS
Get modules

ImpulseNotify

Verified for ImpulseNotify 0.5.0 ·

Troubleshooting

Settings → Health Checks is your first stop: callback endpoints, Telegram webhook status, cron heartbeats, queue health, license state and WhatsApp template approval, each section wrapped so one broken subsystem never takes the whole page down. This guide works through the common failures from there.

Under Addons → ImpulseNotify → Settings, three operational sub-tabs cover diagnostics (legacy ?tab=diagnostics bookmarks land here automatically):

  • Health Checks — each WhatsApp and SMS channel’s callback URL (and whether a WhatsApp verify token is set), Telegram webhook status with live getWebhookInfo and one-click Register again, the last verified callback and a lifetime Rejected signatures counter, cron heartbeats, the license state, a queue snapshot with Requeue all dead messages, WhatsApp template approval with Sync WhatsApp templates now, and a phone-number normalizer.
  • Activity — this module’s entries in the ImpulseCore audit log, filterable by level, text and time range.
  • Help — Impulse Software support contacts, version and system details, and the database schema check.

The module also exposes a JSON health endpoint, which ImpulseCore’s status checks read. Unauthenticated callers receive the four public keys (module, status, checked_at, regions); callers presenting ImpulseCore’s health token or a signed-in WHMCS admin session receive full counts and ages — never credentials, recipients or message content:

GET <your WHMCS System URL>/modules/addons/impulsenotify/health.php
{
"module": "impulsenotify",
"version": "…",
"status": "healthy",
"active_services": 2,
"queue": { "pending": 0, "oldest_pending_age_seconds": null, "dead": 0 },
"last_queue_drain_at": "…",
"last_inbound_process_at": "…",
"license_check": "ok",
…
}

license_check reads ok while a valid license is on file. status is healthy, degraded or down. It turns degraded when the oldest pending message has waited more than 15 minutes, when the queue_drain or inbound_process heartbeat is more than 10 minutes old, when dead-lettered messages exist, or when the schema version is missing; the reasons are listed in degraded_reasons.

The install has no valid license, so it’s running in dev mode: every feature works, but creating more than 3 channels, 5 rules, 2 staff recipients or 10 operator-created templates is refused, and sends stop once 50 have gone out in the current UTC day (the count resets at 00:00 UTC). Settings → General → Licence & limits shows usage against each cap (its sends figure is an approximate 24-hour count; the cap counts every send, test sends included, in the UTC day).

Add your INTFY- key under ImpulseCore → Modules & Licensing → Licenses; the caps lift as soon as Core validates it. If a key is on file but the Dashboard still reads dev mode, check the key’s status in ImpulseCore — a license that lapses past its grace period returns the install to dev mode. Existing channels, rules and recipients are never removed by the caps.

The queue isn’t being drained. Queued delivery, retries and the domain and SLA scans run as ImpulseCore cron tasks.

  • Settings → Health Checks → Cron heartbeats — a stale queue_drain heartbeat is the tell.
  • Check that ImpulseCore’s cron runner is installed and ticking: ImpulseCore → Operations → Cron shows the crontab line and the last tick. queue_drain and inbound_process want a * * * * * schedule; on a 5-minute schedule, messages wait up to 5 minutes.
  • Make sure the PHP binary in the cron line has the ionCube Loader too — /opt/plesk/php/8.3/bin/php on Plesk, /opt/cpanel/ea-php83/root/usr/bin/php on cPanel, or /usr/bin/php on a plain Linux server.
  • Check that Pause ALL sends under Settings → General → Delivery controls is off: while it’s on, queued messages wait.

4. WhatsApp / SMS stay sent, never delivered

Section titled “4. WhatsApp / SMS stay sent, never delivered”

The messages left your server; the provider’s delivery receipts aren’t landing.

  • Confirm the channel’s callback URL is publicly reachable over valid, not self-signed, HTTPS — no password prompt, IP allowlist or maintenance page in front of /modules/ paths.
  • For WhatsApp, confirm the channel is enabled, the messages webhook field is subscribed and the app is subscribed to the business account — re-running Auto-configure repairs both. See the WhatsApp troubleshooting matrix.
  • For SMS, paste the URL from Settings → Health Checks → SMS callback endpoints into the provider console exactly as shown, as an HTTP POST webhook. AWS SNS sends no receipts to the module at all.
  • Watch Last verified callback received — it updates the moment a signed receipt lands.

Genuine callbacks are arriving but failing signature or timestamp verification, so the module refuses them (HTTP 403). Re-enter the secret on the channel:

  • WhatsApp: copy the App secret again from Meta’s App settings → Basic.
  • SMS: the credential that verifies the provider’s callbacks — the Twilio or Plivo auth token, the Vonage signature secret, the Telnyx public key, or the MessageBird signing key. On Telnyx and MessageBird, also check that your server’s clock is synced via NTP (signed timestamps older than 300 seconds are rejected).

WhatsApp sends only Meta-approved templates, checked when a message is queued.

  • Open Addons → ImpulseNotify → Templates and confirm you’ve mapped the event to an approved Meta template name (and positional {{1}}–{{6}} slots if the template uses variables).
  • Open Settings → Health Checks → WhatsApp template approval and click Sync WhatsApp templates now: only approved templates are queued — pending, rejected, paused and not synced aren’t. Newly mapped templates start pending until synced from Meta. See WhatsApp onboarding.

7. Health Checks shows (SystemURL missing)

Section titled “7. Health Checks shows (SystemURL missing)”

A callback URL reads (SystemURL missing) because WHMCS’s System URL isn’t set. Set System URL under System Settings → General Settings to your public HTTPS address — the module builds every callback URL from it, and Auto-configure needs it.

Start by clicking Simulate on the rule’s row on the Rules tab — it immediately tells you whether the rule would send or skip and lists the exact blocker without sending anything. Then check, in order:

  • The rule is Enabled and its primary channel is enabled.
  • Its event checkboxes or glob pattern match a real emitted event (invoice.overdue and the failed-login events are in the catalog but aren’t emitted yet).
  • Any Conditions & targeting filters (min_amount, active_hours, ticket priority/department, product filter, assigned ticket admin, or Client IDs) match the event. For Assigned ticket admin only, make sure the Staff Recipient is linked to the WHMCS admin (tbladmins) via Import WHMCS admin or Manage.
  • ImpulseNotify is active in ImpulseCore (ImpulseCore → Modules & Licensing → Modules). The Dashboard’s registered only means Core knows the module; the WHMCS hooks stay silent until Core lists it as active.
  • Settings → Activity — a matched event leaves a notify.ingest entry whose suppressed counts say why nothing was sent:
Reason Meaning / fix
no_template No enabled template for this event on this channel type — check Templates (or re-activate the addon to seed missing defaults). Webhook channels need none.
no_contact / unverified Client audience: the client has no contact, or no verified contact, for this channel type. Inspect under Staff Recipients → Client Contacts & Opt-ins.
no_consent Client audience: the client has switched this category off on this channel type, or replied STOP.
no_admin_recipients Admin audience: no enabled staff recipient matches the category/filter with an address for this channel, and no channel Default admin recipient is set.
wa_unapproved The WhatsApp template isn’t approved — sync under Settings → Health Checks → WhatsApp template approval.
rate_limited / dev_send_limit A rate limit or the dev-mode daily cap was reached; the event message was dropped, not queued.
dry_run Dry-run mode is on.
duplicate A message with the exact same dedup key was already queued (for example a double-fired hook). Repeatable events like multiple ticket replies, different reminder stages, and logins use distinct keys and aren’t collapsed.

New events are dropped while Pause ALL sends is on, and leave no entry.

9. Telegram linking or STOP replies do nothing

Section titled “9. Telegram linking or STOP replies do nothing”

Both need Telegram to deliver updates to callbacks/telegram.php?channel=<id> with the channel’s secret token. ImpulseNotify registers this webhook automatically when you enable or test an enabled Telegram channel, but it will never overwrite a webhook already pointing at a different server. Open Settings → Health Checks → Telegram webhooks to check live getWebhookInfo and click Register here / Register again (or Regenerate secret if the secret drifted). The Connect Telegram button only appears on the client-area page while a Telegram channel is enabled. See Connecting channels.

A message whose temporary failures outlast its retries (60s → 5m → 15m → 1h → 6h, dead-lettered at attempt 6) lands in the dead state. Check the error on its Logs row, fix the cause, then requeue it: the per-row Requeue on the Logs tab (offered only while the message is still dead), or Requeue all dead messages in Settings → Health Checks.

Module events are written to the ImpulseCore audit log, viewable under Settings → Activity (or ImpulseCore → Operations → Audit). Settings saves record which settings changed, and channel, rule, template and staff-recipient changes are all logged — so when a delivery problem is really a configuration change, the log shows what changed and when. Credentials are scrubbed from every entry, and recipient fields are masked.

Contact Impulse Software support at support.impulsesoftware.com or [email protected]. Include the module version from Settings → Help and the relevant Activity entries.