Obsidian integration

I use obsidian as my PKM tool. I offload everything there: article highlights, academic notes, book highlights, etc. It has its own hashtag system for statuses, color coding, and link-based category. However, it is bad in integrating iCal and apple reminders and the available plugins don’t work very well. And Agenda does that pretty well
So, I wish I could sync my agenda notes to obsidian, (show agenda content in obsidian), and maybe link obsidian notes directly into agenda. It could also sync specified folders directly to agenda. Obsidian is a markdown tool and stores its files locally and in your cloud service (I use iCloud). Agenda also stores everything using iCloud, so I guess it is a pretty easy thing to do.

2 Likes

From what I understand, agenda does not uses .md or .txt files. Agenda uses its own format i believe. I dont think its possible. You can only have links in obsidian to jump into the notes inside agenda.

Unless someone else knows anything different?

1 Like

oh well… I thought it was .md based. However, there is an export to markdown feature from what I’ve seen, so maybe it could work that way? Like, pressing sync option allows you to select the project and that project gets converted to markdown and sent to obsidian

a one way sync could probably work with shortcuts app , dont see why not

1 Like

I saw that there’s an api that works with shortcuts. Do you know any tutorials on that specific matter?

Best is to check out this page Agenda Shortcuts and Reference as well as the Shortcuts section of the community in general

Just managed to do it, if anyone is interested

1 Like

Nice, thanks for sharing!

How did you manage to pull this off in the end? Did you get it to automatically put it in obsidian, or is it still a manual process?

Here is what I came up with. Mine takes a single selected note from Agenda, gets the markdown, saves it in my vault in iCloud, then renames it to a .md file so that it shows up in Obsidian.

2 Likes

Am I correct in understanding that is a oneway export?

Correct - it’ll only move a note from Agenda into your Obsidian vault.

I updated it and now it is working pretty well:
It will always look for dates related to the file, both created date and dates inside the file (scheduled dates). If it finds two, and they are different, it will ask you which one it will want to use (in order to periodic notes format properly the title of your file).
It will always check if there’s already a file with the date selected; if there is, it will combine both texts and replace the file.
Please, select your periodic notes folder where there is a comment warning
https://www.icloud.com/shortcuts/63d4d474277d4edc83b08401f2e08930

3 Likes

New update! Agenda to Obsidian 3 is out!
Updates:

  • Rewrote it completely
  • Will look for all dates within a file (Creation dates and dates inside text)
  • Will update your text, not append to it
    Link: Shortcuts
    How to use: Select your obsidian daily notes/periodic notes folder where the comment points
    Done! Open obsidian and run the shortcut, you can use shortcut launcher plugin and also automate it in your iphone/ipad upon opening obsidian!
    Works with any local first markdown app, just select the appropriate folder.
2 Likes

May I ask if this is outdated? Or if there is a newer version, there is an unknown action and prompts me that this is not in this version. I have my iOS software updated to the newest version.

Going to fix it ASAP, sorry for the delay, studying too much

EDIT: I’m having some issues with it. Manage to make it work, but it is getting more information from the agenda note then expected (such as font, etc).
Maybe @mekentosj can give us some tips (I used get note text - Markdown)

1 Like

Never mind! Appreciate the work there! I liked to use obsidian for knowledge wise, and scratch notes in agenda (just got the app and trying it out). I didn’t mind if there is no shortcut, but having it is better! So take as many time you like! Thanks for the shortcut!

Can you show what it’s getting that you don’t expect in a screenshot?

The updated shortcut I’m trying to use:

  1. Manages to select the appropriate note
  2. It allows you to select the selected date
  3. It formats the date to ISO8601
  4. It generates the note in Obsidian selected folder

What it doesn’t do:

  1. Get the correct markdown of text only
  2. I don’t know how the rest of the shortcut will run (with previously created notes, because this shortcut can compare the two notes and decide if there’s new content or not and append to the obsidian note if there is).

Here is the current modified shortcut:
https://www.icloud.com/shortcuts/e418090370334576a4a0440c5693def4

Screenshot of on obsidian note :arrow_down:

Hmm, that’s raw RTF, Agenda returns rich text in the shortcut, it seems Obsidian is reading that raw RTF as plain text.