--- title: "Notification Center: send Slack and email alerts when Userflow events happen" slug: "building-notification-workflows-notification-center" updated: 2026-11-13T16:34:51Z published: 2026-11-13T16:34:51Z canonical: "help.userflow.com/building-notification-workflows-notification-center" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Notification Center: send Slack and email alerts when Userflow events happen Notification Center lets you build automated workflows that send notifications when specific Userflow events occur. You can send notifications to Slack channels, email addresses, or both—without writing any code. Notification Center alerts your own team. It only emails the addresses you type into a workflow, so it can't send emails to your product's end users. > [!NOTE] > **Switching from Zapier?** If you've been sending Userflow activity to Slack through a Zap, see [Migrating from a Zapier-based Slack setup to the native Slack integration](https://help.userflow.com/docs/migrating-from-zapier-to-native-slack-integration) to move over without double-posting. ## What is Notification Center? Notification Center is a visual workflow builder where you: 1. **Choose an event** that triggers the notification (for example, "Flow Completed") 2. **Add conditions** to filter which events should send notifications (optional) 3. **Select destinations** where notifications should be sent (Slack channels, email addresses, or both) 4. **Customize the message** that gets sent, including dynamic user and company attributes 5. **Test the workflow** before activating it Notification Center is **multi-channel** by design—it's not specific to Slack. You can use it to send email notifications, Slack notifications, or both. ## What you need before building a workflow To send to Slack, [connect Slack](https://help.userflow.com/docs/connecting-slack-to-userflow) first. Email destinations need no setup. **Have the right role permissions:** - **Create/delete workflows:** Owner, Admin - **Enable/disable/update workflows:** Owner, Admin, Editor ## Create a notification workflow ### Name the workflow 1. Go to **Settings** > **Notification Center** 2. Click **Create a workflow** 3. Enter a **name** for your workflow (e.g., "Trial Signup Flow Completed") 4. Optionally, add a **description** to help your team understand what this workflow does ### Choose the trigger event Choose the event that will trigger this notification. Open the **Select event** dropdown and choose from the events Userflow is already receiving for your account. The dropdown lists Userflow's built-in events (the activity Userflow tracks automatically) alongside any custom events you're actively sending. A custom event only works as a trigger if Userflow is genuinely receiving it. Typing a name into the event field does not create an event—if nothing in your product is sending that event, it stays empty and the workflow never fires. To trigger on something Userflow doesn't track automatically, set the event up first (for example, through the event tracker or your Userflow.js installation) and tie it to a real action in your app, then select it here. **Example:** If you want to notify your team every time someone completes your "Product Tour" flow, select **Flow Completed** as the event. ### Add conditions to filter notifications Conditions let you filter which events trigger notifications. You can add two types of conditions: #### Event attribute conditions Filter based on properties of the event itself. **Example:** Only send notifications when the "Product Tour" flow is completed (not other flows): - Condition: `flow_name` equals `Product Tour` **Note:** Not all events have event attributes, so some events may not expose any additional properties to filter on. #### User and company attribute conditions Filter based on properties of the user or company associated with the event. **Examples:** - Only notify when the user's `lifecycle_stage` is `Lead` - Only notify when the company's `plan` is `Enterprise` - Only notify when the user's `signup_date` is within the last 7 days You can add multiple conditions. All conditions must be true for the notification to be sent. ### Add Slack or email destinations Select where you want notifications to be sent. You can choose: - **Email** - Send to one or more email addresses you enter, such as your team's inboxes. Notification Center can't email your end users. - **Slack** - Send to one or more Slack channels - **Both** - Send to both email and Slack #### Adding an email destination 1. Click **Add destination** > **Email** 2. Enter the email address 3. Repeat to add more email addresses #### Adding a Slack destination 1. Click **Add destination** > **Slack** 2. Select a channel from the dropdown (only **public channels** are shown) 3. Repeat to add more channels **Note:** You can only select from public channels in your connected Slack workspace. Private channels are not supported. **Tip:** You can send the same notification to multiple destinations—for example, send to both a Slack channel and an email list. ### Write the notification message For each destination you've added, you'll configure the message content. #### Email message settings - **Subject line** - The email subject - **Message body** - The email content (supports rich text formatting) #### Slack message settings - **Message** - The message text that will appear in Slack (supports rich text formatting) #### Insert user and company attributes into the message You can inject dynamic user and company attributes directly into your messages using variable placeholders. **Example message:** ```plaintext A user just completed the Product Tour! User: {{user_email}} Company: {{company_name}} Subscription: {{company_plan}} Customer since: {{company_created_at}} ``` **Available variables:** Any custom attribute you've set up in Userflow via your Userflow.js installation, plus standard attributes like: - `{{user_id}}` - `{{user_email}}` - `{{user_name}}` - `{{company_id}}` - `{{company_name}}` To add a variable: 1. Type `{{` in the message field 2. Select the attribute from the dropdown 3. Close with `}}` Variables will be replaced with actual values when notifications are sent. ### Send a test notification Before activating your workflow, test it to make sure notifications are sent correctly. 1. Click the **Test** button at the top of the workflow editor 2. Userflow will send a sample notification to all configured destinations 3. Check your Slack channel and/or email inbox to verify the message appears correctly **Note:** Test notifications use placeholder data for variables (e.g., `user@example.com`, `Acme Corp`) since no actual event has occurred. ### Turn the workflow on Once you're satisfied with your testing: 1. Click **Save** to save the workflow 2. Toggle the workflow status to **Active** Your workflow is now live. Whenever the configured event occurs and all conditions are met, Userflow will send notifications to the destinations you specified. ## How do I include survey or NPS answers in a notification? **Question Answered is a trigger event, not a message field.** You select it in the workflow's trigger step — it fires whenever a user answers a survey or NPS question, and it is the umbrella event covering every question type (NPS, Scale, Star rating, Single-line text, Multi-line text, and Multiple choice). Scope it to the responses you care about with conditions — for example, `flow_name` equals your NPS flow, or a specific `question_name`. The answer itself comes through dedicated message fields (type `{{` and pick from the dropdown). Which one is populated depends on the question type: - **Number Answer** (`{{number_answer}}`) — NPS, Scale, and Star rating questions - **Text Answer** (`{{text_answer}}`) — Single-line and Multi-line text questions - **List Answer** (`{{list_answer}}`) — Multiple choice questions **One event carries one question's answer.** A workflow triggered by the score question populates Number Answer (Text Answer is empty); a workflow triggered by the comment question populates Text Answer (Number Answer is empty). That is why a single message cannot combine an NPS score and a separate open-text comment — if you insert both fields, one comes back blank. To capture both, build **two workflows** — one triggered by the score question using `{{number_answer}}`, and one triggered by the comment question using `{{text_answer}}` — and give each a condition (such as `question_name`) so it only fires for its own question. One message can't combine answers from more than one question. For how to build NPS and other survey questions, bind answers to a user attribute, and read response analytics, see [Surveys and NPS: build in-app surveys with flows](https://help.userflow.com/docs/surveysnps). ## Managing workflows ### Viewing all workflows Go to **Settings** > **Notification Center** to see a list of all workflows. For each workflow, you'll see: - Workflow name - Status (Active, Inactive, Draft) - Last modified date - Who created it ### Editing a workflow 1. Click on a workflow from the list 2. Make your changes 3. Click **Save** **Note:** Changes to an active workflow take effect immediately. ### Enabling or disabling a workflow Toggle the **Active/Inactive** switch on any workflow to turn it on or off without deleting it. **Use case:** Temporarily disable a workflow during maintenance or testing, then re-enable it later. ### Deleting a workflow 1. Click on a workflow 2. Click the **Delete** button 3. Confirm the deletion **Warning:** Deleting a workflow is permanent and cannot be undone. ## Common workflow examples ### Notify a channel when users complete onboarding **Event:** Flow Completed **Conditions:** - `flow_name` equals `Onboarding Flow` **Destination:** Slack - `#product-team` **Message:** ```plaintext 🎉 New user completed onboarding! User: {{user_email}} Company: {{company_name}} Plan: {{company_plan}} ``` ### Alert customer success when NPS detractors respond **Event:** Question Answered **Conditions:** - the question comes from your NPS flow (for example, `flow_name` equals `Global NPS`) - the answer (`number_answer`) is less than or equal to `6` **Destination:** Slack - `#customer-success` **Message:** ```plaintext ⚠️ NPS Detractor Alert User: {{user_email}} Company: {{company_name}} Score: {{number_answer}} ``` Each **Question Answered** event carries one question's answer, so this workflow posts the NPS score only. To also post the follow-up open-text comment, create a second workflow triggered by the comment question and insert **Text Answer** (`{{text_answer}}`). See [How do I include survey or NPS answers in a notification?](/docs/building-notification-workflows-notification-center#including-survey-nps-results-in-a-slack-notification). ### Email your team on every flow completion **Event:** Flow Completed **Conditions:** (none - send for all flows) **Destination:** Email - `product-team@company.com` **Message:** ```plaintext Subject: Flow completed Flow: {{flow_name}} User: {{user_email}} Completed at: {{completed_at}} ``` **Note:** Notification Center sends one email per event. It can't batch events into a daily digest; for that, use a separate tool or custom integration. ## Should I use Notification Center or Custom Alerts? Notification Center and [Custom Alerts](https://help.userflow.com/docs/alerting) (Settings > Alerting) both send notifications, but for different things. **Custom Alerts** are designed for performance monitoring—they fire when a flow's metrics drop below a threshold (e.g., completion rate falls below 50%). **Notification Center** sends notifications based on individual user activity—every time a specific event occurs. Both features can send notifications, but they serve different purposes: | Feature | Use for | Triggered by | | --- | --- | --- | | **Notification Center** | Real-time alerts about user activity, sent to your own team (not to your end users) | Individual user events (e.g., one user completes a flow) | | **Custom Alerts** | Performance monitoring | Metric thresholds (e.g., completion rate drops) | You can use both features together. For example: - Use **Notification Center** to notify your CS team every time a user submits an NPS detractor response - Use **Custom Alerts** to notify your product team if the overall NPS completion rate drops below 20% ## Troubleshooting ### Why isn't my notification workflow sending? **Possible causes:** 1. **The workflow is inactive** - Check that the toggle is set to "Active" 2. **The event hasn't occurred** - Verify that the trigger event is actually happening in your product 3. **Conditions are too restrictive** - Review your conditions to make sure they're not filtering out all events 4. **Slack connection expired** - Go to Settings > Integrations > Slack and verify the connection status 5. **The selected Slack channel was deleted or renamed** - Edit your workflow and reselect the channel **How to debug:** 1. Use the **Test** button to send a sample notification—this bypasses conditions and verifies your destinations work 2. Check the **Logs** tab in Settings > Integrations > Slack to see if any notifications were sent (or failed) 3. Temporarily remove all conditions to see if notifications start working ### Why are variables showing as blank or raw text? **Possible causes:** 1. **The attribute doesn't exist for that user/company** - Not all users have all attributes 2. **The variable syntax is incorrect** - Make sure you're using `{{attribute_name}}` format 3. **The attribute name doesn't match** - Check your Userflow.js installation to verify the attribute names **Fix:** 1. Go to **Users** in Userflow and look up a test user to see which attributes are actually set 2. Update your workflow to only use attributes that exist 3. Consider adding fallback text in your message ## Best practices ### Start simple, then iterate Don't try to build complex workflows with multiple conditions right away. Start with: 1. One event 2. One destination 3. A simple message Test it, make sure it works, then add conditions and additional destinations. ### Use descriptive workflow names Instead of "Workflow 1" or "Slack notification", use names like: - "Trial Signup Completed → Product Channel" - "NPS Detractor Alert → CS Team" - "Enterprise User Onboarded → Sales Team" This makes it easier to manage workflows as your list grows. ### Test before activating Always use the Test button before activating a workflow. This ensures: - Your destinations are configured correctly - Your message formatting looks right - Variables are replaced correctly ### Monitor the logs Check the Logs tab in Settings > Integrations > Slack periodically to catch any delivery failures early. ### Don't over-notify Be selective about which events warrant notifications. If your team is getting dozens of Slack messages per hour, they'll start ignoring them. **Good use of notifications:** - High-value events (enterprise user signs up, NPS detractor response) - Exceptions and errors (flow failed to start, missing tooltip target) - Key milestones (user completes onboarding, reaches activation) **Bad use of notifications:** - Every single flow view - Every button click - Low-priority informational events ### Route by team, not by event A common mistake is creating one workflow per event and sending everything to a single #notifications channel. Within a week, the channel becomes noise and people mute it. Instead, route notifications by who owns the response: - Sales-relevant signals (enterprise signups, trial-to-paid conversions) → your sales channel - CS-relevant signals (NPS detractors, support ticket triggers, churn risk events) → your CS channel - Product-relevant signals (feature usage, flow completion, friction events) → your product channel Each team gets a channel with signals they can act on. No team is asked to filter through other teams' noise. ### Use conditions to keep volume manageable Adding conditions is the most effective way to prevent notification fatigue. A few patterns that work well: - **Threshold conditions** — only notify when an attribute crosses a meaningful value (e.g., `account_arr > 50000`). - **Time-window conditions** — only notify for recent users (e.g., `signup_date is within the last 7 days`). - **Combined conditions** — high-value AND high-recency. Most actionable; lowest noise. ### Test variable substitution before going live Variables silently fail when the underlying attribute isn't set on a user. Always send a Test notification first and confirm every `{{variable}}` in your message resolves to a real value. If you see empty placeholders or raw `{{variable_name}}` in the test, the attribute isn't set — fix the underlying installation or remove the variable from your message template. ## Related articles - [Connecting Slack to Userflow](https://help.userflow.com/docs/connecting-slack-to-userflow) - [Setting up custom alerts to track performance](https://help.userflow.com/docs/alerting) - [Surveys and NPS: build in-app surveys with flows](https://help.userflow.com/docs/surveysnps) - [Userflow-generated events](https://help.userflow.com/docs/userflow-generated-events): the events you can trigger on