zen-engine

Package Information

Released: 6/22/2025
Downloads: 0 weekly / 0 monthly
Latest Version: 1.0.0
Author: ramon.cidade

Documentation

Banner image

n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for n8n. It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and submit it to the npm registry.

If you would like your node to be available on n8n cloud you can also submit your node for verification.

Prerequisites

You need the following installed on your development machine:

  • git
  • Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
  • Install n8n with:
    npm install n8n -g
    
  • Recommended: follow n8n's guide to set up your development environment.

Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the documentation.

  1. Generate a new repository from this template repository.
  2. Clone your new repo:
    git clone https://github.com/<your organization>/<your-repo-name>.git
    
  3. Run npm i to install dependencies.
  4. Open the project in your editor.
  5. Browse the examples in /nodes and /credentials. Modify the examples, or replace them with your own nodes.
  6. Update the package.json to match your details.
  7. Run npm run lint to check for errors or npm run lintfix to automatically fix errors when possible.
  8. Test your node locally. Refer to Run your node locally for guidance.
  9. Replace this README with documentation for your node. Use the README_TEMPLATE to get started.
  10. Update the LICENSE file to use your details.
  11. Publish your package to npm.

Zen Engine Node para n8n

Este nó permite executar regras no formato JSON Decision Model (JDM) utilizando a Zen Engine (GoRules) diretamente em workflows do n8n.

Funcionalidades

  • Recebe regras (JDM) em JSON
  • Recebe dados de entrada em JSON
  • Executa as regras usando a Zen Engine
  • Retorna o resultado da execução

Parâmetros

  • Rules: Definição das regras no formato JDM (JSON)
  • Input Data: Dados de entrada para avaliação das regras (JSON)

Exemplo de uso

  1. Adicione o nó "Zen Engine" ao seu workflow
  2. Informe as regras e o input desejado
  3. O resultado será retornado como saída do nó

Sobre o Zen Engine

Mais informações: https://gorules.io


Desenvolvido para integração nativa de regras de negócio no n8n.

License

MIT

Discussion