You need to break the text into a list of elements, which means Select from the list as input. You can use the Paragraph Filter action to break text, for example, return paragraphs that are not empty.
You do not specify which OS you are using, but Lion added the ability to use Rich Text in text actions - unfortunately, most actions do not work properly if they really get Rich Text. In Lion, you can take advantage of some (hidden) coercion of input elements using something like the Run Shell Script action (you don't need to enter anything there, just use the default, which passes the elements) to convert Rich Text from the Get Text action.
The Select from list action has the All or No buttons, but there is no way to select a specific set of elements. It's easy enough to write Automator actions, so migrating your own textutil shell is another option.
user866649
source share