{"product_id":"route-janis-commerce-webhooks-by-event-in-n8n-single-url","title":"Route Janis Commerce Webhooks by Event in n8n (Single URL)","description":"\u003ch3\u003eRoute Janis Commerce Webhooks by Event in n8n (Single URL)\u003c\/h3\u003e\n\u003cp\u003eStop juggling multiple webhook endpoints. This n8n workflow receives \u003cstrong\u003eJanis Commerce webhooks on one URL\u003c\/strong\u003e, fetches the full resource for each event, and \u003cstrong\u003eroutes the payload by event name\u003c\/strong\u003e so you can attach separate automations for orders and catalog-related events.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eThis workflow is designed to be your central Janis Commerce webhook entrypoint:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives any supported Janis Commerce event\u003c\/strong\u003e sent to a single webhook URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches the full resource\u003c\/strong\u003e from the originating Janis service (e.g., an order or product). The output includes an \u003ccode\u003e_event\u003c\/code\u003e metadata block.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes by event name\u003c\/strong\u003e using \u003ccode\u003e_event.eventName\u003c\/code\u003e to matching handler branches.\u003c\/li\u003e\n  \u003cli\u003eProvides \u003cstrong\u003ebasic placeholder handling\u003c\/strong\u003e for sample events (including \u003cem\u003ecanceled\u003c\/em\u003e, \u003cem\u003ereadyForPicking\u003c\/em\u003e, and \u003cem\u003eproductSaved\u003c\/em\u003e) where you can implement your custom logic.\u003c\/li\u003e\n  \u003cli\u003eSends unmatched events to a \u003cstrong\u003ecatch-all branch\u003c\/strong\u003e you can ignore or extend with additional rules.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOrder automation:\u003c\/strong\u003e Trigger different n8n steps when an order is \u003cem\u003ereadyForPicking\u003c\/em\u003e versus when it is \u003cem\u003ecanceled\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCatalog synchronization:\u003c\/strong\u003e Run separate workflows for \u003cem\u003eproductSaved\u003c\/em\u003e events to update your internal product database or downstream services.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSingle webhook strategy:\u003c\/strong\u003e Keep Janis webhook configuration simple by pointing all events to one n8n endpoint.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eJanis trigger node:\u003c\/strong\u003e uses the community node \u003ccode\u003e@janiscommerce\/n8n-nodes-janis-commerce\u003c\/code\u003e with a Janis API credential.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRouting logic:\u003c\/strong\u003e implemented with \u003ccode\u003eswitch\u003c\/code\u003e and \u003ccode\u003eset\u003c\/code\u003e (plus \u003ccode\u003eno op\u003c\/code\u003e placeholders) to branch based on \u003ccode\u003e_event.eventName\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow structure:\u003c\/strong\u003e includes \u003ccode\u003esticky note\u003c\/code\u003e elements for readability.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eInstall \u003ccode\u003e@janiscommerce\/n8n-nodes-janis-commerce\u003c\/code\u003e in n8n (Settings → Community Nodes).\u003c\/li\u003e\n  \u003cli\u003eCreate\/select a Janis Commerce API credential in the Janis trigger node.\u003c\/li\u003e\n  \u003cli\u003eActivate the workflow, copy the generated webhook URL, and configure Janis (OMS\/Catalog\/Pricing\/WMS hooks) to send events to it.\u003c\/li\u003e\n  \u003cli\u003eUpdate routing rules and replace placeholder handler steps with your business actions (HTTP requests, database writes, notifications, etc.).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45869898236083,"sku":"N8N-18413","price":75.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/l5vGmNE0x5KHJ1MZPTR8G_U58QO4Ge.png?v=1787131086","url":"https:\/\/buyflowscripts.com\/products\/route-janis-commerce-webhooks-by-event-in-n8n-single-url","provider":"N8N Commerce","version":"1.0","type":"link"}