Wireless sensor networks are being widely used in many applications such as environmental monitoring, climate influence, fire detection, cold chain control and traceability. However, due to the wireless channel impurities like scattering, diffraction, refraction and reflection, the sensed data received at the gateway, where the data has to be processed, is not reliable. In this paper, to improve the reliability of the message received, we propose a communication scheme which integrate cooperative network coding and relaying for their use in wireless sensor network for agriculture. The scheme uses four sensor nodes, two sensors with information to transmit and two sensor nodes acting as relay nodes for the transmitting sensors. The simulated results indicate that the cooperation aided with relaying enhances the reliability of the message received at the gateway by reducing the number of errors made at the gateway during decoding of the message.