Loop to find multiple Asana tasks where there is no Asignee
hello. looking to create a zap where it will look at my asana board and send a slack message identifying (asana) tasks that have no assignee. the FIND TASK in asana seemed to work - but the problem is that it will only return 1 task - - it will not loop to check for others. i tried the loop app as well , but that doesnt seem to work either. any suggestions?
here is the gist of my zap - -
Connect to asana board find tasks with no assignee send slack message
just cant get it to loop
Page 1 / 1
Hi @Joe1024 ,
Move action 3 above Looping by Zapier action and then you will be able to loop
thank you @jayeshkumarbhatia - - but wouldnt that just find the first asana task and repeat the tasks below it (for the first task it finds) - - just asking cause that (ASANA) FIND TASK IN WORKSPACE just looks / finds the first task and then performs the rest of the actions and exits. thats been my experience with the FIND ….
Hi there @Joe1024
thank you @jayeshkumarbhatia - - but wouldnt that just find the first asana task and repeat the tasks below it (for the first task it finds) - - just asking cause that (ASANA) FIND TASK IN WORKSPACE just looks / finds the first task and then performs the rest of the actions and exits. thats been my experience with the FIND ….
That’s correct, the Find Task action would only find a single task. So if you’re wanting to use that action to find a different task in each loop iteration then the Find Task action needs to be left inside the loop. However, unless the Create Loop from Numbers action is supplying the Find Task action with unique values to search for in each loop iteration, then it’s always going to return the same task every time it loops.
What would work better is to have a search action placed before of the Looping action which is able to retrieve multiple tasks that are unassigned. Then you’d change the Create Loop from Numbers action to a Create Loop from Line Items action instead and carry out any necessary actions for each task that is found.
Right now, there isn’t a ‘Find Multiple Tasks’ type of action available, but I’ve added your vote to the existing feature request for that to help increase it’s priority. While I can’t guarantee if or when it will be added, we’ll be sure to notify you via email once it becomes available!
In the meantime, I’d suggest trying a custom action to create a new action to retrieve multiple tasks via Asana’s Get multiple tasks endpoint:
It has an AI-powered Copilot that you can give instructions to help generate the necessary setup. You can learn more about that here: Create a custom action.
Hope that helps. If you run into any issues in setting up that custom action just let us know—happy to assist further!
yep - thank you @SamB - thats exactly what i did ==> Custom actions and tried the AI to create the code
fairly easy too - - - just prompt the AI with what i need & it pumped out the code & seemed to work so far.
That’s fantastic news @Joe1024! I’m so glad using a Custom action did the trick.
If there’s anything else you need help with do let us know. In the meantime, happy Zapping!