Best answer

Trello Custom Label - New is always added


Userlevel 1

I put the custom label ‘Shift Log’ in my Zap and expect it to add the preexisting label ‘Shift Log’ which is already on the board to the card. Instead, it ALWAYS creates a new ‘no-color’ label ‘Shift Log’ even when one already exists.

 

How do I get it to add the preexisting label? Any help?

(example)

icon

Best answer by Liz_Roberts 18 May 2020, 16:06

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.

37 replies

Userlevel 7
Badge +14

Hi @Sdarity 

FYI: Most apps on Zapier are built and maintained by the app developers themselves, not by Zapier, altho I’m unsure who owns the Trello Zap app integration as there is no public list available.

IF Trello owns and maintains their Zap app integration, then the responsibility would be for Trello (aka Atlassian parent company) to fix the issue, as Zapier is a platform for app developers to build upon.

Zapier makes app developers aware of submitted issues and feature requests related to their Zap app integration.

 

Best to submit a ticket with Zapier Support to have your feedback properly logged: https://zapier.com/app/get-help

This thread is 2 years old, and I’m still having the same issue. This is a fundamentally unacceptable way to handle a known bug

Hi all, 

What I did with mine as a workaround was on my Zap in the Description field, I added/inserted the label field from my data (i.e Priority). Note that in my case I am using Google Sheets and only use about three labels, so you may be using something completely different and have more or less labels. 

Then, on the Trello board I created an automation rule that when the description of a card contains "Low - Can be completed after other tasks.", add the blue "Low - Can be completed after other tasks." label to the card.

This helped to automatically add the label to my card without Zap creating duplicate labels. I used Zapier to pull in the data to create the card and automated Trello to add the label.

I know this is an old reply but this workaround is really great -- thanks @viv123 !

Hi @BrockStClair 

The Zap step config design is based on the app API endpoints, so every app is a little bit different.

Often times when using the UI this seems more seamless because behind the scenes the apps are handling the multiple API requests to do each of the micro tasks to, for example, create the card and add a label.

The more advanced approach would be to explore the Trello API to determine if there are end points available that can simplify the Zap steps, but using app APIs is an advanced approach.

App APIs can be used with the Webhooks app as an action step or in Code steps.

In theory multiple API requests could be made within 1 Code step, but again that’s an advanced approach.

Thanks for the quick response @Troy Tessalone -- I’ve done some light work with Webhooks and will definitely look in to this.

Userlevel 7
Badge +14

Hi @BrockStClair 

The Zap step config design is based on the app API endpoints, so every app is a little bit different.

Often times when using the UI this seems more seamless because behind the scenes the apps are handling the multiple API requests to do each of the micro tasks to, for example, create the card and add a label.

Also, most apps on Zapier are built and maintained by the app developers themselves, rather than by Zapier, altho I’m unsure who owns the Trello Zap app integration.

 

The more advanced approach would be to explore the Trello API to determine if there are end points available that can simplify the Zap steps, but using app APIs is an advanced approach.

App APIs can be used with the Webhooks app as an action step or in Code steps.

In theory multiple API requests could be made within 1 Code step, but again that’s an advanced approach.

Hi all -- hate to revive a thread this dead but I’m also, still, having this issue.

 

For a while, all you needed was an “Add Label to Card” action and it would give you a selection of all the custom labels on your board to choose from (my older automations still work this way). IMO it’s already silly to need to use 2 actions to create a card + assign a custom label (especially considering the “custom label” field on the Create Card action that doesn’t really work), but now the “Add Label” action shows “unable to load choices” -- so you’re forced in to @Troy Tessalone’s solution, which is 3 actions per new labeled card.

 

My company generates a custom-labeled Trello card for every project we work on, and this 3-action workaround is devouring our tasks quota. Very frustrating. Any help is appreciated, happy to answer questions!

Userlevel 7
Badge +11

Hey there @smm! I’ve added you to the list of users who are still being affected by this issue. I can’t give any promises as to when it will finally be resolved but we’ll definitely be in touch by email as soon as it is.

In the meantime, it looks like you were able to get a workaround implemented with help from @Troy Tessalone! :)  

Badge

@Troy Tessalone Thanks for suggestion. That was what I needed.

Userlevel 7
Badge +14

@smm

If you have a variable number (1+) of Labels to add, then you can use the Looping app in the Zap: https://zapier.com/apps/looping/integrations

 

Zap Steps

  1. Trigger: ???
  2. Action: Trello - Create Card
  3. Action: Looping
  4. Action: Trello - Find Label
  5. Action: Trello - Add Label to Card
Badge

@Troy Tessalone It worked but only if there’s just one label for a card. It doesn’t work for comma separated list of labels like custom labels do (but it always creates new labels which is the whole point of this thread).

Userlevel 7
Badge +14

@smm 

I was able to test successfully with all 3 variables mapped to the final Zap step (Add Label).

Perhaps try turning the Zap ON and testing live, then check your Zap Runs: https://zapier.com/app/history/

Badge

@Troy Tessalone 

Everything is fine if I point an existing card instead of using card id custom field.

I even tried to add a delay between creating a card and adding a label but with no success.

Userlevel 7
Badge +14

@smm

This error message makes it seem like one of the 3 mapped variables no longer exists, meaning either the Trello Board, Trello Card, or Trello Label were deleted.

Make sure to manually test each of your Zap steps again in order from the Trigger step.

 

Badge

@Troy Tessalonesame error

It seems that card id is the problem here.

Userlevel 7
Badge +14

@smm 

Try to select the Board instead of mapping the variable for the Board ID.

 

Badge

@Troy Tessalone 

step 1: ingest data

step 2: create card (works great without further steps)

step 3: find label id by name from step 1 (also no problems here)

step 4:

 

Badge

@Troy Tessalone Also when I test this 4 step solution I got an error: The app returned "The requested resource was not found.". even though it seems to find all required data.

Userlevel 7
Badge +14

@smm 

Please post screenshots with how your Zap steps are configured with the variables mapped between Zap steps in order for us to have context, evaluate, and advise, thanks.

Badge

@Troy TessaloneI tried but I got ‘ The app returned "invalid value for value". ‘ error.

According to common problems with Trello this shouldn’t have happen:

Error: Invalid Value for Value

This error message can happen if you set a custom text value in the Label field. Changing it to a default color from the dropdown should solve the issue. If you want to dynamically set the label, you'll need two extra steps:

  • Find/create label (searching on the label name from a previous step)
  • Add label to card
Userlevel 7
Badge +14

Hi @smm 

To be clear, IF Trello owns and maintains their Zap app integration, then the responsibility would be for Trello (aka Atlassian parent company) to fix the issue, as Zapier is a platform for app developers to build upon.

Zapier makes app developers aware of submitted issues and feature requests related to their Zap app integration.

 

Have you tried using the Trello Add Label to Card Zap Action, which supports the Trello internal Label ID found from the Trello Find Label Zap action?

 

Zap Steps

  1. Trigger: ???
  2. Action: Trello - Create Card
  3. Action: Trello - Find Label
  4. Action: Trello - Add Label to Card

 

 

In order to do this in 1 action step, you’d have to use the Trello API: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post

App APIs can be used in Zap steps with the Webhooks app as an action step: https://zapier.com/apps/webhook/help

NOTE: App APIs are advanced approaches to Zap configs (hence why Zapier exists to democratize the use of app APIs and webhooks), and not fully supported by Zapier Support.

 

If you still have feedback, then it would be best to open a ticket with Zapier Support related to this issue: https://zapier.com/app/get-help

Badge

@Troy Tessalone Also this whole adding additional step to add label just looks like unnecessary action multiplication which is calculated on the multiplication of costs on the client side.

Badge

@Troy Tessalone it always ends with ‘ The app returned "The requested resource was not found.". ‘ error.

Badge

@Troy TessaloneYes, it finds label ID, but I can’t use this ID to add a label to the card in the Create Card in Trello step.

Badge

@Troy Tessalone As a customer I don’t care who is responsible for this problem. I want a working product and I’m not getting one. Seeing that this problem wasn’t fix for so long doesn’t make you optimistic about the future. For now it looks like your approach to a malfunction of your product is to pass the problem on to the customer and do nothing to resolve the reported problem. I would like to point out that this is not a hobby project and you are charging money for it.

Userlevel 7
Badge +14

@smm 

I just successfully used the Trello Find Label on Board Zap action.