n8n-nodes-vitepos-bridge
v0.1.12
Published
n8n community node for the VitePOS automation bridge and analytics endpoints.
Maintainers
Readme
n8n VitePOS Bridge Node
Private n8n community node package for the VitePOS automation bridge WordPress plugin and the VitePOS Profit & Loss analytics plugin.
What It Adds
- A
VitePOS Bridge APIcredential in n8n. - A
VitePOS Bridgeaction node. - Operations for health, manifest, WhatsApp admin checks, product/customer/vendor list/get/update/upserts, order list/get/create, purchase list/get/receiving, batch status, batch updates, and analytics.
- No-code field mode for products, customers, vendors, orders, purchases, purchase batches, batch allocation, and analytics filters.
- A raw request operation for bridge endpoints added later.
Credential Fields
WordPress Site URL: for examplehttps://example.comWordPress Username: a WordPress user with WooCommerce management accessWordPress Application Password: the WP Application Password for that user
Recommended WhatsApp Flow
- Start with your WhatsApp trigger or Meta webhook.
- Add
VitePOS Bridge. - Choose
WhatsApp->Check Admin Sender. - Set
wa_idto the incoming sender ID, usuallycontacts[0].wa_idfrom Meta webhooks. - Add an IF node checking
data.allowedif the bridge response is wrapped, orallowedif you enable simplified response handling later. - Only route allowed admin senders to batch, expiry, cost, and analytics actions.
No-Code VitePOS Actions
Most write operations default to Use Fields, so you can build workflows without writing JSON:
Order -> Create Order: add customer details and repeatable order items. WhatsApp orders default to FEFO batch allocation so the customer never chooses expiry dates.Product,Customer,Vendor,Order, andPurchase->ListorGet: fetch records directly from the bridge without using Raw Request.Customer -> List Customerscan search by customer name, first name, last name, email, or phone across all WordPress roles by default, which covers VitePOS customers saved as subscribers.Order -> List Orderscan filter by customer name/phone/email plus Product ID/SKU/Variation ID/Product Search and returnsmatching_line_itemsplusmatched_quantity.Purchase -> List Purchasescan filter by Product ID/SKU/Variation ID or Product Search and returnsmatching_itemsplusmatched_quantity.Purchase -> Create Purchase: add vendor/outlet fields and repeatable purchase items withBatch No,Expiry Date,Purchase Cost,Sale Price, and quantity.Batch -> Get Batch Status: find expired, near-expiry, valid, and no-expiry batches using product/outlet filters.Analytics -> Get Summary,Get Product Leaderboard,Get Product Analytics, orSync Woo Dashboard: use date range, month, product, category, customer, order status, sort, and limit fields.
Use Advanced JSON only when you need custom payloads beyond the normal fields.
Install From n8n UI
After this package is published to npm, install it from self-hosted n8n without SSH:
- Open n8n as an owner/admin user.
- Go to
Settings->Community Nodes. - Select
Install. - Enter the package name:
n8n-nodes-vitepos-bridgeTo pin a specific version:
[email protected]- Confirm the community node warning and install.
- Restart n8n if your instance asks for it.
- Search for
VitePOS Bridgein the node picker.
Publish To npm Through GitHub
This repo includes .github/workflows/publish.yml.
One-time setup:
- Create a GitHub repo for this package.
- Replace
YOUR_GITHUB_USERNAMEinpackage.jsonwith the repo owner. - Push this package folder to the repo.
- Create an npm access token with publish permission.
- Add it to the GitHub repo secrets as
NPM_TOKEN. - Create a GitHub release for the current package version, or run the
Publish to npmworkflow manually.
The package name n8n-nodes-vitepos-bridge must be available on npm at publish time.
Manual Self-Hosted Install
For a private Docker install, copy this package into the n8n container/image and install it where n8n loads community nodes. If your n8n setup uses the custom nodes folder, copy the compiled dist/credentials and dist/nodes folders into ~/.n8n/custom/.
For a global npm install of n8n, install this package in the same Node environment as n8n:
npm install /path/to/n8n-nodes-vitepos-bridgeRestart n8n after installing. Then search for VitePOS Bridge in the n8n node picker.
