Provided herein are processes for preparing fluorescent 1-cyano-2-substituted isoindole compounds or N-substituted phthalazinium compounds, comprising reacting an aromatic dialdehyde or aromatic aldehyde-ketone compound with a material that contains primary amino or hydrazine groups, and assaying methods involving the processes thereof.