Abstract Here we describe the use of a new open-source software package and a Raspberry Pi® computer for the simultaneous control of multiple flow chemistry devices and its application to a machine-assisted, multi-step flow preparation of pyrazine-2-carboxamide–a component of Rifater®, used in the treatment of tuberculosis–and its reduced derivative piperazine-2-carboxamide.