Sending device data to an external system
Let's create a flow that sends your device data to an external system through MQTT. Rather than creating multiple endpoints separately, we can accomplish this in one single request.
Creating a complete flow with integrated MQTT node
The simplest approach is to define both your data sources and MQTT output endpoint directly in your flow creation request. To do it, send a request to the following endpoint:
Create a new data processing flow with nodes and connections. Flows define how data moves from devices through transformation stages to output destinations. Each flow requires at least one Data Source node and one Output Endpoint node. You can create flows with nodes and edges in a single request or add nodes later using the endpoint management API.
Enter an API key with the "NVX: " prefix, e.g. "NVX 123456abcdefg"
Successful creation response
Error response object
Request example
The response will include the flow ID:
Congratulations!
You've now set up a flow that creates a complete end-to-end data pipeline in a single API call. This flow:
Connects to multiple vehicles in your fleet through a data source endpoint
Sends the device data to your external MQTT system
Uses your custom MQTT broker settings for secure data transfer
Last updated
Was this helpful?