> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allgoodhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Alert Motion reference

> Who an Alert Motion can tell, how Slack and email alerts look, the fields a message can use, limits, and what to do when an alert doesn't arrive.

Details for when you're setting up or troubleshooting an Alert Motion. To create one, see [Set up an Alert Motion](https://docs.allgoodhq.com/mk/motions/alert-motion.md).

## Who gets told

A rule can tell any mix of these. Each recipient gets their own message, and nobody is told twice for the same submission.

| Recipient | What to know |
| - | - |
| **The lead's owner** | The Salesforce user who owns the lead. Needs a lead owner relationship in your account. Only active, internal Salesforce users with an email address are told. If the lead has no owner, the alert is skipped. |
| **A named person** | By Slack, they're found by their email address in your Slack workspace. By email, any address works. |
| **A Slack channel** | Use the channel ID, and invite the allGood app to the channel first. Channels can only be told over Slack. |

## Slack and email

Choose Slack, email or both for the whole Alert Motion (Slack is the default), and change it for any rule.

* **Slack.** Sent by the allGood app, as a direct message or a channel post, with a bold subject, the message and a link button. Messages over about 2,900 characters are cut short.
* **Email.** A plain notification from "allGood Alerts" on allGood's own address, not your sending domain. It can land in spam, so ask your IT team to allow the sender.
* **Both.** The same message goes to each. If one fails, the other still sends.

Anything a visitor types is shown as plain text, so it can't ping a channel or turn into a link.

## Message fields

Mary writes custom messages for you. If you want to edit one yourself, it has a **subject**, a **body** and an optional **link**, and can use these fields:

| Field | What it shows |
| - | - |
| `{{ about.submission.<field> }}` | An answer from the form, such as `{{ about.submission.notes_topic }}` |
| `{{ about.<field> }}` | A field on the lead's record, such as `{{ about.firstName }}` |
| `{{ about.links.person }}` | The lead's page in allGood. Also `about.links.form` and `about.links.motion`. |
| `{{ person.firstName }}`, `{{ person.name }}`, `{{ person.email }}` | **The person receiving the alert**, not the lead. Blank for a Slack channel. |

> [!WARNING]
>
> If you're used to Marketo, note that `person` is whoever *receives* the alert. For the lead who submitted the form, use `about`.

Use `*bold*` and line breaks. A misspelled field name shows as a blank, so check the preview on the Summary page.

## Limits

| Limit | Value |
| - | - |
| Rules per Alert Motion | 10 |
| Forms per Alert Motion | 5 |
| Motions per Alert Motion | 20 |
| Slack message length | About 2,900 characters |

If a flood of submissions would send one person more than 10 alerts at once, they get the first 10, then the rest together in one "N more alerts" message. Nothing is lost.

## When an alert isn't sent

An alert is skipped if the submission:

* Came before the Alert Motion was created
* Is more than 24 hours old by the time it's processed, because a late alert is worse than none
* Came in after the Alert Motion was taken down

If sending fails, allGood tries again, but never re-sends an alert that already reached someone.

## Troubleshooting

**Nothing on the Members page** means no alert was created. Check that:

* The form came from a landing page that belongs to a watched motion
* The form is one the Alert Motion watches
* A rule matched, or there's an "everyone else" rule
* The Alert Motion is published

**An alert on the Members page that didn't arrive** shows a reason:

| Reason | What to do |
| - | - |
| "No one to notify" | Nobody on the rule could be told. Each person shows why, such as "no related user" or "inactive". For the lead's owner, check the lead has one in Salesforce. |
| "It happened before this alert was switched on" | Expected for old submissions. |
| "It happened too long ago, so the alert is stale" | The submission was over 24 hours old when processed. |
| "Slack is not connected for this tenant" | Connect Slack under **Integrations**. Email alerts still send. |
| "No Slack user has this email address" | The person isn't in your Slack workspace under that email. |
| "The Slack app has not been added to this channel" | Invite the allGood app to the channel. If the channel was archived or deleted, ask Mary to use a different one. |
| "Not sent: the plan that queued it was taken down" | The Alert Motion was taken down after the submission. |
| "Not sent: this alert was set to send tests…" | The Alert Motion was published with an old test setting that no longer exists. Ask Mary to edit it, then publish again. |
| A message has blank values | A field name is misspelled, or uses something other than `about` or `person`. Ask Mary to fix the message. |

## Related articles

* [Set up an Alert Motion](https://docs.allgoodhq.com/mk/motions/alert-motion.md)
* [Motions](https://docs.allgoodhq.com/mk/motions/index.md)
* [Integrations](https://docs.allgoodhq.com/mk/integrations/index.md)

> [!NOTE]
>
> Questions? Reach out to [support@allgoodhq.com](mailto:support@allgoodhq.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.