---
title: Exercise -- Send a notification after form submission
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

## Exercise – Send a notification after form submission

Let’s walk through a practical example. You can either watch an interactive demo, or continue with the tutorial below the video and put your editing skills to a test.

Imagine you're part of a marketing team handling incoming requests for electric car loans.
Timely follow-up is key because every form submission could represent a qualified lead. Setting up an internal notification ensures that no customer interest goes unnoticed or unanswered.

In this tutorial, you’ll create an internal notification that alerts your team when someone submits the _Electric Car Loan_ form.

This exercise uses a built-in form and template from the Kbank demo site, with no coding needed.

## What you’ll learn

By the end of this walkthrough, you’ll know how to:

- Create a notification email.
- Assign it to a specific form.
- Add internal recipients.
- Test that the email sends correctly and contains the data you need.

## Before you start

Make sure you've logged into the **Kbank demo site** as an editor or administrator.

## Step-by-step: Set up a form notification

### Create and send a notification in an interactive walkthrough

Not a fan of reading?
Fast-forward with our interactive demo that directly walks you through creating your own notification, step by actionable step.

> **Info:** Ensure you access the video in full screen mode to make the most out of its interactive features.

🎮 [Create and send notifications (interactive demo)](https://demo.arcade.software/WvINdeICQmJyFIATCJDt)

Not interested? That's okay. Continue reading to learn the full details of the process. You can even try it out on your Training website to get most of this guide.

### 1. Create a new notification

- In the **Configuration** > **Notifications** app, create a **New notification**.
- Configure the notification properties:
  - **Notification name**: _Electric Car Loan Form Submission_
  - **Event type**: _Form submission_
  - **Forms**: _Request Electric Car Loan_

> **Info:** Make sure to connect your notification to the correct form.

### 2. Define recipients and select a template

- Under the **Delivery** section, add the following:
  - **Recipients**: _administrator_ (e.g. your test admin account) and _linda@kbank.localhost_ (a teammate)
  - **Notification template**: _General email template_
  - **Sender email address**: _kbank@localhost.local_

![Filled-in notification properties](https://docs.kentico.com/docsassets/modules/exercise-send-after-submission-notification/notification-properties.png "Filled-in notification properties")

This part of the process ensures that key team members receive the email notification and that it goes out from the right sending domain (@localhost.local).

> **Info:** Note: _General email template_ is the only template usable for email notifications in the Kbank demo. Your live site may have branded options.

### 3. Compose your message

Now it’s time to write the subject line and body of the email. You can use **macros** to include dynamic content, like the **form name** and the **visitor’s input**.

- **Subject**:\
  _New Form Submission: `{{FormName}}`_

- **Body**:

  _Hello team,_

_A visitor has just submitted the Electric Car Loan request._
_`{{FormData}}`_

_You can view the form here: `{{FormLink}}`_

_Your notification system_

This message will display the actual submitted data and include a link (though in the _Kbank_ demo, this link may not be functional – more on that below).

![Notification content editor](https://docs.kentico.com/docsassets/modules/exercise-send-after-submission-notification/notification-content.png "Notification content editor")

> **Info:** In the Kbank demo, the link filled in for the `{{FormLink}}` placeholder may not lead anywhere. That's an expected behaviour because Kbank is a sandboxed demo environment. In a real-life application, this link would take you or your recipient directly to the submitted form in the admin interface.

### 4. Save and preview your notification

- **Save** the email notification draft.
- **Preview** your notification, and if you're happy with the result, let's get to testing.

> **Info:** Note that _Xperience by Kentico_ adds a placeholder contact name for the demo visitor to help you visualize what the notification data will look like.
> The preview of your notification may therefore look something like this:
>
> ![Placeholder contact name and surname](https://docs.kentico.com/docsassets/modules/exercise-send-after-submission-notification/placeholder-contact-data.png "Placeholder contact name and surname")

---
