Trying to figure out whether it is possible to create a way of converting a list of text items in a multiline input to individual items in a database. This is a function that a Trello card has.
i believe you can get this to work using regex using :extract with regex. problem is, i can’t find a regex pattern that doesn’t seperate by a space, fullstop, etc. if you could find a regex pattern that only seperates by different lines, then you can do what you wanted to do. hope this helps a little
Hi!
I had the same task.
So, here is my solution. Not the best and not the most optimal, but it seems to work.
Without plugins.
We can use Schedule API Workflow on a list event. Type of things = text. And pass the list of text things. In order to convert multiline text (from MultilineInput) into the list of text things we can use :extract with Regex with the pattern: [^\n][^\n]*[^\n]*
Maybe it’s not the best pattern, I’m not an expert in regex.
And you have to pass at least one parameter with This text thing. In my case, this is new_step param. These parameters are created elsewhere, I will show in the second screenshot.
Corresponding API endpoint must be created beforehand. In Backend workflows we create New API endpoint with specific text parameter/key (in my case it’s new_step). And add a step with a new thing creation where you can use this text parameter.