Changes in the work function provide a fingerprint to characterize analyte binding in charge transfer-based sensor devices. Hence, a rational sensor design requires a fundamental understanding of the microscopic factors controlling the modification of the work function. In the current investigation, we address the mechanisms behind the work function change (WFC) for the adsorption of four common volatile organic compounds (toluene, ethanol, 2-Furfurylthiol, and guaiacol) on different nitrogen-doped graphene-based 2D materials using density functional theory. We show that competition between the surface dipole moment change induced by spatial charge redistribution, the one induced by the pure adsorbate, and the one caused by the surface deformation can quantitatively predict the work function change. Furthermore, we also show this competition can explain the non-growing work function change behavior in the increasing concentrations of nitrogen-doped graphenes. Finally, we propose possible design principles for WFC of VOCs interacting with N-doped graphene materials.