Dynamic inbox

Hi, I’m very new to Obsidian and still at the setting-up stage.

What I’m trying to do

I am trying to create a flat structure: I would like new unlinked notes to appear in a Dataview driven MOC as an ‘inbox’. Once notes have been linked to another note, they drop out of the inbox and become listed in a specific MOC that I will create using Dataview.

So there will be no folders. Organisation can be viewed between unlinked and linked. I don’t want tags to count as a link in this context.

Things I have tried

I have searched this forum using ‘dynamic’, ‘inbox’. I have scrolled through the help topics. I have asked ChatGPT for scripts. When I applied these, they didn’t work.

Here was the last interaction. Apologies for the length. The inbox MOC did not pick up all unlinked (ingoing and outgoing) notes:

From ChatGPT: Example Folder and MOC Setup

Flat Folder Structure:
    All notes reside in the root folder or a single "Notes" folder.

MOCs:
    Inbox
    Research
    Ideas
    Projects

Queries:

Inbox MOC Query:

list
from “”
where length(file.inlinks) = 0 and length(file.outlinks) = 0

Research MOC Query:

list
from “”
where contains(file.inlinks, [[Research]])

Ideas MOC Query:

list
from “”
where contains(file.inlinks, [[Ideas]])

Projects MOC Query:

list
from ""
where contains(file.inlinks, [[Projects]])

Benefits

Dynamic Organization: Notes move automatically between the Inbox and specific MOCs based on your linking activity.
Scalable: Easily add new MOCs as your Zettelkasten grows.
Flat Structure: All notes remain in a single folder, adhering to the Zettelkasten principle of simplicity.

Let me know if you’d like further customizations!

Thanks, and I’m sorry for the length.

OK, I found my mistake: leaving a gap between ``` and dataview.
Beginner’s mistake, sorry.