Node-RED Cookbook

This is a collection of recipes for how to use Node-RED to solve many common programming tasks.

Each recipe addresses a specific problem and shows by example how it can be solved using the capabilities of the platform.

If you’re interested in contributing to the cookbook you are more than welcome. Join the #docs channel on slack and get involved.

Table of Contents


Flow control

Error handling

  • Trigger a flow when a node throws an error
  • Automatically retry an action after an error

Working with data formats

  • Convert to/from JSON
  • Convert to/from XML
  • Convert to/from YAML
  • Convert to/from CSV
  • Extracting data from an HTML page
  • Split text into one message per line

HTTP endpoints

HTTP requests