If you for example have a store with a bunch of products that you want to sell, we might ease that job for you a bit. With line data modules, your product data can be automatically added to texts, links and images. Here's what to do:
1. Find the modules you want to convert in your Loopify template. Click on them in the module library, advanced settings, then Convert to line data module. Your module will blink which means it is now ready for line data.
Tip: the convert button turns into revert which can be used to revert this change.
2. In your Flow, you must have either mapped an API block or an External Form with all your product data. Example mapping JSON can be:
{
"Email":"your@email.com",
"Orders":[
{
"Product ID":"Your Product ID",
"Product Name":"Your Product Name",
"Product Quantity":"###",
"Product Price":"$$",
"Product Image":"The URL to your hosted image",
"Product Link":"The URL to your product"
}
]
}
Bear in mind that this JSON will have a lot of repeatable line data which is used for different individual products.
When your block is fully mapped, drag & drop an email block and insert your template with the line data modules. Clicking on the module settings, you'll see the line data dropdown. Select your array of objects (in our example - Orders). Save your template.
Note: if you don't select an array here and the module remains 'not connected', this module will not be a part of your email when sent.
3. With all this, you can now add line data variables. Simply click the variable button in any text, in a Custom link or in an External image. You'll see the new type of line field variable which will convert to your specified product data when this email is sent.
As always, make sure to test first before reaching out to your contacts.
If you at any point need assistance with this or are curious about its full potential - feel free to get in touch by dropping an email at support@loopify.com and we'd be happy to help!
Comments
0 comments
Please sign in to leave a comment.