Welcome to the NZRT Wiki Podcast. Today we’re looking at NCS Intake Workflow.
So what is the NCS Intake Workflow? Put simply, it’s the end-to-end process that takes a charitable services application from the NZRT public website all the way into the Dolibarr ERP system. Let’s walk through exactly how that happens.
It all starts with a trigger. A charitable entity or community group visits the intake form page on the NZRT website. The page lives at the NCS intake address on nzrtnetwork.com. One thing worth knowing is that this page is a standalone PHP file, not a WordPress plugin. That was a deliberate choice, made for speed and simplicity.
Now, when someone fills in that form, they’re providing four pieces of information: their organisation name, their email address, their phone number, and a message describing their situation or need. Once they hit submit, the automated process kicks in.
The PHP handler that sits behind the form does two important things almost simultaneously. First, it creates a new thirdparty record in Dolibarr. Think of a thirdparty as Dolibarr’s way of representing an external organisation. The record gets tagged with a type that identifies it as an NCS entity, and it receives a unique client code that combines the letters NCS, the organisation name, and a timestamp so you can always trace when that record was created.
Second, that same PHP handler creates a support ticket in Dolibarr and assigns it to an agent called cas. The ticket gets categorised under NCS, it’s linked to the relevant NCS project inside Dolibarr, and it’s tagged so it shows up correctly in all the right views. So by the time the form submission is complete, you’ve got both an organisation record and a live support ticket waiting in the system.
The fourth automated step is an email notification. Nathan, the person responsible for reviewing these applications, receives an email with the subject line NCS Application followed by the organisation’s name, and it includes a summary of what was submitted along with delivery instructions.
That brings us to the manual review stage. Nathan reads the application email and decides whether it’s a good fit. If he’s happy with it, he replies with the word APPROVED followed by the word services. If the application isn’t suitable, there’s no automated reply needed — that gets handled manually on a case-by-case basis.
Once Nathan sends that approval reply, the automated delivery process takes over. A script called mail handler dot py is watching for exactly that kind of reply. When it detects Nathan’s approval, it triggers another script called cas NCS delivery dot py. That script is responsible for sending the applicant the GitHub repository ZIP files they need by email.
Now let’s talk about how the form fields map across to Dolibarr, because that’s a useful thing to understand. There are four form fields and here’s where each one ends up. The organisation name feeds into both the main name field on the thirdparty record and into that client code prefix we mentioned earlier. The email address maps directly to the email field. The phone number maps to the phone field. And the message the applicant writes goes into a private note on the thirdparty record, so your team can see it internally but the applicant won’t see it reflected back to them.
Finally, there are a couple of escalation rules to be aware of. If an applicant goes quiet and there’s been no response after three contact attempts spread across seven days, the thirdparty record gets marked as Cold and the ticket gets closed. That keeps your queue clean and avoids things sitting open indefinitely. The other rule covers schools and large institutions — if an application comes in from one of those, you defer it. They’re considered out of scope for the near-term NCS programme, so they don’t get processed through the same flow.
And that’s the full picture. A form submission on the website kicks off an automated chain that creates both an organisation record and a support ticket in Dolibarr, notifies Nathan by email, waits for his approval, and then automatically delivers the relevant resources to the applicant. The only human decision in the whole workflow is Nathan’s approval reply, and everything else is handled for you.
That’s it for this episode of the NZRT Wiki Podcast. Thanks for listening.