On the final day, February 28, up to 40 volunteers were at their computers until midnight frantically entering codes.
They money would make a big difference to the school. Its biggest fundraiser of the year was the annual gala, which required a lot of work and was lucky to top $3000.
"So this is massive for our little school," she said.
Pompallier, a decile 3 full primary with 147 pupils, won the medium-size section for schools of 100-299 students by collecting 1650 codes. Marshland School in Christchurch was so close behind it was also awarded $5000.
Pompallier principal Kathryn Carey thanked the Kaitaia community for its support.
"As a small community we don't have a lot, but everyone gets behind each other."
Parents at the Dominion Road school now have to find ways of emptying pantries bulging with Weet-Bix. Some has been donated to local daycare centres and the foodbank; on Tuesday the pupils were busy baking Weet-Bix Afghans for people who helped them win.
The school has yet to decide how to spend the prize. Because it was a community effort, Mrs Hewitt said she was keen to use it for something lasting and visible so supporters could see the result of their efforts.
Sanitarium staff travelled from Auckland on Tuesday to present the cheque and congratulate the school.