Best answer

How do I dynamically add a new comment to the task in Asana?


All of my zaps are run as my user in Asana. Specifically when adding a new note to a task the note appears to be coming from me instead of the person that triggered the zap.

Unless I am missing something there does not appear to be a way to dynamically choose the Asana account the zap step is using.

icon

Best answer by Troy Tessalone 12 May 2022, 01:48

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +14

Hi @jaduben 

Good question.

That is correct the Zap step app account cannot be dynamically selected.

Believe you mean Task Comments, rather than Task Notes/Description.

 

From the Asana API: https://developers.asana.com/docs/create-a-story-on-a-task
Adds a story to a task.
This endpoint currently only allows for comment stories to be created.
The comment will be authored by the currently authenticated user, and timestamped when the server receives the request.

 

Depending on how many Asana Users you have, you may want to consider using Zaps w/ Filter conditions per User where the Asana Steps have the desired User account connected.

You’d have to authenticate each User account in Zapier here: https://zapier.com/app/connections

Yes that is what I was referring to. Does that mean I would need to have a separate Zap for every user in Asana? That seems really inefficient...

Userlevel 7
Badge +14

@jaduben 

Yes, else you’ll have to manage API Keys and authentication for each user with a much more advanced approach using APIs and Code.

How would I accomplish this? It seems less than feasible to set up a separate webhook for every user in our application, and the conditional run is limited to 5 branches.

Userlevel 7
Badge +14

@jaduben

I’m not a fan of using Paths due to the current limitations.

You can chain Zaps together using Webhooks. (e.g. 1:Many)

You’d need 1 Zap per Asana User involved that has their Asana account authenticated in Zapier here: https://zapier.com/app/connections

 

Concept is

Zap 1

  1. Trigger: Asana
  2. Action: POST Webhook
    1. Check this help article about how to trigger multiple webhooks in 1 request:

 

Zap 1.X

  1. Trigger: Webhook - Catch Hook
  2. Action: Asana
    1. Asana app account for User X

 

Repeat for each Asana User