n8n-nodes-xstate
v0.1.1
Published
A custom node package for n8n, providing integration with xstate v5.
Downloads
5
Maintainers
Readme
n8n-nodes-xstate
A custom node package for n8n, providing integration with xstate v5.
Installation
npm install n8n-nodes-xstate
Features
- Manage Finite State Machines (FSM) instances.
- Execute actions on entity instances based on xstate definitions.
- Query FSM instances based on their state and definition.
Usage
- Install the package using npm or yarn.
- Use the provided nodes in your n8n workflow.
- Configure nodes using the provided parameters such as
uuid
,entityName
, andaction
.
Nodes
- XStateExecuteAction: Execute an action on an entity instance and get the previous and current state.
- XStateRetrieveInstances: Retrieve all FSM instances based on their state and definition ID.
- XStateCreateInstance: Create a new FSM instance.
Configuration
Ensure you have the necessary environment variables set up for database connections.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.