The signaling molecule is important, but the receptor it binds to is really what determines what effects it will have on a cell.
Different cells express different receptors. The same signaling molecule could cause very different effects depending on what happens when the receptor is activated by it.