Skip to content

Trello Automations

How to Add an Urgent Label to a Trello Card When a Gravity Forms Answer Says So

Not every request is equally pressing, and a card that stands out saves your team from hunting for the important ones. Zapify can create a Trello card from each Gravity Forms entry and add an Urgent label only when the visitor chose Urgent on the form. It uses the A form is submitted trigger, the Create a card in Trello action, and the Add a label to a card in Trello action with a condition on it. The trigger is free; Trello and conditions are Zapify PRO.

What this automation does

The automation is one trigger plus two actions:

  • Trigger: A form is submitted (GRAVITYFORMS_FORM_SUBMITTED, Gravity Forms)
  • Action 1: Create a card in Trello (TRELLO_CREATE_CARD, Trello)
  • Action 2: Add a label to a card in Trello (TRELLO_ADD_LABEL, Trello), run only when the Priority answer is Urgent

Every entry becomes a card. Only urgent ones also get the label.

Before you start

  • Gravity Forms installed and active, with a published form that has a Priority field, such as a dropdown with Normal and Urgent.
  • A Trello API key and API token. The page Trello actions in Zapify shows how to get both in a few minutes.
  • A label named Urgent on your Trello board. Create it in Trello first if it is not there.

PRO feature

Trello is a Zapify PRO integration and needs a Connection under Settings → Connections. The A form is submitted trigger is free. Putting a condition on one action needs Zapify PRO conditions; see Filters and conditions.

How to build the automation

Step 1: Connect Trello

If you have already connected Trello for another automation, skip to Step 2.

  1. Go to Settings → Connections and click Add New.

Open the Connections tab

  1. Choose Trello, paste in your API key and API token, and name the connection something like Team Trello.

Add the Trello connection

  1. Save, then click Test. Zapify answers Connected to Trello as @yourusername.

See Connections for how this screen works generally.

Step 2: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Flag urgent requests in Trello.

Create a new automation

Step 3: Add the "A form is submitted" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Gravity Forms as the app.

Select Gravity Forms as the trigger

  1. Select A form is submitted.

Select A form is submitted

  1. In the Form field, pick the form. Choosing a form adds a token for each of its fields.

Step 4: Add the "Create a card in Trello" action

  1. Click Add Action.

Add an action

  1. Choose Trello as the app.

Select Trello as the action

  1. Select Create a card in Trello.

Select Create a card in Trello

Set the Board, List, Card title (for example Request: {{trigger:FORM_TITLE}}) and Description (the All fields token) as in creating a Trello card from a form.

Step 5: Add the "Add a label to a card in Trello" action

  1. Click Add Action.

Add an action

  1. Choose Trello as the app.

Select Trello as the action

  1. Select Add a label to a card in Trello.

Select Add a label to a card in Trello

Step 6: Configure the label action

Field Required What it does
Connection Yes The Trello connection from Step 1.
Board Yes The same board as the card. Choosing it fills the Label dropdown.
Card Yes Click {} and choose Card ID from the Create a card in Trello action.
Label Yes The Urgent label.

Step 7: Only label urgent entries

Open the Add a label action and add a condition so it runs only when the form's Priority answer is Urgent. Pick the Priority field's token, set the comparison to is and type Urgent. The card from Step 4 is still created for every entry. See Filters and conditions for where conditions go and how they behave.

Step 8: Set the steps Live and save

Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.

  1. Set the trigger and every action to Live.
  2. Click Save.

Set the automation live

Step 9: Test it

Submit the form once with Normal and once with Urgent. Both create a card, and only the second gets the label. Check Zapify → Logs if a label is missing.

Tokens you can use

Token What it holds
Form title / Form ID Which form was submitted.
Entry ID / Submitted at / Source URL The entry, when it arrived, and the page it came from.
All fields Every answer in one block of text.
One token per field Appear once you choose a specific form.

Conclusion

By creating the card first and putting a condition on the Add a label action, you flag only the entries that need attention. For everything else Trello can do in Zapify, see Trello actions. For a free way to react to one answer without conditions, see sending an email when a Gravity Forms field value matches.

FAQs

How do I add a Trello label automatically?

Use the Add a label to a card in Trello action in Zapify PRO. Pick the board and the label, and use the Card ID token from an earlier Create a card action as the card.

Can I add a label only for some form answers?

Yes. Put a condition on the Add a label action so it runs only when a form field has the value you want. Conditions are a Zapify PRO feature.

Is this free in Zapify?

The Gravity Forms trigger is free. The Trello actions and conditions need an active Zapify PRO licence.

What if the card already has the label?

Nothing breaks. Zapify reports success and leaves the card as it is.

Do I need to write any code?

No. Everything is set up in the Zapify visual builder.

Was this page helpful?