I need some help with some bubble logic. So I have multiline input and after user will put there his data(list of email), I want each line of it to add to the database.
I’d suggest using a regex to turn the multiline input into a list of values. You can then call a scheduled api workflow on a list to write each of the list values into your database.
Create a workflow for the button in step #1 that calls the backend workflow. You can turn the multiline input’s value into a list by using the regex [^\n][^\n]*[^\n]* which separates values by a line break. You can use a different regex to separate based on commas or any other character you like.
Thanks so much for this! I followed your instructions and got “line 1, line 2, line 3…” as an entry into my database instead of 3 entries: “line 1”, “line 2”, “line3”…