Page 1 of 1

Only overlay a template when G2 does not exist

Posted: Wed Oct 11, 2023 9:56 am
by aottilo
I am trying to only run an automation to apply a template when the contact code G2 does not exist. I am trying to do through the automation wizard and only use a code snippet for the one check for G2. I need help writing a code snippet to add in so that it only runs when there isn't a G2.

Re: Only overlay a template when G2 does not exist

Posted: Wed Oct 11, 2023 11:05 am
by vmrvichin
You should be able to get a count of the number of items in the Governments list if there are 0 or 1 in that list, then there is no G2 contact. Based upon that you can then apply your template.