Conditional Personalized Fields
How do I create personalized fields that are conditional upon the content of the other fields?
This article describes how to create conditional personalized fields where the content of a new personalized field is determined by filtering an existing personalized field.
In Google Sheets, create a new column for the conditional personalized field.
Enter the conditional logic formula in the first cell of the new column.
Apply the conditional logic formula to the rest of the cells in the column by dragging the first cell downward from the bottom right corner.
In the example below, conditional formatting is used to determine the customer's title for each row, depending on the gender for the row. The new column is called Title and the conditional logic formula states that:
If the gender in cell B2 is M, then enter Mr in cell C2.
If the gender in cell B2 is F, then enter Ms in cell C2.
In the WhatsApp message template, insert the conditional personalized field as required.
In the example below, *|Title|* and *|Name|* are inserted next to each other with a space inbetween them.