This is an n8n community node that lets you integrate Cin7 (DEAR Systems) inventory management with your n8n workflows.
Cin7 is a comprehensive inventory management system that helps businesses manage their stock, sales, customers, and more across multiple channels and locations.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Follow the installation guide in the n8n community nodes documentation.
- Go to Settings > Community Nodes in your n8n instance
- Select Install
- Enter
n8n-nodes-cin7as the npm package name - Select Install
Alternatively, you can install it via npm:
npm install n8n-nodes-cin7-
Clone this repository:
git clone https://github.com/notscottsmith/n8n-nodes-cin7.git cd n8n-nodes-cin7 -
Install dependencies and build:
npm install npm run build
-
Link the package globally:
npm link
-
In your n8n installation directory, link the package:
npm link n8n-nodes-cin7
Use the provided Dockerfile to run n8n with the Cin7 node pre-installed:
# Build the Docker image
docker build -t n8n-with-cin7 .
# Run the container
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
n8n-with-cin7- Get All Products - Retrieve all products from your Cin7 inventory
- Get Product - Get details of a specific product by ID
- Get All Customers - Retrieve all customers from your Cin7 system
- Get Customer - Get details of a specific customer by ID
- Get All Sales - Retrieve all sales from your Cin7 system
- Get Sale - Get details of a specific sale by ID
- Product Created - Triggers when a new product is created
- Product Updated - Triggers when a product is updated
- Customer Created - Triggers when a new customer is created
- Customer Updated - Triggers when a customer is updated
- Sale Order Created - Triggers when a new sale order is created
- Sale Order Updated - Triggers when a sale order is updated
To use this node, you need to set up Cin7 API credentials:
- You need an active Cin7 (DEAR Systems) account
- API access must be enabled for your account
- Log into your Cin7 account at https://inventory.dearsystems.com
- Go to Settings > API
- Generate an Application Key if you don't have one
- Note down your Account ID and Application Key
- In n8n, go to Credentials > New
- Search for "Cin7 API" and select it
- Enter your credentials:
- Account ID: Your Cin7 Account ID
- Application Key: Your Cin7 Application Key
- Test the connection and save
- Minimum n8n version: 0.174.0
- Node.js version: 20.15 or higher
- Tested with: n8n versions 0.220.0+
- Add a Cin7 node to your workflow
- Select Product as the resource
- Choose Get All operation
- Configure your credentials
- Set pagination options if needed
- Add a Cin7 node to your workflow
- Select Trigger as the resource
- Choose Webhook operation
- Select the event you want to listen for
- Configure additional options like signature validation
- Activate the workflow to register the webhook
The node supports various filtering options:
- Modified Since: Get records modified after a specific date
- Status Filtering: Filter sales by status (Draft, Authorised, etc.)
- Pagination: Control the number of results returned
The node includes built-in error handling and will provide meaningful error messages for common issues like:
- Invalid credentials
- Rate limiting
- Network connectivity issues
- Invalid parameters
- n8n community nodes documentation
- Cin7 API Documentation
- Cin7 API Authentication Guide
- GitHub Repository
If you encounter any issues or have questions:
- Check the GitHub Issues
- Review the Cin7 API documentation for parameter requirements
- Ensure your API credentials have the necessary permissions
- Verify your n8n version meets the minimum requirements
