Fixing DT iOS shortcut

Hi, maybe a stupid question, but would love any help.

I am trying to set up am iOS shortcut so I can (automatically, that is the next step) get a weekly rundown of my prior week’s work notes to review. I’m first making this iOS shortcut, but it only gives me the titles of the notes, omitting the text from inside. Does it lack that capability, or am I missing a step? Thanks!

(it won’t let new members upload pics so here is the description)

1.	Search for Items in DEVONthink:
      •	Action: Search for
      •	Query: additiondate:this week
      •	Group: WORK
2.	Repeat with Each Item:
      •	Action: Repeat with each item in Items
3.	Set Variable:
      •	Action: Set variable DT variable to Items
4.	Combine Text:
      •	Action: Combine DT variable with New Lines
5.	Show Result:
      •	Action: Show Combined Text

I think you need to use the

Get content of item

To get what’s inside the notes.

Edit: Proof of concept
This worked for me but it would need some tidying up of the result. I couldn’t get it to make a new markdown file in DevonThink so I just had it make a text file in iCloud from my phone. If I were to keep developing this I would try to get the item name and/or UUID and construct a link to the source document for every file.

Thanks so much for this. Appreciate you taking the time.
So here’s a weird one - when I set this up it says:

Could not run Get Content of Item
The operation took too long to complete. Please try again.

I changed it to “:yesterday” to see if it was a volume issue, and it does the same thing… hmmm

I don’t know why that is. Have you tried force quitting shortcuts? That seems to help with weird fails, even shortcuts I run daily for months can fail with similar messages for no reason.

Here’s an approach…

https://www.icloud.com/shortcuts/3a81390ed5c940b8ba397b6a442f895f

1 Like

Thoughts & Thank You


You need to copy the item link of the document you want to append to and put it in this step…

1 Like