0.1.1 • Published 7 months ago

n8n-nodes-xstate v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

  1. Install the package using npm or yarn.
  2. Use the provided nodes in your n8n workflow.
  3. Configure nodes using the provided parameters such as uuid, entityName, and action.

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.

License

MIT

0.1.1

7 months ago

0.1.0

7 months ago