Create an email template
{
"name": "Cart Recovery Email",
"channel": "email",
"subject_template": "You left something behind",
"preview_text": "Your cart is still waiting.",
"editor_json": {
"type": "doc",
"content": []
},
"rendered_html": "<p>Your cart is still waiting.</p>",
"rendered_text": "Your cart is still waiting."
}
Create a push template
{
"name": "Cart Recovery Push",
"channel": "push",
"default_locale": "en",
"messages": [
{
"locale": "en",
"title": "Still thinking about it?",
"message": "Your cart is ready when you are.",
"launch_url": "https://app.sendrealm.com/cart",
"image_url": ""
}
]
}