title: How to import csv data through lambda to dynamodb(nodejs)
body: <p>I want to have a lambda function, which takes the excel file in the request body and then imports it to dynamodb based on the column in excel.<br></p>
  <p>In frontend, there is an upload button to upload csv file.<br>
  After clicking the upload button, the excel file will be uploaded and dynamodb will take the data.<br></p>
  <p>Let's assume I have empty table called &quot;User&quot;.<br></p>
  <p>After I upload the csv file below.
  <a href="https://i.stack.imgur.com/c8sHY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c8sHY.png" alt="enter image description here" /></a></p>
  <p>The User Table should have 2 more record with the attributes in the file.</p>
  <p>I have searched for a whole day for still find a satisfied solution in nodejs.<br></p>
  <p>Can someone provide the code example to me so that I can do this?</p>