# Step 5. - Finalizing the Project

Let's establish a simple TRUE/FALSE logic based on the customer's response to showcase a basic logic example in your application:

* "YES" intent loops back to the generative AI node.
* "NO" intent leads to ending the conversation.

{% hint style="warning" %}
Make sure you have properly setup the hangup (when the user is still on the call) and fallback (backing scenario)
{% endhint %}

<figure><img src="https://content.gitbook.com/content/6iQTvxgRZRwPS1NgIGEb/blobs/6igf1HvPzK7jNZRKTVZq/BD_5x_finishing.gif" alt=""><figcaption><p>Step 5. - Finalizing the Project</p></figcaption></figure>

<details>

<summary>Step by step</summary>

1. Create an ending node for the "NO" intent.
2. Generate a new message node, "Please write your answer below," connected to the generative AI node for the "YES" intent.
3. Connect the "Fallback" to the newly created message node.
4. For "Hangup," immediately end the call.

</details>

{% hint style="info" %}
You can create an infinite loop by arranging 'yes/no' questions to return to the same node (avoiding the call end).
{% 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-5.-finalizing-the-project.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.
