I am reaching out to the community for help with creating a Drafts action that can streamline my workflow involving news items that I’ve stored as drafts. The drafts are all written in Markdown and tagged with “news items.” I am looking for a way to automate the process of transferring these drafts into my Obsidian vault, specifically to the location “Vault/Articles/News” on my iPad’s local storage.
Here is what I am envisioning for the action:
- Identify and select all drafts within the Drafts app that are tagged with “news items.”
- For each selected draft, extract the first line that features an h1 Markdown tag (e.g.,
# Title) and use this as the filename for a new Markdown file in my Obsidian vault.
- Save the remainder of the draft content as the body of this new Markdown file, excluding the first line that has been used as the title.
- Place each newly created Markdown file into the “Vault/Articles/News” folder in my Obsidian vault on my iPad’s local storage.
Thank you all in advance for your time and expertise. Any help will be valued as I aim to make this a seamless part of my workflow.