You successfully developed a means for the job to be entirely automated, requiring minimal supervision which was in turn outsourced to cheaper labour, thereby saving the office significant costs but accidentally making yourself redundant in the process.