Agenda Shortcuts and Reference

A quick intro to App Shortcuts

App Shortcuts are ways to quickly get one or more tasks done in Agenda through the Shortcuts app. By combining multiple Agenda Shortcuts, optionally with those from other apps you can create and automate your workflows. From the simple opening of a specific note from the Home Screen of your iPad, triggering a new note after a double-tap on the back of your phone, to complex workflows that grab all the things you need to do today from different apps and creates a new project in one tap. Itā€™s all possible using Shortcuts, and theyā€™re not only available through the Shortcuts app, but also using Siri and Spotlight.

You find the list of Agenda shortcuts if you tap the plus button in the Shortcuts app, then select Apps and tap Agenda in the list of apps.

Tip: Read and learn more about Shortcuts and how to use the Shortcuts app in Appleā€™s Shortcuts User Guide

Overview Shortcuts

Open Overview

  • Shows an Overview in Agenda, selecting it in the sidebar
    Parameters
  • parameter: Overview
    New in Agenda 18.0:
  • parameter (optional): In Separate Window
    Result
  • result parameter: Overview (opens the overview in Agenda)

Category Shortcuts

Add New Category

  • Adds a new project category, optionally as subcategory of an existing category.
    Parameters
  • parameter: Title
  • parameter (optional): Parent Category
    Result
  • result parameter: Category (holds the newly created Category)

Project Shortcuts

Find Project

  • Finds one or more projects based on the filter criteria provided (or all projects if no criteria are provided). Optionally limited to a certain number of projects.
    Parameters
  • parameter (optional): Title
  • parameter (optional): Is Archived or Is Not Archived
  • parameter (optional): Category
  • parameter (optional): Identifier
    New in Agenda 18.1:
  • parameter (optional): isSelected (whether the project is currently selected in the sidebar)
    Sort options
  • parameter (optional): Title
  • parameter (optional): Is Archived
    Result
  • result parameter: Projects (holds the found Projects)

Open Project

  • Shows a project in Agenda, selecting it in the sidebar
    Parameters
    New in Agenda 18.0:
  • parameter (optional): In Separate Window
    Result
  • result parameter: Project (opens the project in Agenda)

Add New Project

  • Adds a new project to the category of choice, or to Other Projects if none is provided.
    Parameters
  • parameter: Title
  • parameter: Category
  • parameter: Sort Order
    Result
  • result parameter: Project (holds the newly created Project)
  • result action (optional): open the project in Agenda

Note Shortcuts

Find Note

  • Finds one or more notes based on the filter criteria provided (or all notes if no criteria are provided). Optionally limited to a certain number of notes.
    Parameters
  • parameter (optional): Title
  • parameter (optional): Project
  • parameter (optional): Identifier
  • parameter (optional): On the Agenda or Not On the Agenda
  • parameter (optional): Date
  • parameter (optional): End Date
  • parameter (optional): Completed or Not Completed
  • parameter (optional): Last Edited
    New in Agenda 18.1:
  • parameter (optional): isSelected (whether the note is currently selected in the app)
    Sort options
  • parameter (optional): Title
  • parameter (optional): Project
  • parameter (optional): On the Agenda
  • parameter (optional): Date
  • parameter (optional): End Date
  • parameter (optional): Last Edited
    Result
  • result parameter: Notes (holds the found Notes)

Open Note

  • Shows a note in Agenda, selecting its project in the sidebar
    Parameters
    New in Agenda 18.0:
  • parameter (optional): In Separate Window
    Result
  • result parameter: Note (opens the note in Agenda)

Add New Note

  • Adds a new note to the project of choice.
    Parameters
  • parameter: Title
  • parameter: Project
  • parameter (optional): Text
  • parameter (optional): On the Agenda
  • parameter (optional): Date (start date of the note)
  • parameter (optional): End Date (only if a Date is set, can be used to set a date range)
  • parameter (optional): Event Title (to link a calendar event. Setting the start date in the `Date field can help disambiguate events with the same title)
  • parameter (optional): Pinned
  • parameter (optional): Collapsed
  • parameter (optional): Completed
  • parameter (optional): Template (used to create the new note)
  • parameter (optional): Attachment (a file to add as a attachment to the note)
    Result
  • result parameter: Note (holds the newly created Note)
  • result action (optional): open the note in Agenda

Append to Note

  • Adds text to the end of the provided note.
    Parameters
  • parameter: Note
  • parameter (optional): Text (leave empty if you want to only update one of the below properties)
  • parameter (optional): Title
  • parameter (optional): On the Agenda
  • parameter (optional): Date (start date of the note)
  • parameter (optional): End Date (only if a Date is set, can be used to set a date range)
  • parameter (optional): Event Title (to link a calendar event. Setting the start date in the `Date field can help disambiguate events with the same title)
  • parameter (optional): Pinned
  • parameter (optional): Collapsed
  • parameter (optional): Completed
  • parameter (optional): Attachment (a file to add as a attachment to the note)
    Result
  • result parameter: Note (holds the edited Note)
  • result action (optional): open the note in Agenda

Get Note Text

  • Returns the text of the provided note as Rich Text.
    Parameters
  • parameter: Note
  • parameter (optional): Include Heading (whether the text should also include the title and date of the note)
    New in Agenda 18.1:
  • parameter: Format (including Rich Text, Markdown, Selected Text, or a summary of the note)
    Result
  • result parameter: Text (holds the rich text of the Note)

Deprecated Shortcuts

In iOS17 and macOS14 Apple introduced limits on the number of shortcuts each app can vend, therefore we merged a number of Shortcuts, making some no longer available:

Get Selected Projects

  • Returns the currently selected projects (if any) in the Agenda sidebar
    Parameters
  • parameter: Note
    Result
  • result parameter: an array of Projects

Get Selected Notes

  • Returns the currently selected notes (if any) in Agenda
    Parameters
  • parameter: Note
    Result
  • result parameter: an array of Notes

The Get Selected Projects and Get Selected Notes shortcuts can be replaced by either using the Find Projects or Find Notes shortcut respectively, in combination with the isSelected parameter. Or often simpler, by using the predefined Selected Projects/Notes variable that is now available in all other shortcuts that take a project or note as an input parameter:

Get Note Markdown

  • Returns the text of the provided note in markdown format.
    Parameters
  • parameter: Note
    Result
  • result parameter: Text (holds the text of the Note in markdown format)

Get Note Summary

  • Returns a summary of the provided note.
    Parameters
  • parameter: Criterion (what to summarise the Note on, e.g. Unchecked, Checked, Tagged or Assigned items)
    Result
  • result parameter: Text (holds the text of the Note summary)

Get Selected Text

  • Returns the text currently selected in the app, or the text of the selected note if no specific text range its selected.
    Parameters
  • parameter: None
    Result
  • result parameter: Text (holds the rich text of selected part of the current Note, or all text of the selected note if no specific text range its selected.)

The Get Note Markdown, Get Note Summary and Get Selected Text shortcuts have been be replaced by the Get Note Text shortcut, which now takes a Format parameter to decide which content format youā€™d like to receive:

Combining Shortcuts and x-callback URLs

Agenda also supports a set of x-callback URLs that can be used to automate Agenda. For a complete overview of the supported actions, see the X-callback-url Support and Reference topic. You can use these callbacks also from the Shortcuts app, for example if certain actions are not available through an App Shortcut, you can use an x-callback URL using a URL shortcut like shown here:

Notice that if your variables contain special characters, in this case the content of the clipboard, we first run it through a ā€œURL encodeā€ Shortcut to ensure the resulting x-callback URL is valid.

Tip: For some great examples of how to use x-callback URLs in the Shortcuts app, see how fellow community member @heyscottyj has created a number of daily logging Shortcuts for Agenda that he made available on his website.

2 Likes

Example use cases

https://heyscottyj.com

2 Likes

I canā€™t wait to see MacOS version :wink:

2 Likes

It should be part of macOS 13 Ventura when it ships in October

I was trying to set up a shortcuts workflow where I searched for a note using the Find Note shortcut, and passed the result into Get Note Text to extract the body of the note. Each time I called the Get Note Text shortcut though, I was prompted with a list and had to manually select the note I wanted to extract the text from.

Is this the intended behavior for the Get Note Text shortcut? I made sure only one note was being retrieved.

No thatā€™s not intended, unfortunately that seems to be a bug in the current implementation, itā€™s like what you describe in iOS 16 but in the 16.1 beta it seems to now work as it should, so hopefully resolved soon. Thereā€™s still the issue where feeding a project from Find Project as filter criteria into Find Note doesnā€™t work either, also not get in the 16.1 beta. Iā€™ve filed a bug with Apple for this one.

Update: Apple seems to have addressed these issues in the upcoming iOS 16.1 and macOS 13 updates :tada:

Does it mean itā€™s available on Mac starting macOS 13? macOS12 does not have those Agenda shortcuts?

Correct, they wonā€™t be available in macOS 12 Monterey

Alright, thanks @mekentosj

1 Like

Wow, Iā€™m so excited to see some of this stuff- especially the find-all projects shortcuts!

That said, Iā€™m on iOS agenda 16, but I donā€™t seem to see all of the shortcuts featured here- or rather, I donā€™t see most of them on my phone. For whatever reason, the shortcuts app only shows me a few, very specific actions under the agenda app tab, and using the search bar to try and find more actions turns up nothing new.

Edit x3: I was on an old version of iOS 15. As @heyscottyj pointed out, Agenda shortcuts (and a lot of other apps, seemingly) require iOS 16

Old edits

Edit:
Just realized I am actually on a slightly older version of iOS (15.6.1 instead of 16.2) just bc I havenā€™t updated in a bit. Would that be my issue?

Edit x2:
Iā€™m seeing similarly weird things with other apps- an arbitrary selection of oddly specific actions (eg. message 3 random people in that apps contact list with no mention of the rest of my contacts in that app), with no generic actions listed at all.

Definitely not an agenda issue then. Wonder wtf is going on there. Maybe my old (by apples obsolescence standards at least) phone is just being old. Will update again whenever I do a software update.

1 Like

Itā€™s not you. The Agenda Shortcuts require iOS 16.

1 Like

Yep, an update to 16 got everything up and running. Didnā€™t even realize Iā€™d been sitting on iOS 15 that long. ĀÆ_(惄)_/ĀÆ

1 Like

Hey all. Getting back into this app after being a long time Bear user. I have a shortcut Iā€™ve setup to automatically create a daily note with some info pulled in from the inter-webs. Works great but Iā€™m wondering if thereā€™s a way to automatically assign the date to the note (the date the shortcut is run). Iā€™m using Add Note and I see a Date field. Wondering if thatā€™s where I could do it. Would it be something formatted like, MMMM.dd.YYYY?

1 Like

Yes, you are correct. When you click on that Date field, you should be able to insert the Current Date variable. Once you insert the variable, you will be able to format the date however you like.

Thanks! Doesnā€™t seem to work for assigning the date though. Thatā€™s a bummer. I tried a couple different formats for the date but, when I run the shortcut, I actually donā€™t see my date formatting anywhere

I may have misunderstood. Do you want the date to be the title of the note, or do you want to assign it to today?

Sorry about that. I want to assign it to today. After my shortcut runs, I have to manually assign the note to today. Would be great if it did it automatically!

No worries - just making sure weā€™re talking about the same thing. It should work, though. When you get to the Add Note action and click the Date and time field, are you selecting the Current Date variable?

The Date line should look like this

I made a quick little shortcut to test, and my test note came out assigned to today

I did not change the variable from the default format. Hope that helps!

1 Like

Oh geez! Totally missed that I could put in the Current Date variable! Just tested it and it works. Thanks for the help!

2 Likes