Jump to content

Asana Workflow

Recommended Posts

Hi everyone,


here is a workflow for Alfred integration with Asana. It integrates through concept of GTD. Also it integrates with AnyBar and Atlassian Jira. It is quite advanced so check the documentation here: https://jotc.herokuapp.com/software/alfred_workflows#asana_workflow. It basically looks like this:



It is written in Ruby, dependencies are listed in readme with guidance.


THE WORKFLOW IS DEPRECATED. I use now an alternative written in Golang but it doesn't include a cloud solution (thus not synced between mobile and computer) so I don't offer it yet.


Have a nice day  :)



Edited by Joe7

Share this post

Link to post

I want to use this so bad, but I can't seem to set it up right. 


I used the set up command like this:


Set up Asana personalaccesstoken:myproject


Is that right? When I add tasks afterward, they don't show up. 

Share this post

Link to post

Hi b_d_m_p,


glad to hear that you are interested :-).


The command for setting up the credentials is: set:asana:credentials personalaccesstoken:workspace_name - not project. You have tried this?


What do logs say? You may find them here $HOME/Library/Application Support/Alfred 2/Workflow Data/com.herokuapp.jotc.asana/asana.log. Also you may find next to the log file a config file into which the workflow saves the data.


Have a nice day :-).



Share this post

Link to post

Hi Joe, 


Thanks for this workflow. Unfortunately, I don't succeed in the synchronisation. An error notification appears and says to check the logs, which are as follow:


undefined method `[]' for nil:NilClass,

.../Alfred 3/Alfred.alfredpreferences/workflows/.../helpers/sync_helper.rb:78:in `insert_due_today_into_today'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../sync_asana.rb:24:in `block in <top (required)>'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../helpers/asana_helper.rb:35:in `communicate'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../sync_asana.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
-e:1:in `<main>'
Any hint to make it work?

Share this post

Link to post

Hi Emmanuel,


I am very sorry for the late reply. From the error it seems that you don't have created Today project or synced it with the local configuration. Contact me on Skype, if you will, joe.erneker, we can solve it easily I believe.





Share this post

Link to post

Please don't ask users to install gems globally to make your workflow work. It's bad practice and user-unfriendly.


There's a good chance your workflow will break something else, or that some other software doing the same suspect thing will break your workflow (because they require different library versions, and Ruby doesn't support versioned libraries).


Please bundle any dependencies with your workflow. That way it will work out of the box, won't cause problems with other software, doesn't require users to mess about in Terminal, and it will also sync seamlessly between machines. And when you update the dependencies, users won't have to go through it all over again. They can just install the new version of the workflow.

Share this post

Link to post

After a long time not using Asana, I decided to give it another go.

I couldn't make the workflow work as I couldn't add my Asana API key. 

As the API will be deprecated, I think it is time to definitely say goodbye to this workflow ?


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...