---
title: Marketing automation walkthrough - Designing the process
related:
  - https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/working-with-the-automation-process-designer.md
---

> 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).

> **Info:** **Kentico EMS required**
>
> Features described on this page require the **Kentico EMS** license.

Now that you have created the trigger that automatically runs the process for certain contacts, use the process designer to define the flow of the process:

1. As _Travis,_ open the **Marketing automation** application.
2. **Edit** ()the _Coffee Merchandise Lead Nurturing_ process.
3. Switch to the **Steps** tab.
   - You can see the two default steps, **Start** and **Finish**, connected by a line.
4. Click the connection and press the Delete key to remove the connection.

## Adding a Condition step

The process starts only for contacts created with UK or USA as their country attribute. Let's assume you need to distinguish customers from New York City, so you can send them an email inviting them to your local cafes.

1. [Place](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/working-with-the-automation-process-designer/managing-automation-process-steps.md) the **Condition** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: New York customer
   - **Designer label**: If contact is from NY
   - **Condition**: Add _Contact field contains value_ condition. Specify the field to _City_ and the value to \*New York.

     ![Adding a location based macro condition](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/adding_location_macro_condition.png "Adding a location based macro condition")\*
4. [Connect](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/working-with-the-automation-process-designer/connecting-automation-process-steps.md) the **Start** step to the **New York customer** step.

![Connecting the Start step to the New York customer condition step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_start_to_condition_step.png "Connecting the Start step to the New York customer condition step")

## Adding a Send transactional email step

You are now able to distinguish users that come from New York, so you can send them an email informing about the cafes you have set up in the area.

1. Place the **Send transactional email** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: New York cafe email
   - **From**: CoffeeCo@coffee.com (for example)
   - **To**: {% Contact.ContactEmail %}
   - **Based on**: HTML formatted text
   - **Subject**: Visit one of our Cafes!
   - **Body**: any text

     > **Info:** The value you entered into the **To** field is a [macro expression](https://docs.kentico.com/k11/macro-expressions.md) that dynamically loads the email address of the contact in the process.

     ![Configuring the Send e-mail step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/SendTransactionalEmailStep.png "Configuring the Send e-mail step")
4. Click **Save** and **Close** the dialog.
5. Connect the IF source point of the **New York customer** step to the **New York cafe email** step.

![Connecting the New york customer condition step to the New York cafe e-mail step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_condition_step_to_email_step.png "Connecting the New york customer condition step to the New York cafe e-mail step")

## Adding Wait step #1

Add a waiting interval to give contacts time to receive and read the email.

1. Place the **Wait** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: New York cafe wait
   - **Timeout settings**:Select **Specific interval** and enter **7 days.** You can set a shorter interval such as 3 **minutes** for testing purposes.
4. Click **Save** and **Close** the dialog.
5. Connect the **New York cafe email** step to the **New York cafe wait** step.

![Connecting the New York cafe e-mail step to the New York cafe wait step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_email_step_to_wait_step.png "Connecting the New York cafe e-mail step to the New York cafe wait step")

## Adding Send marketing email step #1

Now add a step that sends the first marketing email that you created earlier to both the contacts that are and aren't from New York:

1. Place the **Send marketing email** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Merchandise issue #1
   - **Site**: choose the correct site, _Coffee and Co Merchandise Newsletter_
   - **Email:** choose the correct email, _Coffee Co Merchandise #1_
4. Click **Save** and **Close** the dialog.
5. Connect the ELSE source point (red) of the **New York customer** step to the **Merchandise issue #1** step.
6. Connect the **New York cafe wait** step to the **Merchandise issue #1** step.

![Connecting the Merchandise issue 1 to the preceding steps](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_newsletter_issue1.png "Connecting the Merchandise issue 1 to the preceding steps")

## Adding Wait step #2

Add another **Wait** step into the process to give contacts time to receive the issue:

1. Place the **Wait** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Merchandise issue wait
   - **Timeout settings**:Select **Specific interval** and enter **3 days.** You can set a shorter interval for testing purposes (e.g. 3 **minutes**).
4. Click **Save** and **Close**the dialog.
5. Connect the **Merchandise issue #1** step to the **Merchandise issue wait** step.

![Connecting the Merchandise issue 1 step to a wait step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_newsletter_to_wait.png "Connecting the Merchandise issue 1 step to a wait step")

## Adding Send marketing email step #2

Add a step that sends the second marketing email from the newsletter that you created earlier:

1. Place the **Send marketing email** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:
   - **Display name**: Merchandise issue #2
   - **Site**: choose the correct site, _Coffee and Co Merchandise Newsletter_
   - **Email**: choose the correct email, _Coffee Co Merchandise #2_
4. Click **Save** and **Close** the dialog.
5. Connect the **Merchandise issue wait** step to the **Merchandise issue #2** step.

![Connecting the Merchandise issue wait step to the Merchandise issue 2 newsletter step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_wait_step_to_newsletter2.png "Connecting the Merchandise issue wait step to the Merchandise issue 2 newsletter step")

## Adding Wait step #3

Add another **Wait** step into the process to give contacts time to receive the second email:

1. Place the **Wait** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Merchandise issue wait 2
   - **Timeout settings**:Select **Specific interval** and enter **3 days**.You can set a shorter interval for testing purposes (e.g. 3 **minutes**).
4. Click **Save** and **Close**the dialog.
5. Connect the **Merchandise issue #2** step to the **Merchandise issue wait 2** step.

## Adding a Multi-choice step

Add a **Multi-choice step** to decide where the process moves next based on whether the contact clicked on the links in the previous email:

1. Place the **Multi-choice** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Newsletter link decision
   - **User action text:** Choose the next step
   - **User action tooltip:** _Choose whether you want to subscribe the contact to the Coffee Co monthly newsletter or set the contact's status to Prospective client._
4. Click **Save**.

### Modifying the first case

1. Switch to the **Cases** tab.
2. **Edit** () Case 1 and modify the values as follows:

   - **Designer label**: Subscribe to monthly newsletter
   - **User action tooltip:** _Subscribe the contact to the Coffee Co monthly newsletter_
3. Click **Edit** next to the **Condition** field.
4. Add the _Contact has clicked a link in marketing emai&#x6C;_&#x72;ule. Specify the _Coffee Co Merchandise #1 issue_ under the _Coffee Co Merchandise Newsletter_.
5. Confirm by clicking **Save & Close** andclose the dialog.
6. **Save** the changes for the case.

### Modifying the second case

1. **Edit** () Case 2 and modify the values as follows:

   - **Designer label**: Set status to prospective client
   - **User action tooltip:** Set the contact's status to _Prospective client_
2. Click **Edit** next to the **Condition** field.
3. Add the _Contact has clicked a link in marketing email_ rule. Specify the _Coffee Co Merchandise #2 issue_ under _Coffee Co Merchandise Newsletter_.
4. Confirm by clicking **Save & Close** and **OK**.
5. **Save** the changes for the case.

### Configuring security for the Multi-choice step

1. Switch to the **Security** tab.
2. Under _Roles which can move object to different step_, select **Only listed** and your website in the **Select site** drop-down list.
3. Click on **Add roles** and select the **Process administrator** role.
4. Click **Save** and **Close**.
5. Connect the **Merchandise issue wait 2** step to the **Newsletter link decision** step.

The [multi-choice step](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/working-with-the-automation-process-designer/defining-automatic-decisions-in-processes.md) automatically decides how the process continues. Users in the **Process administrator** role can decide how the process continues for contacts that satisfy both conditions (by clicking on both newsletter links). You can modify security for each case separately, but by default both cases inherit the settings of the main step.

![Connecting the Merchandise issue wait 2 step to the Newsletter link decisions step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_wait_step2_to_newsletter_decision.png "Connecting the Merchandise issue wait 2 step to the Newsletter link decisions step")

## Adding an alternative Finished step

Add a Finished step that concludes the marketing process for contacts who don't click any of the newsletter links:

1. Place the **Finished** step onto the grid.
2. Double-click the step's name in the header.
3. Rename the step to **Unsuccessful** and press **Enter**.
4. Connect the ELSE source point (red) of the **Newsletter link decision** step to the **Unsuccessful** step.

![Connecting the Newsletter link decision step to the Unsuccessful finished step](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_newsletter2_step_to_unsuccessful.png "Connecting the Newsletter link decision step to the Unsuccessful finished step")

## Adding a Newsletter subscription step

Add a step that subscribes the contact to the _Coffee Co monthly newsletter_ email feed:

1. Place the **Newsletter subscription** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Merchandise monthly subscription
   - **Newsletter**: Select the _Coffee Co monthly newsletter_
   - **Action**: Subscribe to newsletter
4. Click **Save** and **Close**the dialog.
5. Connect the first source point of the **Newsletter link decision** step to the **Merchandise monthly subscription** step.

## Adding a Set contact status step

Add a step that sets the contact's status to _Prospective client_:

1. Place the **Set contact status** step onto the grid.
2. Edit the step by clicking the pencil icon next to its name.
3. Modify the values as follows:

   - **Display name**: Set status to prospective client
   - **Contact status**: Select _Prospective client_ status
4. Click **Save** and **Close**.
5. Connect the second source point of the **Newsletter link decision** step to the **Set status to prospective client** step.

![Connecting the Newsletter link decision step to two following steps](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_newsletter2.png "Connecting the Newsletter link decision step to two following steps")

## Finishing the process design

You have now finished creating all the necessary steps. You only need to connect the last two steps to the original **Finished** step.

1. Connect the first source point of the **Merchandise monthly subscription** step to the **Finished** step.
2. Connect the first source point of the **Set status to prospective client** step to the **Finished** step.

![Connecting the Finished step to the preceding steps](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/connecting_finished_step.png "Connecting the Finished step to the preceding steps")

The design of the process is now complete.

![The whole marketing automation process](https://docs.kentico.com/docsassets/k11/marketing-automation-walkthrough-designing-the-process/finished_process.png "The whole marketing automation process")

Now that you have finished this part of the walkthrough and created a whole marketing automation process, you can [see the process in action](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/walkthrough-creating-a-marketing-automation-process/marketing-automation-walkthrough-managing-the-process.md).

**Next page**: [Managing the process](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/marketing-automation/walkthrough-creating-a-marketing-automation-process/marketing-automation-walkthrough-managing-the-process.md)
