n8n-nodes-statemachine
v0.1.1
Published
A simple state machine refers to a programming concept where an application or workflow is divided into a series of states or steps, and the program progresses from one state to the next based on certain conditions or triggers
Downloads
32
Maintainers
Readme
n8n-nodes-statemachine
n8n "simple" state machine is storing your nodes/workflow state globally or workflow level
What is the state machine?
A state machine refers to a programming concept where an application or workflow is divided into a series of states or steps, and the program progresses from one state to the next based on certain conditions or triggers.
How to install
Community Nodes (Recommended)
- Go to Settings > Community Nodes.
- Select Install.
- Enter
n8n-nodes-statemachine
in Enter npm package name. - Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
- Select Install.
After installing the node, you can use it like any other node. n8n displays the node in search results in the Nodes panel.
Manual installation
To get started install the package in your n8n root directory:
npm install n8n-nodes-statemachine
For Docker-based deployments, add the following line before the font installation command in your n8n Dockerfile:
RUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-statemachine
How to use
- This node has one external depedency is you need a redis service. You can find a free redis service here
- My suggestion is 1 trigger 1 state machine
- Always use error handler node in your workflow
Demo
Working well
Error handling
Errors
If you have any error, please open an issue on Github