Help using Drafts Script by sorashima

There is a Drafts script that sends a Draft to Dynalist’s inbox via the API. However, I don’t know how to use it and the user sorashima didn’t leave any contact information. The main question is where to enter the Dynalist Secret Token? The script says you need it, but doesn’t tell you where to enter it. I’ve tried a few different locations, but always get an error message. I’m pretty sure it goes in the first three lines somewhere:

var credential = Credential.create("Secret Token of Dynalist", "Dynalist");
credential.addPasswordField("token", "Secret Token");

Anyone know? Thanks!

1 Like

So my mistake was to try to enter the token into the script manually. It asks the first time you run the script. I just had to delete the credential in the preferences and run the script again to get it to work!

Now to try to play with it to see what else is possible with the API in Drafts…


Cool! I’ll mark it as resolved then :slight_smile:


Hi Erica, is it possible to obtain the Diary page (same formatting, etc.) directly in Dynalist? without starting in Drafts…

Diary page? I’m not sure I understood the question

User Sarashima posted a Drafts action to add a line in Dynalist as a Diary… my request is how to add automatically lines as a Diary directly in DYnalist?

You can type your journal (diary) directly into dynalist.

I’m sure I’m still misunderstanding the question though

Dear BigChungus, thanks first of all…
The problem is that I am a newbie of Dynalist and I don’t know how to do it…
It involves template creation, for instance?
I would like to add:

  • Date
  • title
  • notes
    and if I add a second item it will merge with same day items?


To make a new item by template, you would need a Pro account to set the hotkey for Insert Template

First you would make an item that you want to duplicate, move it somewhere out of the way, then go to where you want to duplicate it to, press the hotkey, type a few letters from it in the search box, and select it.