Finally I can launch a project I wanted to do for quite a while. After a few months of work I’m happy to release Draftist - a Drafts Action Group for integrating with Todoist.
The Action Group contains a lot of Actions to let you…
… Create Tasks (from easy quickadd to complex tasks with settings; single or multiple)
… Import tasks (in various options)
… Modify tasks (labels, due dates, resolve/delete tasks)
Being inspired a lot by @sylumer 's TADpole / ThoughtAsylum Drafts Library I also implemented this using a Javascript file with all the underlying functions and then building the Actions from it.
You can download the Action Group from the Action directory here: Draftist Action Group
The code and also all Action Descriptions and Instructions are hosted in the GitHub repository here: Draftist GitHub repository
Make sure to run the Draftist Setup/Update Action after downloading the Action Group into your Drafts App.
Several of the Actions allow (and require) user configuration of e.g. Todoist filters - I tried to make this as easy as possible for everyone.
If you have problems during the setup, configuration or usage of the Actions please let me know.
Also if you have other usecases you want to automate with Draftist I would be interested to hear them and try to include them in future versions.
I hope that Draftist simplyfies and speeds up many of your workflows and helps to remove friction from your processes.
Fantastic work. Much appreciated. Would you consider making similar, easy to setup action groups for Notion and Airtable? Once again this is excellent. Thank you.
I personally don’t use Notion / Airtable - I never found a real usecase for Airtable for myself and just tested Notion a bit but I didn’t like the experience. So I don’t think I’ll built something for those Apps at that scale of complexity
This seems great, thanks for sharing it. I can’t get any of the “import” actions to work though.
“Import todays tasks” gives these errors:
get tasks from filter "overdue, today" failed: HTTP Status 404: Not Found, Response: 404 page not found
Script Error: TypeError: undefined is not a function (near '...task of tasks...')
Line number: 919, Column 12
The actions “import from selected label” and import from selected project will correctly provide a prompt with my available labels and projects, but then fail to return tasks, instead giving an error.
get tasks from filter "@week" failed: HTTP Status 404: Not Found, Response: 404 page not found
That should not happen…
It’s working for me (just tested it)
Can you please try to forget your credentials (see the post from @sylumer above.
And try again?
It should ask you to store your credentials in Drafts again…
Also please try to add a task to todoist with one of the Draftist Actions and let me know if this works
I don’t know if this is relevant… I would assume that it doesn’t make a difference regarding the requests to the Todoist API.
do you get the same response that you posted earlier?
What Drafts App version are you running?
Did you try it on macOS and iOS and got the same results?
I just want to try finding differences / parts that could cause problems
I expected the v2 Switcher for Drafts to be released later this year - this can cause problems right now as @agiletortoise mentioned in that comment, too.
I’m currently „Out of Office“ and traveling so won’t be able to start upgrading Draftist to v2 until probably mid October - sorry about that!
I‘ve finally started working on updating Draftist and migrate it to the new REST API version.
Unfortunately it requires a lot of changes in the code so its not just a quick edit
If you have any other feature requests just let me know
I shared that I updated on Twitter to hopefully reach most people using it. The version switch broke especially the label stuff and I don’t want that people rely on it and it’s not working anymore
so if you RT this I’ll appreciate it: https://twitter.com/flohgro/status/1581966768322379777
This is an error I fixed with the update. @derekvan did you perform the update on one device and maybe tried it then on another (maybe the file wasn’t synced before)?
When you run the „Draftist Setup/Update“ Action you have to select the „Update Drsftist.js“ option in the prompt:
can you confirm that you selected this? And otherwise please run the update again and test your configured action.
If it still doesn’t work you can assist me finding the potential bug as follows:
Fontina this path on the device where you updated and open the file „Draftist.js“ in files:
Ok, it seems to be working now, sorry for the report. I did update before following the prompt and received a confirmation. Perhaps it took a longer time for the full js file to download to my device. I was using just one device to do the update and test the action. At any rate, it works, thank you.