This post is also available in: Português
This tutorial will guide you through the process of adding simple logic to your email signatures using Bybrand, allowing you to create dynamic signatures for employees that only display phone numbers when they’re available.
By following these steps, you’ll learn how to customize your signatures to present a clean, professional appearance while ensuring that contact information is only shown when not empty.
Video:
Adding simple logic to signatures with automation
First, Log in to your Bybrand account. Navigate to the department where you want to edit the signature. Then, Click on the signature to open the editor.
In the signature linked to the department, find the area where the phone number is displayed. Identify the placeholder used for the phone number (e.g., {{phone}})
Add conditional logic
- Surround the phone number placeholder with conditional tags
- Use the following format: {{#phone}}Phone: {{phone}}{{/phone}}
- This ensures the field only appears when it’s not empty
{{#phone}}Phone: {{phone}} {{/phone}}
Example for the mobile placeholder (if applicable):
- Locate the mobile number field in the signature
- Apply the same conditional logic: {{#mobile}}Mobile: {{mobile}}{{/mobile}}
{{#mobile}}Mobile: {{mobile}} {{/mobile}}
After adding the conditional logic, save the signature and back to employees list.
Test the Signature
Check employees with and without phone numbers. Verify that the phone field only appears for employees with a number entered.
Additional Notes
- The logic follows the Mustache Tags rules.
- This conditional logic can be applied to any placeholder in the department signature
- Always test thoroughly before deploying to ensure the logic works as expected
- Guide: How to create hyper-personalized HTML signatures