# FUNCTION node

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

['Function' node](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/function-node) 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](https://docs.borndigital.ai/digital-agent/building-new-projects).

{% 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](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/function-node), 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](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/function-node) is invoked (useful in ['Decision' node](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/decision-node)).
  * **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](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/function-node) operates as intended.

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