A custom node package for n8n, providing integration with xstate v5.
npm install n8n-nodes-xstate
- Manage Finite State Machines (FSM) instances.
- Execute actions on entity instances based on xstate definitions.
- Query FSM instances based on their state and definition.
- 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
.
- 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.
Ensure you have the necessary environment variables set up for database connections.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.