# Step 3. - Adding the AI node

Now, our customer crossed the function node second time and he/she is ready to continue in flow. Starting with simple - "How can I help you today?" and connecting it to simple setup Generative AI node with purpose to answer the topic.&#x20;

Make sure you checked -> Execute after message is played - to wait for a client response. Continue with making other nodes asking the T/F question reqarding other customer´s questions or topics to discuss.

<figure><img src="/files/6Cd7TE4BBUusHhVsIV7Y" alt=""><figcaption><p>Step 3. - Adding the AI node</p></figcaption></figure>

<details>

<summary>Step-by-step guide</summary>

1. Establish a fallback option from the ***'Decision' node*** (Else) as a new ***'Message' node***.
2. Prompt the user with a simple query - "How can I help you today?"
3. Ensure the *'Execute'* option in advanced settings is checked to ensure the flow operates correctly.
4. Create a connected ***'Generative AI' node*** with a straightforward prompt to address the user's query.
5. Generate a ***'Message' node*** prompting the user to respond with True/False regarding any additional questions.

</details>

{% hint style="info" %}
The *'Execute after message is played'* feature signifies a brief pause in the conversation, awaiting the customer's input within our chat bubble. Technically, it triggers the post-event immediately after the node's completion, enhancing the conversational flow by synchronizing responses with user interactions.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.borndigital.ai/digital-agent/building-new-projects/advanced-project/step-3.-adding-the-ai-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
