Conditionally change text color in Google Slides

GOAL:
User fills out a form. If a result is 1 then I want to display “PASS” in green on a Google Slide. If it is 0 then I want to display “FAIL” in red.

Where I’m at:

I have a template tag {{test_result}} in my Slides slide.

It updates fine with PASS or FAIL when the scenario is run

I have searched everywhere and cannot find a way to change the COLOR of the text in the slide based on this PASS/FAIL position.

Can anyone help me?

Hello!
Welcome to the Make community!!

One idea is to have 2 labels, one on top of the other, with the relevant color
2024-06-11_17-05-36 (1)
This animated Gif shows that I created “result_failed” and “result_passed” in different color, overlapping each other

Then in Make


This if Passed


This if failed

Example result

And since your data comes from another field, it could look like this

Benjamin

3 Likes

THANK YOU SO MUCH!

This is awesome. You are awsome.

Awesome awesome awesome!

You are far too kind and what a high-fidelity reply.

I’m brand new here and I feel so welcome. Kudos!

3 Likes

Your feedback is really nice!! Thanks a lot!

It’s always a pleasure to help others!

Enjoy Make!

Kind regards

Benjamin

2 Likes