Using Connections in Flows

Connections are used in flows when configuring a networking node to communicate with an external system using HTTP, Kafka, or Pulsar.

The following node types support the use of Contextual Connections:

  • Contextual HTTP Nodes

    • HTTP GET

    • HTTP POST

    • HTTP PUT

    • HTTP PATCH

    • HTTP DELETE

  • GraphQL (GQL) Node

  • Produce Message Node

Note that other (legacy) Node-RED nodes such as "HTTP Request" do not use Connections and require you to configure the URL, Authentication strategy, and headers as part of the node configuration.

The advantage of using the Contextual nodes listed above is that you do not need to be concerned about the details of how the API will be used in terms of URL or authentication, nor do you have to be concerned about token renewal for connection types that require it.

In a Contextual node that uses connections, you simply select the connection from the list as shown in the image below.

Last updated