Written by Drip, Snippets

Drip: Epic Goodbye Snippet

I had great feedback on the last post, so here is an emoji-filled goodbye snippet. πŸ‘‹πŸ˜†This snippet says goodbye differently based on a subscribers time of the day, date or day.

Drip Liquid Good bye snippet

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:

How it looks in 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:

Drip email personalisation, personalised goodbye

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:

New years eve sign off

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.

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! 😊