> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/digital-agent/building-new-projects/step-2-welcome-and-wait-for-a-message.md).

# Step 2 – Welcome the customer and wait for a message

Add a welcome message, an Answer node that waits for the customer, and a goodbye path that ends the conversation.

## Add the welcome message

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-3e6631b61ae0a15be2f694ecdbec231812477621%2Ftutorial-step2-add-node.gif?alt=media" alt="Animation: hovering over the arrow next to START opens a column of node icons; clicking the grey Message icon adds a connected Message node"><figcaption><p>Adding a node with the arrow next to START</p></figcaption></figure>

1. Hover over the **START** node, then over the arrow that appears on its right. A column of node icons opens – choose the first one, **Message** (the grey square). Studio creates a Message node that is already connected to START.
2. Double-click the new node to open it.
3. The **Name** field in the header is ready for typing: enter `WELCOME` and press Enter. Studio adds the `MSG_` prefix, so the node is called `MSG_WELCOME`. To rename a node later, use the pencil icon next to its name.
4. In **Message**, type the welcome text, for example:

   > Hi, I'm your digital assistant. Ask me anything – and say goodbye when you're done.

   The same text is shown in the chat and read aloud in calls. If you want them to differ, turn on **Split** to get separate **Text** and **Speech** fields.
5. Close the node.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-7723943c61c2b7257daea1c33137bbbfca66d090%2Ftutorial-step2-welcome-message.png?alt=media" alt="The MSG_WELCOME node open, with its name and pencil icon in the header and the welcome text in the Message field"><figcaption><p>The welcome message in MSG_WELCOME</p></figcaption></figure>

## Add the Answer node

The Answer node waits for the customer's message and decides where to go next.

1. Hover over the arrow next to **MSG\_WELCOME** and choose **Answer** (the orange icon). Open the new node and name it `MAIN` – Studio adds the `ANS_` prefix, so it is called `ANS_MAIN`.
2. In **ANS\_MAIN**, go to the **Intents** tab. Click **Add intent** and choose **Keywords**.
3. Name the intent `GOODBYE` and add the keywords `bye`, `goodbye` and `thank you` – type each one and press Enter.
4. Turn on **Chat button** and enter the **Label** `Goodbye`. In the chat, the customer can now also click a button.
5. Click the intent's **Next** field. Under **Create a new node**, choose **Message** (the grey icon).

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-7e76f10b662b3908e9ff91957e7ea85f2605ade3%2Ftutorial-step2-goodbye-intent.png?alt=media" alt="The Intents tab of ANS_MAIN with a Keywords intent named GOODBYE, the keywords bye, goodbye and thank you, and Chat button turned on with the label Goodbye"><figcaption><p>The GOODBYE intent with a chat button</p></figcaption></figure>

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-2a10a1a2df2faa4be9135e5c71c0458799d8b153%2Ftutorial-step2-create-new-node.png?alt=media" alt="The Next field of the GOODBYE intent opened: Create a new node with a row of node icons, the Message icon highlighted, and the existing nodes listed below"><figcaption><p>Creating the next node directly from the Next field</p></figcaption></figure>

When you close an Answer node for the first time, Studio adds an **END\_HANGUP** node. It ends the conversation when a caller hangs up or the chat window is closed – leave it in place.

## Say goodbye and end

Studio opens the new Message node right away.

1. Name it `GOODBYE` (Studio makes it `MSG_GOODBYE`) and type the message, for example: *"Thank you for chatting with us. Goodbye!"*
2. Click its **Next** field and choose **End** (the last icon) under **Create a new node**. Name the End node `DONE` – it becomes `END_DONE`. The End node needs no settings – it finishes the conversation.
3. Close the node and click **Save** in the bottom bar.

Your flow now looks like this:

```
START → MSG_WELCOME → ANS_MAIN ─ GOODBYE ─→ MSG_GOODBYE → END_DONE
```

{% hint style="warning" %}
**ANS\_MAIN** still has an empty **Fallback** – the path for every message that is not a goodbye. You fill it in the next step. Don't train yet: training fails while any **Next** is empty.
{% endhint %}

Learn more: [MESSAGE node](/digital-agent/conversation-flow/nodes-explained/message-node.md), [ANSWER node](/digital-agent/conversation-flow/nodes-explained/answer-node.md), [START / END nodes](/digital-agent/conversation-flow/nodes-explained/start-end-nodes.md).

Next: [Step 3 – Answer questions with AI](/digital-agent/building-new-projects/step-3-answer-questions-with-ai.md)
