Lines In collection is contained in the For Each action.
Lines In collection allows each line from a specified source to be processed.
Lines may be read from the System Clipboard, from a Named Clipboard, from a variable, or from a file.
It is also possible to include or exclude blank lines.
A basic example:
For a more complex example (and downloadable macro) see Process Lines in Text File on the Keyboard Maestro forum.