Shortcuts query to append doesn’t work

I’m trying to create an iOS Shortcut that will gather highlighted bits from Safari. If a note already exists, I want to append, not create a new note.

I have attached what I’ve made so far. The if statement is not correct - it ALWAYS creates a new note. What am I doing wrong with the if test?

Thanks so much.

1 Like

Can you share a link to the Shortcut? Thanks.

https://www.icloud.com/shortcuts/8c44897117d2406d95681a6d74eb306d