n8n-nodes-4geeks
v0.2.3
Published
4Geeks lets you manage a coding school.
Maintainers
Keywords
Readme
n8n community node integration for 4Geeks
Make sure you have the n8n cli installed: $ npm install -g @n8n/node-cli
n8n is a fair-code licensed workflow automation platform. This is the installation guide for new community nodes documentation.
This is what you normally do next:
# Install dependencies
npm install # or you can use yarn
# Compile the files to update the dev instance
npm run build
# Run the dev n8n instance
npm run devAdding new triggers
To add a new trigger, create a TypeScript file in nodes/BreathecodeTrigger/triggers/ that exports a BreathecodeEventDefinition object.
Each trigger must define an event name (the one we create in our API), label, description and if you want filters, add properties and a filter function that returns true when the webhook should be processed. Optionally, include a transform function to modify the payload before it's sent to the workflow. Finally, import and add your trigger to the array in triggers/index.ts.
Seeing your changes in our n8n instance
They must be pulled from the Digital Ocean instance's droplet launch console.
# Pull the changes
cd n8n-docker-caddy/n8n-nodes-4geeks
git pull origin main
# Rebuild the docker image
cd ..
docker compose build n8n
docker compose down
docker compose up -d