https://actions.getdrafts.com/a/1Mx
Inspired by WalkWriter I decided to go one step further and create an action that creates KML files ready to import to Google Earth .
As written it saves to the Drafts iCloud folder but this is easily modifiable.