Skip to main content

Hi,

I have a HTML Gmail template to send out to my clients, and I need the content to adapt to the value that I pulled from Airtable. (All texts in blue are pulled from Airtable)

I am trying to achieve this kind of conditional statement:

IF A < 30, Add “- Failed” after A and Turn “- Failed” into colour Red

 

I tried to use Zapier Path, but this will end up with so many paths I have to created. If I have 5 tests, I will need to make 25 paths. Is there a smarter way to achieve this? Does Javascript works with HTML in Gmail?

------------------------------------------------------------

<!DOCTYPE html>
<html>
<head>

<h1>The template looks like this:</h1>

</head>

<body>

<p>Hi xxx,

Thanks for taking the speed test with us. Our findings indicate that some of your speed doesn’t match with our criteria: </p>

<p>

Speed A - Failed <br>

Speed B - Passed <br>

Speed C - Passed  <br>

Speed D - Passed  <br>

Speed E - Passed  <br>

</p>

 

<p>Thank you.</p>

</body>
</html>

------------------------------------------------------------

Does Javascript works with HTML in Gmail?

No, but you could use a Code step in the Zap that utilized Javascript: https://zapier.com/apps/code/help


@Yichi 


Just checking in to see if you still need help with this?