Dynamic Variables Using CSV File

I am trying to create an app where users can send bulk messages. One of the features I am trying to implement is the ability for users to upload a CSV file. This allows them to create their own headers, as shown below:

image

Then, in my dropdown element, I will reference the headers from the CSV, giving users choices like [First Name], [Last Name], [Number], and [Order].

In the message input box, users can create a message like “Hello [First Name], your [Order] order is due today.”

Is there any plugin I can use? I have already implemented a similar feature, but the problem is that I am saving it in the database, and the variables are static, so they depend on the columns in my database.

This topic was automatically closed after 70 days. New replies are no longer allowed.