Upload Data using Excel

default discord avatar
zinox9
2 months ago
2

Is there any way to create an API in payload that allows to upload data using excel ? or just an api that will take multiple data and create documents in database using the data we provided after reading the excel sheet on frontend ?

  • default discord avatar
    notchr
    2 months ago

    @zinox9



    Yes



    You would make a function that parses the csv or xlsx file and you would then format the data



    Once you can parse the file and format your data, you can then make local API calls to create the data

  • default discord avatar
    zinox9
    2 months ago

    Okay !

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.