> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/utilities/custom-js-function.md).

# Custom JS Function

Similar to a Tool, you can write custom JS functions that can be executed as independent nodes withing Tailwinds.

{% hint style="info" %}
You can pass in variables using the {{variableName}} keyword. Note, you cannot easily test this and you will need to execute your entire flow to validate. This is a known issue.
{% endhint %}

<figure><img src="https://662370747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VoWwSsyrEg0DEvIIjv9%2Fuploads%2Fgit-blob-2643724fb414687d076dc8bbae3811a4d0acbf2b%2Fimage%20(9)%20(1).png?alt=media" alt="" width="311"><figcaption><p>Custom JS Function Node</p></figcaption></figure>

{% hint style="info" %}
This section is a work in progress. We appreciate any help you can provide in completing this section. Please check our [Contribution Guide](https://github.com/innovativeSol/tailwinds-docs/blob/main/CONTRIBUTING.md) to get started.
{% endhint %}
