Skip to content

stupidguy176/n8n-nodes-zalo-toolkit

Repository files navigation

Docs

https://docs.n8n.io/integrations/creating-nodes/overview/ https://developers.zalo.me/docs https://github.com/ChickenAI/zalo-node https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node/#test-your-node

Step to run

In repo

sudo npm install n8n -g
pnpm install
pnpm run build
pnpm link

In n8n local

cd ~/.n8n
mkdir custom
cd custom
npm init
pnpm link n8n-nodes-zalo
n8n start

Plan your node

  • node types: webhook
  • Choose your node building approach: declarative
  • Design your node's user interface

node building styles

declarative style:

https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node

programmatic style:

https://docs.n8n.io/integrations/creating-nodes/build/programmatic-style-node

https://docs.n8n.io/integrations/creating-nodes/build/reference/node-file-structure/#a-best-practice-example-for-programmatic-nodes

Summary

The programmatic style requires an execute() method The declarative style handles this using the routing key in the operations object.

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.

More information

Refer to our documentation on creating nodes for detailed information on building your own nodes.

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published