# How to send Data from CVS File to Azure IotHub

**URL:** https://discourse.nodered.org/t/how-to-send-data-from-cvs-file-to-azure-iothub/29096
**Category:** General
**Created:** [28 June 2020 06:27 UTC](https://discourse.nodered.org/t/how-to-send-data-from-cvs-file-to-azure-iothub/29096 "2020-06-28T06:27:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MalZai](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@MalZai](https://discourse.nodered.org/u/MalZai)
#### Post date: [28 June 2020 06:27 UTC](https://discourse.nodered.org/t/how-to-send-data-from-cvs-file-to-azure-iothub/29096/1 "2020-06-28T06:27:53Z")

</div>

Hi there, I'm a beginner here and trying to play around with Azure IotHub for anomalies detection. I've been able to import my data from CVS file into Node-red and I've been able to display the data sequentially with delay node.

But im having a problem on how to send the data to Azure IotHub as where to include the data stream into the Inject Payload using JSON

{"deviceId":"sdcxxx","key":"w1xUHJtGfxxxxxxxxxxxxxxxxxxA44IckMMqFHPT4=","protocol":"mqtt","data":"{"temp": 20}"}

attach are the flow of my nodes.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17782fa3f028c868a36cbf093bb8d85bac7da227.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [27 August 2020 06:27 UTC](https://discourse.nodered.org/t/how-to-send-data-from-cvs-file-to-azure-iothub/29096/2 "2020-08-27T06:27:59Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
