← Journey PHASE 4A — n8n core agents

GitHub to Vault Sync, Wired Up

Photo by Richy Great on Unsplash

The GitHub → Obsidian sync workflow is live in n8n. A push to dani-brain triggers a fetch and writes files directly to the vault via REST API.

The first real agent workflow is committed. A push to the dani-brain GitHub repo now triggers n8n, fetches the changed files, and writes them into the Obsidian vault using the Local REST API. No manual copy-paste, no polling interval — webhook fires on push.

The workflow has three nodes in sequence: GitHub webhook receiver, an HTTP Request node fetching raw file content from the repo, and a second HTTP Request posting to the REST API endpoint on [ip]:27123. The credential from the previous phase slots straight in.

Removed
Added
  • dani-brain/n8n-workflows/github-vault-sync.json
dani-brain/n8n-workflows
└─ github-vault-sync.json new Exported workflow JSON — GitHub push to Obsidian write

One decision worth noting: the webhook path is a static slug, not the n8n-generated UUID. Easier to reconfigure the GitHub side if the workflow gets rebuilt from scratch.

All workflow JSON files now live under dani-brain/n8n-workflows/ and are committed to version control. The export habit is established.

What this unblocks: The vault can receive programmatic writes from external triggers. The inbox classifier — next in the queue — can build on the same REST API write pattern, adding Claude frontmatter updates on top of what’s already proven to work.