Description
n8n-nodes-kargo-entegrator
This is an n8n community node. It lets you use Kargo Entegratör API in your n8n workflows.
Kargo Entegratör is a Turkish cargo integration platform that allows you to manage shipments across multiple cargo companies from a single interface.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
- Quick Start
- Development Setup
- Docker Environment
- Installation
- Operations
- Credentials
- Scripts
- Compatibility
- Usage
- Resources
- Version History
- License
- Node.js >= 20.15
- npm or yarn
- Docker (optional, for containerized development)
Quick Start
Prerequisites
Local Development
1. Clone and Install
git clone https://github.com/gurmesoft/n8n-nodes-kargo-entegrator.git
cd n8n-nodes-kargo-entegrator
npm install
2. Build the Project
npm run build
3. Start Development
npm run dev
Docker Development (Recommended)
1. Quick Start with Docker
# Build and start development environment
npm run dev:docker
# Access N8N at http://localhost:5678
# Username: admin
# Password: admin123
2. View Logs
npm run dev:docker:logs
3. Stop Environment
npm run dev:docker:stop
Development Setup
Environment Requirements
Project Structure
n8n-nodes-kargo-entegrator/
├── credentials/ # API credentials configuration
├── nodes/ # Node implementations
│ └── KargoEntegrator/
│ ├── *.node.ts # Node logic
│ ├── actions/ # Node actions
│ └── resources/ # Node resources
├── dist/ # Built files (generated)
├── docker-compose*.yml # Docker configurations
└── package.json # Project configuration
Development Workflow
1. Make Changes: Edit TypeScript files in nodes/ or credentials/
2. Build: Run npm run build to compile TypeScript
3. Test: Use Docker environment or local N8N instance
4. Format: Run npm run format to format code
5. Lint: Run npm run lint to check code quality
Docker Environment
Three Docker configurations are available:
1. Development Environment (Recommended)
npm run dev:docker
or
docker-compose -f docker-compose.dev.yml up -d
2. Simple Environment
docker-compose -f docker-compose.simple.yml up -d
3. Production Environment
docker-compose up -d
Docker Commands
Start development environment
npm run dev:dockerView logs
npm run dev:docker:logsRestart services
npm run dev:docker:restartStop environment
npm run dev:docker:stopBuild and restart with live reload
npm run dev:live
Access Information
– User: n8n
– Password: n8n123
– Database: n8n
Scripts
| Script | Description |
|——–|————-|
| npm run build | Build TypeScript and copy icons |
| npm run dev | Watch TypeScript files for changes |
| npm run dev:live | Development with auto-restart |
| npm run dev:docker | Start Docker development environment |
| npm run dev:docker:logs | View Docker logs |
| npm run dev:docker:stop | Stop Docker environment |
| npm run dev:docker:restart | Restart Docker services |
| npm run format | Format code with Prettier |
| npm run lint | Lint code with ESLint |
| npm run lintfix | Fix linting issues automatically |
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Nodes (Recommended)
1. Go to Settings > Community Nodes
2. Select Install
3. Enter n8n-nodes-kargo-entegrator
4. Agree to the risks of using community nodes
5. Select Install
Manual Installation
npm install n8n-nodes-kargo-entegrator
Operations
Shipment
Customer
Cargo
Credentials
To use this node, you need:
1. Sign up for an account at https://app.kargoentegrator.com
2. Get your API key from the dashboard
3. Configure the credentials in n8n:
– API Key: Your Kargo Entegratör API key
– Base URL: https://app.kargoentegrator.com/api (default)
Compatibility
Tested against n8n version 1.0+.
Usage
Creating a Shipment
1. Select “Shipment” as the resource
2. Choose “Create” as the operation
3. Fill in the required fields:
– Receiver name, phone, and address
– City and district
– Cargo company ID
– Package details (weight, count, description)
Managing Returns
Use the “Create Return” operation to create return shipments with the same interface as regular shipments.
Getting Cargo Companies
Use the “Cargo” resource to get information about available cargo companies and their IDs for use in shipment creation.
Resources
Version History
0.1.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For support, please contact [email protected] or visit our website.


