{"product_id":"n8n-webhook-workflow-office-open-status-by-custom-schedule","title":"n8n Webhook Workflow: Office Open Status by Custom Schedule","description":"\u003ch3\u003eGet Instant “Office Open\/Closed” Answers via an n8n Webhook\u003c\/h3\u003e\n\u003cp\u003eThis n8n Webhook workflow tells you whether your office is currently \u003cstrong\u003eopen or closed\u003c\/strong\u003e—using a weekly schedule, optional full-day closed dates, overnight hours, and your office’s \u003cstrong\u003eIANA time zone\u003c\/strong\u003e. Send an authenticated POST request and receive a clear JSON response.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives an authenticated POST\u003c\/strong\u003e request using an \u003cem\u003en8n Webhook\u003c\/em\u003e (Webhook Header Auth credential).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads office configuration\u003c\/strong\u003e, including:\n    \u003cul\u003e\n      \u003cli\u003eYour \u003cstrong\u003eIANA time zone\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003eWeekly opening intervals by weekday\u003c\/li\u003e\n      \u003cli\u003eAn optional list of \u003cstrong\u003eclosed dates\u003c\/strong\u003e (YYYY-MM-DD)\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates local date\/time\u003c\/strong\u003e in the configured time zone.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetermines open status\u003c\/strong\u003e by checking:\n    \u003cul\u003e\n      \u003cli\u003eToday’s scheduled intervals\u003c\/li\u003e\n      \u003cli\u003eAny \u003cstrong\u003eovernight interval\u003c\/strong\u003e from the previous day\u003c\/li\u003e\n      \u003cli\u003eAny \u003cstrong\u003efull-day closure\u003c\/strong\u003e date\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns JSON\u003c\/strong\u003e including open\/closed status, local timestamp fields, today’s hours, and closure indicators.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePower an automated “Office Status” check for your customer support app or website widget.\u003c\/li\u003e\n  \u003cli\u003eRoute calls\/chats differently when the office is open vs. closed, including overnight coverage.\u003c\/li\u003e\n  \u003cli\u003eDisable or label holiday responses using YYYY-MM-DD closed dates—without changing code.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e node for the endpoint (authenticated via \u003cstrong\u003eWebhook Header Auth\u003c\/strong\u003e credential).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e node to calculate local time, apply weekly intervals, handle overnight logic, and evaluate closed dates.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSticky Note\u003c\/strong\u003e for workflow guidance.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRespond to Webhook\u003c\/strong\u003e node to return the JSON result.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eSetup note:\u003c\/strong\u003e Replace \u003ccode\u003eYOUR_TIME_ZONE\u003c\/code\u003e with your IANA time zone, configure weekly hours, add closed dates, then test scenarios (open\/closed\/overnight\/closure) before activation.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46159503229107,"sku":"N8N-20391","price":68.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/tQDQI6RTT_U9wWuGdhcvC_61RWuIeg.png?v=1791104701","url":"https:\/\/buyflowscripts.com\/products\/n8n-webhook-workflow-office-open-status-by-custom-schedule","provider":"N8N Commerce","version":"1.0","type":"link"}