diff --git a/docs/nodes/nodes-library/core-nodes/Function/README.md b/docs/nodes/nodes-library/core-nodes/Function/README.md index 03ccd5fe6..d721f9581 100644 --- a/docs/nodes/nodes-library/core-nodes/Function/README.md +++ b/docs/nodes/nodes-library/core-nodes/Function/README.md @@ -8,10 +8,10 @@ description: Learn how to use the Function node in n8n The Function node is used to add custom snippets to JavaScript code to transform data from the other nodes or if you want to implement some custom functionality that n8n doesn’t support yet. ::: tip 💡 Keep in mind -Please note that the Function node is different from the [Function Item](../FunctionItem/README.md) node. Check out [this](../../../../reference/function-nodes.md) page to learn about the difference between the Function and Function Item nodes. +Please note that the Function node is different from the [Function Item](../FunctionItem/README.md) node. Check out [this](../../../../getting-started/key-concepts.md#function) page to learn about the difference between the two. ::: -If you want to use the Function node to transform input data, check out how n8n's [data structure](../../../../reference/data/data-structure.md) looks like. The Function node also supports promises. So instead of returning the items directly, it is also possible to return a promise which resolves accordingly. +If you want to use the Function node to transform input data, check out how n8n's [data structure](../../../../getting-started/key-concepts.md#data-structure) looks like. The Function node also supports promises. So instead of returning the items directly, it is also possible to return a promise which resolves accordingly. The Function node also provides the ability to write to your browser console using `console.log`, useful for debugging and troubleshooting your workflows. @@ -54,7 +54,7 @@ You can also use the methods and variables mentioned in the [Expressions](../../ It contains all the items that the node has received as an input. -Information about how the data is structured can be found on [this](../../../../reference/data/data-structure.md) page about data structures. +Information about how the data is structured can be found on [this](../../../../getting-started/key-concepts.md#data-structure) page about data structures. The data can be accessed and manipulated like this: diff --git a/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md b/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md index 64af6d8d3..ce7175d29 100644 --- a/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md +++ b/docs/nodes/nodes-library/core-nodes/FunctionItem/README.md @@ -8,7 +8,7 @@ description: Learn how to use the Function Item node in n8n The Function Item node is used to add custom snippets to JavaScript code that should be executed once for every item that it receives as the input. ::: tip 💡 Keep in mind -Please note that the Function Item node is different from the [Function](../Function/README.md) node. Check out [this](../../../../reference/function-nodes.md) page to learn about the difference between the Function and Function Item nodes. +Please note that the Function Item node is different from the [Function](../Function/README.md) node. Check out [this](../../../../getting-started/key-concepts.md#function) page to learn about the difference between the two. ::: The Function Item node supports promises. So instead of returning the items directly, it is also possible to return a promise which resolves accordingly.