{"name":"Community Weekly Challenge 06: The Support Queue starter","active":false,"nodes":[{"id":"c06a0000-0000-4000-8000-000000000001","name":"Start","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"parameters":{},"position":[0,192]},{"id":"c06a0000-0000-4000-8000-000000000005","name":"Settings","type":"n8n-nodes-base.set","typeVersion":3.4,"parameters":{"mode":"manual","assignments":{"assignments":[{"id":"c06a0000-0000-4000-8000-000000000002","name":"username","value":"","type":"string"},{"id":"c06a0000-0000-4000-8000-000000000003","name":"key","value":"","type":"string"},{"id":"c06a0000-0000-4000-8000-000000000004","name":"base","value":"https://marketing.app.n8n.cloud/webhook/cwc/challenge-06","type":"string"}]},"includeOtherFields":false,"options":{}},"position":[224,192]},{"id":"c06a0000-0000-4000-8000-000000000006","name":"Get tickets","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"parameters":{"method":"GET","url":"={{ $('Settings').first().json.base + '/data' }}","sendQuery":true,"queryParameters":{"parameters":[{"name":"file","value":"tickets"},{"name":"username","value":"={{ $('Settings').first().json.username }}"}]},"sendHeaders":true,"headerParameters":{"parameters":[{"name":"x-participant-key","value":"={{ $('Settings').first().json.key }}"}]},"options":{"response":{"response":{"responseFormat":"json"}}}},"position":[448,192],"notes":"Shared data source for both questions. Method: GET. Permanent URL: https://marketing.app.n8n.cloud/webhook/cwc/challenge-06/data. Query: file=tickets and username from Settings. Header: x-participant-key from Settings.key. Response: an object containing rows, split by Ticket rows. HTTP Authentication stays None. No second question-specific data request is required."},{"id":"c06a0000-0000-4000-8000-000000000007","name":"Ticket rows","type":"n8n-nodes-base.splitOut","typeVersion":1,"parameters":{"fieldToSplitOut":"rows","include":"noOtherFields","options":{}},"position":[672,192]},{"id":"c06a0000-0000-4000-8000-000000000009","name":"Question 1 answer","type":"n8n-nodes-base.set","typeVersion":3.4,"parameters":{"mode":"manual","assignments":{"assignments":[{"id":"c06a0000-0000-4000-8000-000000000008","name":"b1","value":"","type":"string"}]},"includeOtherFields":false,"options":{}},"position":[1888,0],"notes":"Output card only. Connect your Question 1 native count path from Ticket rows, map its computed Count directly to b1, and set the field type to Number. This node does not fetch tickets or calculate the answer. It is intentionally blank and disconnected in the unfinished starter."},{"id":"c06a0000-0000-4000-8000-000000000011","name":"Question 2 answer","type":"n8n-nodes-base.set","typeVersion":3.4,"parameters":{"mode":"manual","assignments":{"assignments":[{"id":"c06a0000-0000-4000-8000-000000000010","name":"b2","value":"","type":"string"}]},"includeOtherFields":false,"options":{}},"position":[1888,792],"notes":"Output card only. Connect your Question 2 native count path from the shared tickets, map its computed Count directly to b2, and set the field type to Number. This node does not call another endpoint. It is intentionally blank and disconnected in the unfinished starter."},{"id":"c06a0000-0000-4000-8000-000000000012","name":"1. Start here","type":"n8n-nodes-base.stickyNote","typeVersion":1,"parameters":{"content":"## Challenge 06 · The Support Queue\n\n**Community Weekly Challenge · Season 2**\n\nA fictional support desk has **24 tickets**. Count all open tickets, then the urgent tickets within that open queue. Build with native n8n nodes.\n\n**Starter, not a finished solution.** Add the calculation nodes in the two work areas. Both answer cards are blank.\n\n**No AI assistance**, including interpreting, planning, generating, debugging, solving or explaining this challenge.\n\n[Read Challenge 06](https://marketing.app.n8n.cloud/webhook/cwc/challenge-06) · [Your account](https://marketing.app.n8n.cloud/webhook/cwc/status) · [Register](https://marketing.app.n8n.cloud/webhook/cwc/register)\n\n[Challenge rules](https://marketing.app.n8n.cloud/webhook/cwc/challenge-06#rules) · [Untimed practice](https://marketing.app.n8n.cloud/webhook/cwc/challenge-06/practice/data) · [n8n documentation](https://docs.n8n.io/)\n\nPersonal data and submission follow Challenge 06's participation window. Importing this workflow does not open participation.","width":960,"height":400,"color":1},"position":[-64,-480]},{"id":"c06a0000-0000-4000-8000-000000000013","name":"2. Fetch your tickets","type":"n8n-nodes-base.stickyNote","typeVersion":1,"parameters":{"content":"## 2 · One HTTP request, two questions\n\nEnter your username and key in **Settings**. Keep the supplied base URL and HTTP Authentication **None**.\n\n**Get tickets** calls `GET /data` with query `file=tickets` and your `username`, plus the `x-participant-key` header. **Ticket rows** splits its `rows` array into 24 items. Both question branches use these same items. **No second data request is needed.**\n\nRun **Start** when ready. The first successful personal fetch starts your timer. Re-fetching preserves the same tickets and original start. Use untimed practice first.","width":960,"height":448,"color":4},"position":[-64,-48]},{"id":"c06a0000-0000-4000-8000-000000000014","name":"3. Count open tickets","type":"n8n-nodes-base.stickyNote","typeVersion":1,"parameters":{"content":"## Question 1 · How many tickets are open?\n\n**Source: Ticket rows from the shared HTTP request.** There is no separate Question 1 data endpoint.\n\nCount tickets whose `status` equals **OPEN**. Build a native Filter and Summarize Count on `ticket_id` in the empty space below. Connect an enabled path from **Ticket rows** through your calculation to **Question 1 answer**.\n\nThe Edit Fields node is an **output card**, not a fetch or calculation. Map the computed Count field directly to **b1**, set its type to **Number**, and keep it in the export. It is intentionally blank and disconnected until you build that path.\n\nDo not type a count, use arithmetic, group records or create a third answer.","width":1152,"height":760,"color":5},"position":[928,-480]},{"id":"c06a0000-0000-4000-8000-000000000015","name":"4. Count urgent open tickets","type":"n8n-nodes-base.stickyNote","typeVersion":1,"parameters":{"content":"## Question 2 · How many open tickets are urgent?\n\n**Source: the same Ticket rows used by Question 1.** There is no separate Question 2 data endpoint.\n\nCount tickets whose `status` equals **OPEN** and `priority` equals **URGENT**. Closed urgent tickets do not count. Reuse the open-ticket branch or build a native two-condition branch, then Count `ticket_id`. Connect the Count output to **Question 2 answer**.\n\nThis Edit Fields node is the second **output card**. Map the computed Count field directly to **b2** and set its type to **Number**. It is intentionally blank and disconnected until you build that path.\n\nDo not add the answers together or create b3. All status/priority combinations occur and both counts are nonzero.","width":1152,"height":760,"color":6},"position":[928,312]},{"id":"c06a0000-0000-4000-8000-000000000016","name":"5. Finish and fair play","type":"n8n-nodes-base.stickyNote","typeVersion":1,"parameters":{"content":"## 5 · Finish and fair play\n\n1. Copy **both computed counts** into the Challenge 06 website form. Its optional **Check both answers** sends one paired `POST /check` with both totals and your workflow. It returns overall correctness only. There are no separate Q1/Q2 check HTTP nodes.\n2. Submit both answers, your sanitized workflow JSON and your own explanation of **40 to 2,000 characters and at least eight words**, with both rule acknowledgements.\n3. A supported correct final enters the leaderboard automatically. The server validates native calculations and the tickets contributing to each Count. The first accepted evidence and finish stay locked. **No pending replay or human approval** is part of ordinary season-time acceptance.\n\n**Clock:** first successful personal fetch to first accepted final. Practice is untimed. Weekly rank points follow **15 / 12 / 12 / 11**, with exact ties sharing rank and points. Reward review happens at season end.\n\n**No AI assistance of any kind.** No Code, Function, AI, Agent, MCP or Tool nodes, hardcoded totals or executable code hidden in expressions.\n\n**Before export:** blank Settings.key and remove all credential references and pinned data. Keep Settings.username for your account binding. Never export participant keys.\n\n[Open Challenge 06 submission](https://marketing.app.n8n.cloud/webhook/cwc/challenge-06#submit) · [Leaderboard](https://marketing.app.n8n.cloud/webhook/cwc/results) · [Rules](https://marketing.app.n8n.cloud/webhook/cwc/challenge-06#rules)\n\nData and submission are available only during Challenge 06's participation window.","width":960,"height":640,"color":2},"position":[-64,432]}],"connections":{"Start":{"main":[[{"node":"Settings","type":"main","index":0}]]},"Settings":{"main":[[{"node":"Get tickets","type":"main","index":0}]]},"Get tickets":{"main":[[{"node":"Ticket rows","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"pinData":{}}