Skip to main content
Solved

inserting json in email template for dynamic data

  • September 23, 2024
  • 1 reply
  • 115 views

Forum|alt.badge.img

Hey, I am  a beginner in the klaviyo I want to integrate api for  getting data and replacing the placeholders in the email template but for now I am doing this with test json data my html is like this:

<!DOCTYPE html>
<html>
<head>
    <title>Test Email</title>
</head>
<body>
    <h1>{{Greeting}}</h1>
    <p>{{RecipeName_1}}</p>
    <img src="{{RecipeImageURL_1}}" alt="Recipe Image">
    <p>Contact: {{SaputoContact}}</p>
</body>
</html>

while previewing Iam entering json in the give form like this:https://prnt.sc/sARI2pXw1B0B

what is the issue it is not displaying in the placeholder, it would be great help if someone can guide me.

Best answer by Taylor Tarpley

Hi @rozzer

 

Happy to help! 

 

Can you share the goal you’re trying to accomplish and what integration you’re using? 

 

I wonder if one of our champions @DavidV or @bluesnapper could help you out here, they are master coders!

 

Since you mentioned you’re new to Klaviyo, these Academy courses might be helpful for you! 

 

Thanks for participating in the Community!

-Taylor  

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 2148 replies
  • Answer
  • October 7, 2024

Hi @rozzer

 

Happy to help! 

 

Can you share the goal you’re trying to accomplish and what integration you’re using? 

 

I wonder if one of our champions @DavidV or @bluesnapper could help you out here, they are master coders!

 

Since you mentioned you’re new to Klaviyo, these Academy courses might be helpful for you! 

 

Thanks for participating in the Community!

-Taylor