Help creating a clipboard combining action

Here's what I'm trying to accomplish:

  • given the last two clipboard items
  • I want to combine them into a: [first line][second line]

What I have tried:

  1. Use "Paste items at positions" 1,2 with "Just copy to clipboard"
  2. Use a transformer to split the text by newline and create that output

The above doesn't work. Any suggestion