> 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/conversation-flow/nodes-explained/function-node.md).

# FUNCTION node

The 'Function' node serves various purposes, allowing for the execution of multiple functions and interactions with backend systems.

Here's an overview of the function node configuration tab and some practical use cases:

['Function' node](/digital-agent/conversation-flow/nodes-explained/function-node.md) are versatile and can perform various tasks, including retrieving, posting, or manipulating information from backend systems. To see practical examples, refer to the chapter [Creating Your First Virtual Assistant](/digital-agent/building-new-projects.md).

{% hint style="info" %}
Learn more about smart funcitions here -> <https://smart.borndigital.ai/>&#x20;
{% endhint %}

{% hint style="warning" %}
We will update the UX/UI of the variable dialog in near future. Stay updated!
{% endhint %}

Within this overview of the ['Function' node](/digital-agent/conversation-flow/nodes-explained/function-node.md), let's explore two distinct types of using the function variable:

* **Smart Functions:** These are programmed to execute specific functions, such as retrieving a particular name, fetching specific data from your sources, or obtaining the current date.
  * **Example:** *'Now'* - a smart function that returns the current date.
  * **Example:** *'County'* - a smart function that tracks the number of times the ['Function' node](/digital-agent/conversation-flow/nodes-explained/function-node.md) is invoked (useful in ['Decision' node](/digital-agent/conversation-flow/nodes-explained/decision-node.md)).
  * **Example:** *'Value'* - represents a static value predefined within the node.

<figure><img src="https://content.gitbook.com/content/6iQTvxgRZRwPS1NgIGEb/blobs/8iZZ0a2aqMWmXxa8jtHo/BD_Ax_Function_node.gif" alt=""><figcaption><p>Function node in nutshell</p></figcaption></figure>

Note the importance of the order of smart functions, as this dictates their execution sequence. Follow a 'first-things-first' approach to ensure the ['Function' node](/digital-agent/conversation-flow/nodes-explained/function-node.md) operates as intended.

{% hint style="info" %}
In this overview, the target node remains empty. Ensure you connect another node after the ['Function' node](/digital-agent/conversation-flow/nodes-explained/function-node.md) to continue the flow effectively.
{% endhint %}
