A series of molecular signals initiated by the binding of an extracellular ligand to a receptor on the surface of the target cell where the receptor possesses guanylyl cyclase activity, and ending with regulation of a downstream cellular process, e.g. transcription.