# Notifications are not going out

Nearly every "the customer never got it" report comes down to one of four things: the WhatsApp session is disconnected, no template exists for that event on that channel, the method has no provider selected, or the template is switched off. Check them in that order.

Source: https://help.pigi.io/guides/company-setup/notifications/notification-troubleshooting

## Quick answers

**My WhatsApp notifications stopped going out. What do I check first?**
The session. Company → Settings → Integrations → WhatsApp via Baileys → **Configure**. If
the badge is anything other than **Connected**, nothing WhatsApp goes out. Press **Connect
WhatsApp** and scan the QR with the phone.

**I pressed reconnect and no QR code appeared — what now?**
Stay on the panel and wait for the badge to move from **Connecting...** to **Scan QR
Code**; the code only renders in that state. If it is still **Connecting...** after a
couple of minutes, press **Disconnect**, then **Connect WhatsApp** again. Reconnecting
always produces a brand-new pairing, so it cannot succeed without someone scanning.

**Can WhatsApp reconnect without me scanning a QR code again?**
No. When the pairing dies, PiGi throws the saved credentials away and starts a fresh
pairing — that is the only way WhatsApp will show a code at all. Someone with the phone
has to scan.

**The WhatsApp panel is stuck on "Initializing session…" or "Connecting...".**
Press **Disconnect**, wait a few seconds, then **Connect WhatsApp**. PiGi also checks
sessions on a schedule and restarts ones that have been stuck for a while, but a restart
that needs a scan still waits for a person.

**What does "The phone unlinked this device" mean?**
Someone removed PiGi from WhatsApp → Linked devices on the phone, or WhatsApp expired the
link. Press **Connect WhatsApp** and scan the new QR.

**What does "Another device took over this WhatsApp session" mean?**
The same WhatsApp account was linked somewhere else. Only one device can hold the session,
so PiGi lost it. Unlink the other device, then reconnect PiGi.

**There is a red WhatsApp icon in the header — what is it?**
It appears only when the WhatsApp session needs attention; a healthy session shows
nothing. Hover it for the reason, or click it to open the session panel in a dialog and
reconnect without leaving the page. Admins and the bookings desk both see it.

**The event happened but no message was sent at all.**
Check for a template: Company → Settings → Notifications → **Templates**, pick the
notification type in the left sidebar, and look for a row for that event on that channel.
No row means nothing sends — a configured method alone does not send anything.

**A notification stopped for one channel but still works on another.**
The template for that channel is probably switched off. On the Templates list, the switch
at the right of the row dims a row when it is inactive. Flip it back on.

**The method card says "No integration configured".**
That channel has no provider. Click the **+** on the card, or enable a provider under
Company → Settings → Integrations, then pick it with the pencil icon. Only Email works
without a provider, as **Native (Built-in)**.

**Test send says "WhatsApp session not connected".**
Exactly what it says — the message never left. Reconnect the session at Company → Settings
→ Integrations → WhatsApp via Baileys → **Configure**, then test again.

**Email is not arriving — where do I look?**
Company → Settings → **Sent emails**. If there is no row for it, PiGi never queued it —
check the template exists. If the row says **failed**, open it and read the **Error**
panel. If it says **sent**, PiGi handed it to the mail server, so check the recipient's
spam folder and address.

**An SMS failed. What are the usual causes?**
Either the BulkSMS credentials are missing or wrong ("BulkSMS credentials not configured
for this company"), or the number is not a valid international number. Check the
integration under Company → Settings → Integrations and press **Test**.

**I linked Telegram but no alerts arrive.**
Open Company → Settings → Notifications → **Telegram Alerts** and press **Send test
alert**. If it reports 0 delivered, the chat is not verified — link it again. If the tab
shows "Bot token not configured — outbound sends will fail", Telegram alerts are not set up
on PiGi's side yet and PiGi support must fix it.

**Telegram alerts worked and then stopped for one person.**
PiGi deactivates a chat automatically when Telegram says it is permanently unreachable —
the bot was blocked, the chat deleted, or the bot removed from the group. The row moves to
**Disconnected**. Link it again.

## Check in this order

1. **Is the channel connected?** WhatsApp: the session badge must read **Connected**.
   Email: the Email method must be set to **Native (Built-in)** or a provider. SMS and
   Telegram: an enabled integration must be selected.
2. **Is there a template?** Company → Settings → Notifications → **Templates** must have a
   row for that trigger event on that channel.
3. **Is the template switched on?** The row switch must be on; inactive rows are dimmed.
4. **Did the send fail downstream?** For email, read the row on Company → Settings → Sent
   emails. For WhatsApp and SMS, use the template's test send to reproduce it.

## What PiGi fixes on its own

- **Routine WhatsApp drops.** Reasons like "WhatsApp closed the connection" or "WhatsApp
  asked the connection to restart" recover within seconds without anyone touching it.
- **Stuck or dead sessions.** A scheduled check restarts sessions with no sign of life and
  re-pairs ones whose credentials can never work again. It never touches a session an
  operator stopped deliberately, and never destroys a QR that is still on screen waiting
  to be scanned.
- **Logged-out sessions** are wiped and relaunched automatically, so a fresh QR appears in
  the panel without anyone pressing Connect — but it still has to be scanned.

## Known limitations

- **No delivery receipts on the Sent emails screen.** **sent** means handed to the mail
  server, not read.
- **No alert when WhatsApp drops unless Telegram is linked.** The header icon only shows
  to people already in PiGi. Link Telegram to be told out-of-band.
- **Retrying a failed email loses personalisation** — the resent email goes out without the original names, dates
  and links.

## Related

- [Connect WhatsApp](connect-whatsapp.md)
- [Choose how notifications reach people](notification-methods.md)
- [Write notification templates](notification-templates.md)
- [Set up email sending](email-setup.md)
- [Connect Telegram alerts](connect-telegram.md)
