Skip to main content
Best answer

Is it possible to update Asana task based on Slack reaction?

  • October 24, 2024
  • 18 replies
  • 112 views

Forum|alt.badge.img

.. so i have the asana task in - - from a slack message (slack automation) - - so now i react to that message in SLACK :eyes: and i need to update its corresponding ASANA task - - -

 

so im trying a ZAP - - where im stuck is finding that asana task (in zappier) to match the message that was reacted to

 

& im stuck where i cant find that ASANA task ID

 

 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Best answer by Troy Tessalone

@Joe1024

You can use a few of Formatter Zap action steps to parse out the desired Asana Task ID value.

  • Action: Formatter > Text > Split
    • Split at: Asana Task ID:
    • Keep the last segment
  • Action: Formatter > Text > Split
    • Split at: >
    • Keep the first segment
  • Action: Formatter > Text > Trim Whitespace

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

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

18 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • October 24, 2024

Hi @Joe1024 

For us to have more info, post screenshots showing an example of the message from Slack and screenshots showing the DATA OUT from the Zap trigger step that you are trying to use to get the Asana Task ID.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • October 24, 2024

@Joe1024

For the Asana Assignee that will need to add this Zap action: Asana - Find User (by Email)

This will return the Asana User ID to map to the Assignee field.

Help for how to map dynamic variables to dropdown fields: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

thanks @Troy Tessalone  - - - what im looking to do is to get the ASANA task that was created by the SLACK workflow - - - and when i react to that SLACK message - - - i want that corresponding asana task to update the ASSIGNEE to the user who used the reaction

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • October 25, 2024

@Joe1024 

Help us have more info by posting screenshots showing a specific example of the message from Slack and screenshots showing the DATA OUT from the Zap trigger step that you are trying to use to get the Asana Task ID.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

sure - - - i’ve used a few of the SLACK options in zapier - - and nothing seems to tie back - - here’s a quick ss - - lemme get that other ss for you

 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

i used the Message Ts var - - - and here’s the error

 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • October 25, 2024

@Joe1024

We need to see screenshots showing the full Slack message text that contains the Asana Task link that you are trying to get the Asana Task ID from.

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

okay - sorry about that @Troy Tessalone  - - just getting my feet wet with zaps


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

i hope this is what u r after

 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • Answer
  • October 25, 2024

@Joe1024

You can use a few of Formatter Zap action steps to parse out the desired Asana Task ID value.

  • Action: Formatter > Text > Split
    • Split at: Asana Task ID:
    • Keep the last segment
  • Action: Formatter > Text > Split
    • Split at: >
    • Keep the first segment
  • Action: Formatter > Text > Trim Whitespace

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

okay - - i’ll give that a “go” - - and report back - - thank you again @Troy Tessalone 


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

something like this ?

 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

so i think i have something here - lol … i took your advice on the text split - and since im posting the asana task ID in the slack message - - im just parsing that - - - im using the  / as the seperator and taking the last chars after that - - and that leaves me with the asana ID to grab for the following zap steps

 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 25, 2024

 

 

@Troy Tessalone Hi 👋 - - so i got this working but someone else on my team reacted to a slack message an the associated asana task was not updated

 

when i go to test the zap - - that message is not coming up in the results - - where did i go wrong here?

 

under new requests - - the Assignee is not set , based on SLACK 👀 reaction

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • October 26, 2024

@Joe1024 

Check your Zap Runs history details for activity to see the DATA IN/OUT for each step to help you troubleshoot: https://zapier.com/app/history/


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 28, 2024

thank you @Troy Tessalone i found that log to be helpful - - i updated my step in the last screen-shot where i am looking for USER ID.  so instead of doing of EXACTLY MATCHES for each ID - i changed it to a TEXT IN and just copied the IDs in and comma-seperated .  that seems to work so far - but will report back if there are any issues.  

 

next up - is i want to sync comments between slack and asana - i’ll search on the forum on tips n tricks

 

thank you again


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • October 28, 2024

@Troy Tessalone wanted to give you another update + the community here - hopefully it will help someone else

so i also saw that the reason my asana task wasnt being assigned when someone (on my team) used the 👀 reaction in SLACK to a message - - - was that i had a rule to assign the  in asana to the SLACK User Email - - which for all intents and purposes should match that of ASANA - - but it didnt for one user on my team so it was failing - - have to ask him to update his ASANA ID to match his SLACK ID email .. .. 

btw - i think this topic is all sorted for me - - thank you again.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 9676 replies
  • October 29, 2024

That’s fantastic news @Joe1024. Thanks so much for sharing that update here, it’s much appreciated! 🤗 And well done on getting it fixed - great work! 🙌 

If you run into any further troubles or questions please do reach back out to the Community. 

In the meantime, happy Zapping! ⚡