Should be possible via AppleScript, however you didn’t tell enough about Evernote import to test.
- What type is a imported “note”? HTML?
- How exactly does a “note” whose only content is its title and a link look like? (Please post its source, see below)
Please
- use menu
View > Document Display > Source View
- copy the source
In your post use
- three backticks
- a new line
- paste the source
- a new line
- three backticks
```
source
```
You didn’t mention renaming the attachment, if it isn’t renamed with the group’s/note’s name you’ll loose that info, I think. So I guess it should be renamed?