We demonstrate an active microfluidic platform that integrates dielectrophoresis for the control of silver nanoparticles spacing, as they flow in a liquid channel. By careful control of the nanoparticles spacing, we can effectively increase the surface-enhanced Raman scattering (SERS) signal intensity based on augmenting the number of SERS-active hot-spots, while avoiding irreversible aggregation of the particles. The system is benchmarked using dipicolinate (2,6-pyridinedicarboxylic acid) (DPA), which is a biomarker of Bacillus anthracis. The validity of the results is discussed using several complementing characterization scenarios.