salespoint

Official n8n community node for Laravel Sales Point (Lebozone) POS & E-commerce

Package Information

Released: 2 mo ago
Downloads: 0 weeklyΒ /Β 0 monthly
Latest Version: 1.0.1

Documentation

n8n-nodes-salespoint

This is an official n8n community node package for Laravel Sales Point (Lebozone) POS & E-commerce platform.

It allows you to automate customers, orders, products, and WhatsApp Bot / Address Flows directly within your n8n workflows.


πŸ“¦ Features & Capabilities

⚑ 1. Action Node: Sales Point

  • Customer Resource:
    • Lookup Profile & Orders: Find customer details and recent order history by phone number.
    • Get Customer: Retrieve customer account details.
    • Create or Update: Register or update customer accounts.
  • Order Resource:
    • Get Status: Retrieve order status and line items by receipt ID or phone.
    • Create Order: Create new POS or delivery order with customer details, province/city/town address, and line items.
    • Update Status: Change fulfillment status (Pending, Processing, Completed, Cancelled).
  • Product Resource:
    • Search Catalog: Search product catalog by keyword, SKU, or category.
    • Get Product: Get details of a single product.
  • WhatsApp Flow Resource:
    • Format Address Response: Formats dynamic Lebanese address data (province, city, town, building_floor, street_address) into human-readable strings.
  • Store Resource:
    • Get Info: Retrieve store contact info, currency, and business hours.

πŸ”” 2. Trigger Node: Sales Point Trigger

Automated real-time event triggers:

  • Order Created: Triggers immediately when a new order is placed.
  • Order Status Changed: Triggers when an order status updates.
  • Customer Created: Triggers when a new customer registers.
  • WhatsApp Flow Submitted: Triggers when a customer completes their address in Meta WhatsApp Flow.

πŸ› οΈ Installation in Self-Hosted n8n

Option A: Install from Local Directory or Tarball

# 1. Build package
cd packages/n8n-nodes-salespoint
npm run build
npm pack # Creates n8n-nodes-salespoint-1.0.0.tgz

# 2. Install inside your n8n directory
npm install /path/to/n8n-nodes-salespoint-1.0.0.tgz

Option B: Docker Volume / Custom Nodes Folder

Copy the built dist folder into your n8n custom nodes directory (~/.n8n/custom/) and set:

N8N_CUSTOM_EXTENSIONS=/home/node/.n8n/custom

πŸ”‘ Credentials Setup

  1. In n8n, create a new Sales Point API credential.
  2. Enter your Base URL (e.g. https://example.com).
  3. Enter your API Token (generated from Sales Point -> Settings -> API).

Discussion