n8n-nodes-current-time v0.1.1
n8n-nodes-current-time
This is a demonstration of an n8n community node showcasing the use of custom nodes as AI Agents. It simply returns the current time. Its creation stemmed from my investigation into why my own custom nodes weren't initially functioning as AI tools. Thankfully, n8n now supports this functionality via an environment variable.
https://github.com/n8n-io/n8n/releases/tag/n8n%401.79.0 https://github.com/n8n-io/n8n/pull/13075
Until this feature is enabled by default, you can set the environment variable N8N_ALLOW_CUSTOM_TRIGGER_NODES_AS_AITOOLS
to true
.
$ cd /path/to/n8n
$ pnpm install
$ pnpm build
$ export N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true && pnpm start
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Compatibility
Usage
Resources
Version history
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
Only one operation - return the current date/time.
Compatibility
This node is compatible with n8n 1.79.0 and above.
Usage
By the time users are looking for community nodes, they probably already know n8n basics. But if you expect new users, you can link to the Try it out documentation to help them get started.
Resources
Version history
Initial release.