# Journal/log workflow – Drafts-like "just start writing" for your daily notes (iOS)

**URL:** <https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382>\
**Category:** Workflows & Templates\
**Created:** [May 17, 2021, 9:56pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382 "2021-05-17T21:56:41Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [May 17, 2021, 9:56pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/1 "2021-05-17T21:56:41Z")

</div>

In combination with [a shortcut](https://www.icloud.com/shortcuts/6e595dce345540adbcbf07243155d6ee), this creates a [Drafts](http://getdrafts.com)-like “just start writing” button for your Obsidian Daily Notes.

![Journal shortcut](https://forum.obsidian.md/uploads/default/original/2X/c/cb23fd19e58a1cf8d9080ae27fd1dd6d653c5c60.gif)

This workflow requires the following plugins:

- [Advanced URI](https://github.com/Vinzent03/obsidian-advanced-uri)
- [Templater](https://github.com/SilentVoid13/Templater)
- Daily Notes or [Periodic Notes](https://github.com/liamcain/obsidian-periodic-notes)
- [Hotkeys for Templates](https://github.com/Vinzent03/obsidian-hotkeys-for-templates)

# Set up

1. Install, enable, and set up the above plugins
2. Set up the following template for Templater:

```auto
<%*
if (this.app.workspace.activeLeaf.view.currentMode.type != "source"){this.app.commands.executeCommandById("markdown:toggle-preview");}
let editor = this.app.workspace.activeLeaf.view.editor;
let timestamp = tp.date.now("HH:mm");
let linePrefix = "\n- [] " + timestamp + " ";
editor.focus();
if (this.app.isMobile) {
editor.setCursor(editor.lastLine());
editor.replaceSelection(linePrefix)
editor.setCursor(editor.lastLine());;
} else {
const initialLines = editor.lineCount();
editor.setCursor({ line: initialLines, ch: 0 });
editor.replaceSelection(linePrefix);
const finalLines = editor.lineCount();
editor.setCursor({ ch: 0, line: finalLines });
}
%>

```

1. Set up the template above as a command via [Hotkeys for Templates](https://github.com/Vinzent03/obsidian-hotkeys-for-templates)
2. Install and customize the [shortcut](https://www.icloud.com/shortcuts/6e595dce345540adbcbf07243155d6ee) on your iPhone/iPad
3. Add the shortcut to your homescreen (click the … button when editing the shortcut and select “Add to home screen”)

That’s it!

---

<div class="post-metadata">

**Author:** ![szdavid](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@szdavid](https://forum.obsidian.md/u/szdavid)\
**Post date:** [May 18, 2021, 7:31am UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/2 "2021-05-18T07:31:02Z")

</div>

Could be great if it could work for Android 🙂

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [May 18, 2021, 10:48am UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/3 "2021-05-18T10:48:14Z")

</div>

I’m not sure what automation tools Android offers. You would just need to be able to build and launch a URL from the home screen.

---

<div class="post-metadata">

**Author:** ![cristian](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cristian/32/6039_2.png) [@cristian](https://forum.obsidian.md/u/cristian)\
**Post date:** [May 18, 2021, 1:55pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/4 "2021-05-18T13:55:23Z")

</div>

This would be great for an ‘Inbox’ funtionality, to capture things like links and images in the text.

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [May 18, 2021, 3:54pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/5 "2021-05-18T15:54:26Z")

</div>

For sure. It should be trivial to reformat the shortcut to target a specific note instead of today’s date.

---

<div class="post-metadata">

**Author:** ![kenanmike](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kenanmike/32/18316_2.png) [@kenanmike](https://forum.obsidian.md/u/kenanmike)\
**Post date:** [August 6, 2021, 9:35pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/6 "2021-08-06T21:35:40Z")

</div>

This is a super underappreciated Forum post and workflow. Thanks so much for sharing @ryanjamurphy!

Q: is this supposed to yield a choice the way your does in the video when we click or hold on the Home Screen shortcut? It just opens the days note for me. And is it supposed to add a time stamp? It doesn’t do that for me?

---

<div class="post-metadata">

**Author:** ![ianlhayes](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ianlhayes/32/86059_2.png) [@ianlhayes](https://forum.obsidian.md/u/ianlhayes)\
**Post date:** [May 3, 2022, 4:42pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/7 "2022-05-03T16:42:59Z")

</div>

I know it’s been forever since you posted this (awesome!) workflow, but I’ve hit a minor sticking point and I wonder if you have any insight.

It seems like, if I leave Obsidian for 15 minutes or longer, it wants to reload my vault, plug-ins, workspaces, themes, etc. on startup and _then_ sync things like my Daily Notes Page.

Is there something in your workflow that gets Obsidian to load immediately for input? This is the last hurdle for me to get a Drafts-like instant-on workflow going with Obsidian Mobile. Until then, I’m still paying for Drafts Pro.

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [May 3, 2022, 4:47pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/8 "2022-05-03T16:47:31Z")

</div>

Until Apple allows background sync for apps like Obsidian, I don’t think we’ll see a solution that beats Drafts for speed. Sorry! I, too, deal with the same speed bump you describe. I just accept it as a cost of not having to use an extra app.

In other news, I just noticed that I haven’t posted Lumberjack in this thread.

I built the workflow into a plugin: [Lumberjack - Log your thoughts! 🪵🪓](https://obsidian.md/plugins?id=lumberjack-obsidian)

---

<div class="post-metadata">

**Author:** ![ianlhayes](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ianlhayes/32/86059_2.png) [@ianlhayes](https://forum.obsidian.md/u/ianlhayes)\
**Post date:** [May 3, 2022, 4:51pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/9 "2022-05-03T16:51:53Z")

</div>

Between a rock and a hard place! I was using iCloud for syncing my Obsidian vaults, but iCloud Drive wants to make all the decisions about what gets saved locally and what gets offloaded to the cloud, leaving some links unresolved or inaccessible within Obsidian until their files were specifically requested. I like Obsidian Sync’s conflict resolution, but it does slow down quick input.

Lumberjack looks as close to perfection as we’re likely to get without resolutions to those technical obstacles. I will check it out today—thank you so much!

---

<div class="post-metadata">

**Author:** ![adambadum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/adambadum/32/30781_2.png) [@adambadum](https://forum.obsidian.md/u/adambadum)\
**Post date:** [June 7, 2022, 11:29pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/10 "2022-06-07T23:29:37Z")

</div>

Does this still work? I’m getting an error thrown when trying to use the Templater template suggested above.

```auto
Templater Error: Template parsing error, aborting. 
 Bad template syntax

Unexpected identifier
=====================
var tR='', __l,__ lP,include=E.include.bind(E),includeFile=E.includeFile.bind(E)
function layout(p,d){ __l=p;__ lP=d}
const _prs = [];
if (this.app.workspace.activeLeaf.view.currentMode.type != "source"){this.app.commands.executeCommandById("markdown:toggle-preview");} let editor = this.app.workspace.activeLeaf.view.editor; let timestamp = tp.date.now("HH:mm"); let linePrefix = "\n- [] " + timestamp + " "; editor.focus(); if (this.app.isMobile) { editor.setCursor(editor.lastLine()); editor.replaceSelection(linePrefix) editor.setCursor(editor.lastLine());; } else { const initialLines = editor.lineCount(); editor.setCursor({ line: initialLines, ch: 0 }); editor.replaceSelection(linePrefix); const finalLines = editor.lineCount(); editor.setCursor({ ch: 0, line: finalLines }); }
const _rst = await Promise.all(_prs);
tR = tR.replace(/rJ2KqXzxQg/g, () => _rst.shift());
if(__l)tR=await includeFile(__l,Object.assign(tp,{body:tR},__lP))
if(cb){cb(null,tR)} return tR

```

---

<div class="post-metadata">

**Author:** ![adambadum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/adambadum/32/30781_2.png) [@adambadum](https://forum.obsidian.md/u/adambadum)\
**Post date:** [June 7, 2022, 11:46pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/11 "2022-06-07T23:46:38Z")

</div>

Discovered the solution by reading the documentation! Surprise!

If anyone’s getting the same kind of error thrown when trying to use the Templater template, try the following tip:

When copying html text over to Obsidian, it [adds unnecessary slashes and removes tabs](https://forum.obsidian.md/t/obsidian-adds-unnecessary-slashes-to-my-code-block-removes-all-tabs-t/11061). These slashes breaks the code. To avoid this, [use Ctrl + Shift + V when pasting](https://forum.obsidian.md/t/obsidian-adds-unnecessary-slashes-to-my-code-block-removes-all-tabs-t/11061/2).

---

<div class="post-metadata">

**Author:** ![DandyLyons](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/48db29/32.png) [@DandyLyons](https://forum.obsidian.md/u/DandyLyons)\
**Post date:** [July 7, 2022, 11:44pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/12 "2022-07-07T23:44:16Z")

</div>

Did “Hotkeys for templates” break? I installed and enabled it but the options menu is blank and no hotkeys for templates appear in the hotkeys section.

 ![Untitled](https://forum.obsidian.md/uploads/default/original/3X/a/0/a0b97757990754bcf38cf7bd8a94bfcc94d5fb93.jpeg)

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [July 8, 2022, 11:08am UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/13 "2022-07-08T11:08:09Z")

</div>

hmmm. I’m not sure! Templater added direct support for making Templates full commands (e.g., hotkeyable and targetable via Advanced URI).

That said, if you’re just looking to use the log workfow discussed in this thread, my Lumberjack plugin is purpose-built to encapsulate that workflow into a single plugin.

obsidian://show-plugin?id=lumberjack-obsidian

---

<div class="post-metadata">

**Author:** ![Calion](https://forum.obsidian.md/user_avatar/forum.obsidian.md/calion/32/36668_2.png) [@Calion](https://forum.obsidian.md/u/Calion)\
**Post date:** [August 24, 2022, 5:27pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/14 "2022-08-24T17:27:59Z")

</div>

This is working for me, but 1) the insertion point is appearing on the next line, rather than next to the time as in the gif above, and 2) how do I get that menu with several options that shows up in the graphic? And how do you make it have the Obsidian icon?

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [August 24, 2022, 5:58pm UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/15 "2022-08-24T17:58:54Z")

</div>

Probably best to install and use the plugin I made for this workflow. See immediately above your reply.

The menu is the result of a homescreen Shortcut with menu options.

---

<div class="post-metadata">

**Author:** ![Sorrieah](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sorrieah/32/19008_2.png) [@Sorrieah](https://forum.obsidian.md/u/Sorrieah)\
**Post date:** [January 18, 2023, 2:07am UTC](https://forum.obsidian.md/t/journal-log-workflow-drafts-like-just-start-writing-for-your-daily-notes-ios/18382/16 "2023-01-18T02:07:06Z")

</div>

I managed to get it working with a KWGT komponent link and the following URI:

```auto
obsidian://advanced-uri?vault=vaultName&daily=true&heading=Journal&commandid=obsidian-hotkeys-for-templates%253Atemplater%253AtemplateName.md

```

Replace `vaultName` and `templateName` with your vault name (if you have more than one) and whatever you named your template, respectively.

Not sure if that’s how @ryanjamurphy did it, since I don’t have an Apple device to look at the shortcut, but it works.
