I Published Shopify Blog Feed To Klaviyo in less than 5 Minutes

Elghorfi Mohamed
2 min readJun 15, 2022

Publishing your Shopify Blog Posts into an email is a good way to engage your customers to read your blog articles and lead them to some products.

I use this feature to keep my audience up to date with my blog articles and also to lead them to some featured products/collections.

Let’s jump into it, quickly!

There are 3 steps to achieve that, I will show you step by step how I do that.

  1. Setup Our Blog Feed.
  2. Setup Klaviyo Data Feed.
  3. Setup Our Klaviyo Email Template.
How I Publish My Shopify Blog Feed To Klaviyo | Source: freepik

The snippet code used on the video: https://bit.ly/3OcqKtA

1. Setup Our Blog Feed.

Unfortunately, The atom feed that Shopify provides doesn’t let us do any customization nor does it include images, that’s why we gonna build our custom XML feed.

How to Build custom XML feed on Shopify

2. Setup Klaviyo Data Feed.

We need to integrate the custom XML feed that we’ve built on Shopify on the first step with Klaviyo.

Setup Data Feed on Klaviyo

3. Setup Our Klaviyo Email Template.

Now, We will trigger the feed we’ve created into an email template where the images and content are properly formatted and ready to go.

Setup Email Template On Klaviyo
  1. For the image, Dynamic Image and set the value to:
{{ item|lookup:'media:content'|lookup:'@url' }}

2. Set Alt text to the image:

{{item.title}}

3. Set a link so the image became clickable, and will bring them to our article.

{{item.link}}

4. For the content side, title and description:

<div>
<h3 style="line-height: 60%;"><a style="font-size: 14px;" href="{{ item.link }}">{{item.title}}</a></h3>
<p><span style="font-size: 12px;">{{item.description}}</span></p>
</div>

5. For the Repeat For field:

feeds.myFeeds.rss.channel.item

6. Set the Item alias as “item”.

7. Click Preview and test your email template.

All you need to do now is to schedule your email campaign as seen here.

So, this is the end of our article today, I hope you learned something from it.
Have a wonderful great day.

Follow me

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Elghorfi Mohamed
Elghorfi Mohamed

Written by Elghorfi Mohamed

Frontend || Shopify Expert Developer || Shopify Consulting

Responses (1)

Write a response