Some beginners may find the following tutorial helpful. In shows monitoring an analog sensor, publishing values periodically to particle cloud, then picking up the data in node-red for visualization. It can easily be adapted to do other things (like node red filtering, using other sensors, etc.)
David