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

# Notifications

> Get notified instantly when someone submits your form via Slack, email, or webhooks.

## Notification Channels

<CardGroup cols={2}>
  <Card title="Slack Notifications" icon="https://mintcdn.com/orbitai-d647f397/T1yKN7sdBmMTM8cv/_images/integrations/slack.svg?fit=max&auto=format&n=T1yKN7sdBmMTM8cv&q=85&s=a3500e56190bcac222907b8e38a5f9c2" width="53" height="53" data-path="_images/integrations/slack.svg">
    <Badge color="purple" size="sm" icon="bolt">Pro</Badge>

    Instant delivery, channel selection, rich formatting, and team collaboration.
  </Card>

  <Card title="Email Notifications" icon="envelope">
    Multiple recipients, custom subject lines, dynamic variables, and reliable delivery via Resend.
  </Card>
</CardGroup>

## Setting Up Slack Notifications

<Steps>
  <Step title="Open your form">
    Go to the form you want to enable notifications for.
  </Step>

  <Step title="Enable Slack">
    Open the Integrate or Workflows tab and add a Slack destination node.
  </Step>

  <Step title="Connect your workspace">
    Authorize OrbitForms to post to your Slack workspace.
  </Step>

  <Step title="Select a channel">
    Choose the channel where you want to receive submission alerts.
  </Step>
</Steps>

## Setting Up Email Notifications

<Steps>
  <Step title="Open your form">
    Navigate to the form in your dashboard.
  </Step>

  <Step title="Enable email notifications">
    Go to the Integrate or Workflows tab and add an Email notification node.
  </Step>

  <Step title="Add recipients">
    Enter one or more email addresses to receive alerts.
  </Step>

  <Step title="Customize subject">
    Use template variables to personalize the subject line.
  </Step>

  <Step title="Edit message">
    Customize the email body with dynamic content.
  </Step>
</Steps>

## Template Variables

Use these variables in your email subject lines and message body to insert dynamic content:

| Variable              | Description                                     |
| --------------------- | ----------------------------------------------- |
| `{{form_name}}`       | The name of your form                           |
| `{{submission_date}}` | Date and time of the submission                 |
| `{{submission_id}}`   | Unique ID for the submission                    |
| `{{all_responses}}`   | All form responses formatted as key-value pairs |
| `{{field.email}}`     | Value of the field with ID `email`              |
| `{{field.name}}`      | Value of the field with ID `name`               |
| `{{field.phone}}`     | Value of the field with ID `phone`              |
| `{{field.company}}`   | Value of the field with ID `company`            |

<Tip title="Reference any field">
  Use `{{field.your_field_id}}` to reference any form field. Replace `your_field_id` with the actual field ID from your form.
</Tip>

## Example Email

Here's how a notification email might look with template variables:

```
Subject: New submission from {{form_name}} - {{field.name}}

A new form submission was received on {{submission_date}}.

Name: {{field.name}}
Email: {{field.email}}
Company: {{field.company}}
Phone: {{field.phone}}

All responses:
{{all_responses}}

Submission ID: {{submission_id}}
```

## Troubleshooting

<AccordionGroup>
  <Accordion title="Emails going to spam?">
    Add OrbitForms's sending domain to your SPF/DKIM records, or use a custom domain. Check your spam folder and mark notifications as "Not spam" to train your email provider.
  </Accordion>

  <Accordion title="Not receiving notifications?">
    Verify your email addresses are correct. Check that the workflow is enabled and the form is published. Review the workflow run history for errors.
  </Accordion>

  <Accordion title="Variables not working?">
    Ensure you're using the exact field IDs from your form. Variable names are case-sensitive. Use `{{all_responses}}` to debug and see all submitted values.
  </Accordion>

  <Accordion title="Slack not receiving messages?">
    Reconnect your Slack workspace. Verify the bot has permission to post in the selected channel. Check that the channel still exists and the workflow is enabled.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Integrations" icon="plug" href="/guides/integrations">
    Connect to CRMs and other tools
  </Card>

  <Card title="Webhooks" icon="webhook" href="/guides/webhooks">
    Send data to any endpoint
  </Card>
</CardGroup>
