# Capturing daily tasks / notes

**URL:** https://org-roam.discourse.group/t/capturing-daily-tasks-notes/3426
**Category:** Requests
**Created:** [April 10, 2024, 4:19am UTC](https://org-roam.discourse.group/t/capturing-daily-tasks-notes/3426 "2024-04-10T04:19:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rakan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@rakan](https://org-roam.discourse.group/u/rakan)
#### Post date: [April 10, 2024, 4:19am UTC](https://org-roam.discourse.group/t/capturing-daily-tasks-notes/3426/1 "2024-04-10T04:19:34Z")

</div>

Hello everyone,

I am struggling to get org-roam to work in a workflow that is similar to Obsidian.

What i want to achieve is:

1. When creating a new daily, the overall file should look like this:

```auto
#+title: %Y-%M-%D

[[Link to yesterday]] | [[Link to tomorrow]]

---

* 📝 Notes
** %?

* ⏱ Today's Tasks
** TODO

```

And if i want to capture a note or a todo, it would place the cursor in the respective section.

Is there a way to achieve this?

---

<div class="post-metadata">

### Author: ![rakan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@rakan](https://org-roam.discourse.group/u/rakan)
#### Post date: [April 10, 2024, 5:00am UTC](https://org-roam.discourse.group/t/capturing-daily-tasks-notes/3426/2 "2024-04-10T05:00:17Z")

</div>

Figured it out, for those wondering:

```auto
  (setq org-roam-dailies-capture-templates
        '(
          ("t" "todo" entry
           "** TODO %?"
           :target (file+head+olp "%<%Y-%m-%d>.org"
                                  "%<%Y-%m-%d>\n\n[[elisp:org-roam-dailies-find-yesterday][Yesterday]] | [[elisp:org-roam-dailies-find-tomorrow][Tomorrow]]\n\n-----\n\n"
                                  ("⏱ Today's tasks"))
           :empty-lines 1
           :unnarrowed t
          )
          (
           "n" "note" entry
           "** %?"
           :target (file+head+olp "%<%Y-%m-%d>.org"
                                  "%<%Y-%m-%d>\n\n[[elisp:org-roam-dailies-find-yesterday][Yesterday]] | [[elisp:org-roam-dailies-find-tomorrow][Tomorrow]]\n\n-----\n\n"
                                  ("📝 NOTES"))
           :empty-lines 1
           :unnarrowed t
           )
          )
        )

```

---

<div class="post-metadata">

### Author: ![nickanderson](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nickanderson/32/753_2.png) [@nickanderson](https://org-roam.discourse.group/u/nickanderson)
#### Post date: [April 22, 2024, 3:28pm UTC](https://org-roam.discourse.group/t/capturing-daily-tasks-notes/3426/3 "2024-04-22T15:28:40Z")

</div>

Did you find `org-roam-dailies-find-previous-note` and `org-roam-dailies-find-next-note`? I believe that your current links will always find yesterday and tomorrow, even if you were looking back at a note from last week, the targets would be yesterday and tomorrow instead of the day prior and day after the note.
