The third Action is very useful if you have different lists or just any kind of note that you often want to add text to. You can configure a list of notes for the Action. When you want to add content from Drafts to one of them you just run the action and select the note from the upcoming prompt.
The “Add to Obsidian Daily Note Section” is a very useful action! Thank you.
I seem to have configured it effectively to run, but I am consistently interrupted by two alerts that require my input. The first Alert displays the line after the title of the section following the section selected for adding the note. The second alert displays all of the preceding notes sent from drafts that day. Both alerts require me to click “OK”. How can I avoid seeing these alerts?
You can of course. I modified the „Add to Obsidian Daily Note“ action as an example (hope it works).
You just need to find the places where draft.content is used to get the content of the entire draft and replace it with editor.getSelectedText() to achieve what you asked for.
Thanks for the effort of building this Action. I couldn’t get it run though, even though others have been able to. I’ve been able to set up the actions Append to Obsidian Daily Note and Send to Obsidian folder. But this action seems much more complicated to set up. Is there a simple way to complete the action Send to Obsidian Daily Note in order to append in a particular section? And how do you define sections in this action ? Do you enter # hashtags? Thank you
Thank you. Yes I went through the documentation, but I didn’t understand everything. On running the action, I get the error “daily notes file does not (yet) exist, create it in obsidian” even though I have a daily note for today in Obsidian.
dailyNotesFolderPath: In my Obsidian configuration, that path is dynamic, being YYYY/MM (i.e. now 2024/04/). I tried 0. JOURNAL/%Y/%m/ and 0. JOURNAL/%Y/%m but both return the error “daily notes file does not (yet) exist, create it in obsidian”. And Yes, my bookmark (Journal) is configurated to my root journal folder, which is “0. JOURNAL”
How can I code this path correctly?
dailyNotesSection: Should I just mention a text within the daily note here?
Can you try setting the folder path to: * JOURNAL/[[date|%Y]]/[[date|%m]]* (no leading slash at the end)
This should then find your daily note if it is existing and synced to your device
Regarding the * dailyNotesSection* this should be a heading in your daily note. E.g. if you have a section „## Ideas“ then you should set this to Ideas
I set it like that . I still have an error indicating it doesn’t find the daily note (which is already created). I’ve found a workaround with another Action which Appends to Obsidian Daily Note (at the end of the note).
Hello - I love this drafts action - thanks for building it.
I have no problem running it on Mac OS.
Since getting a new iphone I have not been able to run it on iOS.
I use obsidian sync and have a local vault on my iphone, which I have bookmarked and made specific to just iOS.
The daily file exists - I get the error message saying that it doesn’t
Then I get a red notification with an exclamation…
I am sure there is something super simple that I am missing…I have re-installed obsidian twice - it has not helped. Reinstalling drafts did not seem to either…
Grateful for any insight…
Cheers!
IMPORTANT: If you‘re running the Action the first time and it shows an error that the file is not existing even when the file exists in Obsidian then please go into the Settings of Drafts, navigate to „Bookmarks“ and make sure that the configured bookmark name is not set to „-unknown-“. If it is set to Unknown then tap „Select Folder“ and navigate to your Obsidian Vault in the files UI, select it and tap „Done“ in the upper right corner.
If you have, is there any additional information in your action log?