---
schema_version: "1"
id: fa4afe59f6ca18ff35a59091e5ff276d58aaf83f019ed949d6bb595aa6fb37df
title: Step 4. Design the BPMN Diagram for the Automation
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-home/automation-tutorial-design.md
canonical_url: https://docs.mulesoft.com/rpa-home/automation-tutorial-design
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 48c5e6fa68bcbc5920cb89f073c9b64bf1e993254ce915fa32982c62163c53e8
description: MuleSoft Documentation Site
latest: true
---
---
product: RPA
---

# Step 4. Design the BPMN Diagram for the Automation

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

After creating a new automation project, you can start designing the BPMN diagram for the process to
automate. You can create the diagram manually or by using the RPA Recorder, which records your
actions, creates each corresponding step in the diagram, and generates the action steps based on
your mouse and keyboard interactions.

## Step 4.1: Open the Project for Editing and Start RPA Recorder

Follow these steps to edit your process BPMN diagram using RPA Recorder:

1.  In the navigation panel of RPA Manager, click the **My RPA** module.

2.  Click **My Backlog**.

3.  Search for the **MuleSoft newsletter sign-up** project in the process list and click the **Open
    process** (![The open process icon](/mulesoft/current/en-us/rpa-home/_images/open-process.png)) button.

4.  In the **Automation** panel, click the **Record BPMN**
    (![The record process icon](/mulesoft/current/en-us/rpa-home/_images/record-process.png)) button.

    ![The Record BPMN button inside the Automation Panel](/mulesoft/current/en-us/rpa-home/_images/automation-panel-recording.png)

    If you see a pop-up window asking for permission, select the checkbox to allow RPA Manager to
    open RPA Recorder and click **Open**.

5.  Provide your RPA Manager user account password and click **Login**.

## Step 4.2: Record Activity Steps with RPA Recorder

After you log in to RPA Recorder, you can start the activity recording process. In this process, you
alternate between adding activity steps in RPA Recorder and performing the actual actions in your
computer that you want to record and include in the BPMN diagram. This procedure continues until you
perform the last action and finish the recording.

### Before you Begin Recording the Process

To prevent issues during the tutorial, before you start with the recording steps:

1.  Navigate to
    [https://blogs.mulesoft.com/signup-for-our-newsletter/](https://blogs.mulesoft.com/signup-for-our-newsletter/).

2.  If a Cookie Consent pop-up shows, accept the cookies.

Performing this action prevents the pop-up from showing during the next steps of the automation
tutorial, which could prevent you from finishing the process successfully.

### Start the Recording

To record actions with RPA Recorder and create the BPMN diagram, follow these steps:

1.  In RPA Recorder, click the **Start Recording**
    (![The start recording icon](/mulesoft/current/en-us/rpa-home/_images/start-recording.png)) button and add the first activity
    step:

    1.  In the **activity name** field, write `Open newsletter sign-up page`.

    2.  In the drop down menu, select **Web task**.

    3.  Click **Add**.

    4.  In the browser session that opens, navigate to
        `https://blogs.mulesoft.com/signup-for-our-newsletter/`.

2.  In the RPA Recorder panel, click the **Add activity**
    (![The add activity icon](/mulesoft/current/en-us/rpa-home/_images/add-activity.png)) button and add a new activity step:

    ![The recorder panel of RPA Recorder](/mulesoft/current/en-us/rpa-home/_images/rpa-recorder-panel.png)

    1.  Write `Sign-up for newsletter` in the activity name field.

    2.  In the drop down menu, select **Web task**.

    3.  Select the **Continue with already existing web session** checkbox.

        This option creates the `generatedWebSession1` Action Parameter, which enables you to
        continue using the same web session in subsequent Web tasks. You can also reference this
        parameter when you create new action steps during the build phase in RPA Builder.

    4.  Click **Add**

    5.  In the sign-up page, provide an email address of your choice and click **Sign up**.

3.  In the RPA Recorder panel, click the **Stop recording**
    (![The stop recording icon](/mulesoft/current/en-us/rpa-home/_images/stop-recording.png)) button.

4.  Confirm that RPA Recorder generates a BPMN diagram as follows:

    ![A BPMN diagram with two steps](/mulesoft/current/en-us/rpa-home/_images/newsletter-bpmn-diagram.png)

After you finish the recording process, upload the newly-created BPMN diagram to RPA Manager to
update the model of your current automation project.

## Step 4.3: Upload the BPMN Diagram to RPA Manager

Follow these steps to upload the BPMN diagram created with RPA Recorder to RPA Manager:

1.  In **RPA Recorder**, click the **Edit, Merge and Upload Recordings**
    (![The edit, merge and upload icon](/mulesoft/current/en-us/rpa-home/_images/edit.png)) button.

2.  In the **Automation** panel, click the **Save** (![The save icon](/mulesoft/current/en-us/rpa-home/_images/save.png)) button.

3.  Write `MuleSoft Newsletter` in the **Process name** field and click **Save**.

4.  Click the **Upload to server** (![The upload to server icon](/mulesoft/current/en-us/rpa-home/_images/upload-to-server.png))
    button.

5.  In the confirmation window that shows after the upload finishes successfully, Click **OK**.

    ![The BPMN upload confirmation message](/mulesoft/current/en-us/rpa-home/_images/bpmn-upload-successful.png)

6.  Close the **RPA Recording Editor** window.

7.  Close the **RPA Recorder** window.

8.  Return to RPA Manager and refresh the browser page.

9.  Click **Publish**.

    ![The Publish button](/mulesoft/current/en-us/rpa-home/_images/publish-button.png)

10. Click the confirmation checkbox and then click **Release to Build**.

## Next Steps

Now that you’ve created a BPMN diagram for your automation project and published it, it’s time to
move to the build phase, in which you can edit the diagram and specify the actions to execute for
each action step.

Continue with [Step 5: Build the automation from the BPMN diagram](https://docs.mulesoft.com/rpa-home/automation-tutorial-build)

## See Also

- [Installing and Starting RPA Recorder](https://docs.mulesoft.com/rpa-recorder/latest/getting-started)

- [Process Recording Editor](https://docs.mulesoft.com/rpa-recorder/latest/process-rec-editor)

- [Design a Process Model](https://docs.mulesoft.com/rpa-manager/processautomation-develop)
