Description
n8n-nodes-serb2b

This is an n8n community node for SerB2B e-commerce platform. It lets you use SerB2B in your n8n workflows.
SerB2B is a comprehensive B2B e-commerce platform that provides APIs for managing orders, products, customers, and more.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
SerB2B Trigger
Triggers workflows when events occur in SerB2B:
- Order events (create, update, delete)
- Product events (create, delete)
- Customer events (create, delete, approve)
- Supplier events (create, delete, approve, decline, quantity change)
- Marketplace events (create, price approved)
SerB2B Node
Performs actions in SerB2B:
Customer
- Create customer
- Delete customer
- Get customer
- Get all customers
- Update customer
Order
- Create order
- Delete order
- Get order
- Get all orders
- Update order
Product
- Create product
- Delete product
- Get product
- Get all products
- Update product
Category
- Get category
- Get all categories
Brand
- Get brand
- Get all brands
Credentials
You need the following credentials for this node:
- API Token: Your SerB2B API token (available in Admin Panel > Settings > API Settings)
- Domain: Your SerB2B instance URL (e.g., https://your-domain.com)
Getting API Token
- Login to your SerB2B admin panel
- Navigate to Settings > API Settings
- Copy your API token
- In n8n, create new credentials and paste the token
Compatibility
- n8n version 0.170.0 or later
- SerB2B platform with API access
Usage
Example 1: Order Processing Workflow
SerB2B Trigger (Order Created) → Email Node → Slack Node
This workflow:
- Triggers when a new order is created
- Sends an email notification
- Posts a message to Slack
Example 2: Product Management
Schedule Trigger → SerB2B Node (Get All Products) → Filter Node → SerB2B Node (Update Product)
This workflow:
- Runs daily at 9 AM
- Gets all products from SerB2B
- Filters products with low stock
- Updates product status
Example 3: Customer Onboarding
SerB2B Trigger (Customer Created) → SerB2B Node (Get Customer) → Email Node → CRM Node
This workflow:
- Triggers when a new customer registers
- Gets customer details
- Sends welcome email
- Adds customer to CRM
Webhook Setup
The SerB2B Trigger node automatically manages webhooks:
- Creates webhooks when workflow is activated
- Deletes webhooks when workflow is deactivated
- No manual webhook management needed
Event Data Format
Order Events
{
"event": "orders/create",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": 12345,
"order_number": "ORD-12345",
"customer_id": 123,
"customer_name": "John Doe",
"total": 299.99,
"items_count": 3
}
}
Product Events
{
"event": "products/create",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": 456,
"name": "Product Name",
"code": "PROD001",
"price": 99.99,
"stock": 100
}
}
Customer Events
{
"event": "customers/create",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": 789,
"name": "Jane Doe",
"email": "jane@example.com",
"company": "ACME Corp"
}
}
Error Handling
The node provides detailed error messages for common issues:
- Invalid API credentials
- Network connectivity problems
- Invalid data formats
- Rate limiting
Rate Limits
SerB2B API has the following rate limits:
- 1000 requests per hour per API token
- Webhooks are processed asynchronously
Security
- API tokens are securely stored in n8n credentials
- Webhook signatures are verified using HMAC-SHA256
- All API requests use HTTPS
Support
For support with this n8n node:
- Check the n8n community forum
- Review SerB2B API documentation
- Contact SerB2B technical support
Development
To contribute to this node:
- Clone the repository
- Install dependencies:
npm install - Build the node:
npm run build - Test locally in n8n