π Organize VNTANA showroom assets by style and color via webhook and CSV report
β‘ 6 views Β· π File Management
Description
Quick overview
This workflow receives a VNTANA showroom event (or a manual UUID) via webhook, fetches the showroom, validates naming and metadata rules, reorganizes products into ordered groups, updates the showroom in VNTANA, and returns a CSV report of the new layout.
How it works
- Receives a POST webhook containing either a
showroomUuidfield or a VNTANA showroom event payload withshowroom.uuid. - Validates and extracts the showroom UUID from the request body.
- Calls the VNTANA API to fetch the full showroom details and product list.
- Enforces organization rules by requiring a
Styleattribute on every product, a<style>_<color>.extfilename pattern, and unique color codes within each style group, then builds grouped and sorted ordering data. - Updates the same showroom in VNTANA by writing the computed groups and per-product order back via the API.
- Generates a CSV βreceiptβ listing each asset UUID, name, assigned group, and order, and returns it as a downloadable file in the webhook response.
Setup
- Create and configure a VNTANA API credential in n8n and assign it to the VNTANA API requests.
- Ensure showroom assets in VNTANA have a non-empty
Styleattribute and follow the<style>_<color>.extnaming pattern with unique color codes per style. - If triggering from VNTANA, register a VNTANA webhook that POSTs the showroom event to this workflowβs webhook URL, or manually POST
{ "showroomUuid": "..." }to test.
π Nodes Used
HTTP Request, Webhook
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File