Skip to main content
Day variables Guide

Customizing Time of Day in Your Emails

P
Written by Pipl.ai Support
Updated over a week ago

Customizing Time of Day in Your Emails

To add a personalized touch based on the time of day, simply insert the following into your email copy:

Good {{pipl_time_of_day}}

This will automatically convert to "Good morning," "Good afternoon," or "Good evening" based on when the email is sent, adjusted for the specific campaign timezone you’ve selected. The segments are defined as follows:

  • Morning: Emails sent before 12 PM

  • Afternoon: Emails sent between 12 PM and 3 PM

  • Evening: Emails sent after 3 PM

Note: Always review the final email to ensure that the variables are displaying correctly.


Adding the Day of the Week

To personalize your emails with the day of the week, use this variable:

Happy {{pipl_day_of_week}}

This will translate to "Happy Monday," "Happy Tuesday," and so on, depending on the day the email is sent.


Incorporating Custom Dates

You can also add custom dates to schedule meetings or calls with your leads:

  • {{pipl_date "2 days from now" "MMMM Do YYYY"}} β†’ August 15th 2024

Examples

Here are some more examples of how you can use date variables:

  1. Add 2 days from now:

    • {{pipl_date "2days"}} β†’ 15 Aug 2024

  2. Subtract 2 days from now:

    • {{pipl_date "2days ago"}} β†’ 11 Aug 2024

  3. Add 2 days in a specific format:

    • {{pipl_date "2days" "Do MMM"}} β†’ 15th Aug

  4. Add 2 weeks from now:

    • {{pipl_date "2weeks"}} β†’ 27 Aug 2024

  5. Add 2 months from now:

    • {{pipl_date "2months"}} β†’ 13 Oct 2024

  6. Add 2 years from now:

    • {{pipl_date "2year" "MMMM Do YYYY" }} β†’ August 13th 2026


Skipping Weekends

If you want to skip weekends (Saturday and Sunday) and move to the next weekday when adding days, use the following format:

{{pipl_date "now_wd 2Days" "Do MMM"}}

In this case, "wd" stands for "weekday."


Explore More Formats

We use Moment.js for date formatting. Feel free to explore different date formats that suit your needs.

This flexibility allows you to effortlessly include forward or backward dates in your communications with leads.


Final Note

It's imperative to use the 'Preview Email' & 'Test Email' functions before finalizing or sending your actual campaign email.

This step ensures that your email's formatting is accurate and that you've adhered to the guidelines and constraints of spintax formatting.

Missteps in formatting can lead to errors or unintended email content, undermining the communication's professionalism and clarity.

Did this answer your question?