Knowledge Base

Build HTTP to MQTT Bridge Workflow

Duration: ~15 min · Level: Beginner · Template: #1 HTTP to MQTT Bridge · Deployment: On-prem

Prerequisites: MQTT broker (e.g. Mosquitto on localhost:1883). Outbound HTTPS to your API. See MQTT Publish and MQTT Event.

Build an HTTP-to-MQTT bridge from template #1: fetch data from a REST API and publish it to an MQTT topic for downstream devices or workflows.

What this template does

  1. Fetch Data — HTTP GET to your API.
  2. Publish to MQTT — topic nodlyn/data.

Step 1 — Load the template

  1. Studio → Templates → search HTTP to MQTT Bridge.
  2. Load template #1.

Step 2 — HTTP source

  1. Set API URL, method, headers, and auth in Fetch Data.
  2. Add a Cron Schedule or Webhook trigger to run on a schedule or on demand.

Step 3 — MQTT broker

  1. Configure broker host, port, topic, and optional credentials.
  2. Subscribe with mosquitto_sub -t nodlyn/data to verify messages.

Step 4 — Downstream

Chain with MQTT Sensor → InfluxDB Logger or edge consumers on the same broker.

Related tutorials

Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.