For the Drip snippet newbies: βContent Snippetsβ are a feature in Drip which allow you to re-use content on any of your emails. In your snippets, you can use big blocks of Liquid (the syntax you use to personalise Drip emails), which makes personalisation so much more manageable.
In my last post, I shared my epic greeting snippet, for Drip. That snippet, like this one, greets your subscribers differently based on their time of the day, date or day – which is great for automated transactional emails (that could go out whenever) or even broadcasts sent to timezones all over the world. So this snippet is pretty similar to the last one, but it’s for goodbyes.
One thing I noticed while setting this up – there are many more ways to say goodbye, and it’s a great spot to add extra time and day based personalisation to your emails.
So this is how it looks when you drop it into the Drip email editor:
This new snippet allows you to add a day name and first name into the different sign-offs like this morning based sign-off:
Another morning sign-off:
An evening sign-off:
This one is fun, it only goes out on a Saturday:
A few more, there is a unique sign-off that goes out on new years day and this sign-off goes out new years eve and yes, the year is dynamic:
And there’s a Christmas sign-off too:
You could add anything into this really, even gifs! It accepts line breaks too, just add <br><br> into your sign off for a paragraph break.
So now that you’ve seen a preview of how it looks, here is the snippet! Make sure you read through it and personalise the sign-offs.
Update!!!
I’ve created a tool so that you can easily create and customise this snippet, you can find it here: Epic Greeting Generator
Here is the snippet:
{% assign rightNow = now | in_time_zone: subscriber.time_zone %}{% assign good_morning = "Enjoy the rest of your the_day! βοΈ+++Have a great the_day name! See you next time π+++Have a good the_day name! Until next time π+++Take care, name! Have a smashing the_day π₯π +++Thanks, name! Have a great day π +++Have a good one, name! π+++" | split: "+++" %}{% assign good_day = "Thanks, name! Catch you later ππ+++Thanks name, have a great day! π€+++Today is your day name! Take care π€+++Laters name, until next time!+++Alright, I'm out! Take care name ππ+++That's it from me, have a great the_day! π+++As always, name β thanks for reading π+++Take care, name! All the best π€+++" | split: "+++" %}{% assign good_night = "Thanks name, hope you had a great day! π+++Cheers name, have a nice evening! π+++Thanks, name! Have a good night! π+++Have a lovely evening, name! π+++" | split: "+++" %}{% assign randomMorning = rightNow | date: "%N" | modulo: good_morning.size %}{% assign randomHello = rightNow | date: "%N" | modulo: good_day.size %}{% assign randomEvening = rightNow | date: "%N" | modulo: good_night.size %}{% assign subname = subscriber.first_name | capitalize %}{% assign the_hour = rightNow | date:"%k" %}{% assign the_day = rightNow | date:"%A" %}{% assign the_date = rightNow | date:"%B%e" %}{% capture signoff%}{% if subscriber.first_name == blank%}As always, thanks for reading! ππ {% elsif the_date == "December 31"%}Happy new year, name!<br><br>All the best to you and your family for {{now | date:"%Y" | plus: 1}}! π₯ {% elsif the_date == "January 1"%}Cheers to a fun and successful {{now | date:"%Y"}}! ππ{% elsif the_date == "December 25"%}Have a wonderful Christmas, name! Take care! π {% elsif the_day == "Saturday"%}Cheers, name! Enjoy the rest of your weekend! πββοΈπ΄{% elsif subscriber.friendly_time_zone == blank %}{{good_day[randomHello]}}{% elsif the_hour < "10" %}{{good_morning[randomMorning]}}{% elsif the_hour >= "10" and the_hour < "17" %}{{good_day[randomHello]}}{% elsif the_hour >= "17" %}{{good_night[randomEvening]}}{% endif %}{% endcapture %} {{signoff | replace: "name", subname | replace: "the_day", the_day}}
In my last post with the greeting snippet, I have a video to explain how it works, and where you add it to your Drip account. You can find docs on content snippets here too.
Thats enough from me! Bye then!
P.s. Please join my mailing list if you want more posts like this!
Iβm yet to actually mail anything to my personal list, but Iβm working on a few exciting things. If you work with WooCommerce and Drip you might not want to miss them! π