Northern Trail Outfitters is using a triggered send to send customers their order confirmations. Their commerce platform provides a JSON payload for order details.
What should they use to format the JSON within the email?
I think we might need to use the BuildRowSetFromJSON function, but I'm not entirely sure if that's the best choice for formatting the JSON in the email.
I've got this! The SSJS ParseJSON function is the obvious choice here. It's designed specifically for parsing JSON data, which is exactly what the question is asking about.
Okay, let's see. The question is asking about formatting JSON within an email, so I'm thinking the Content Builder option might be the way to go. I'll double-check the other choices, but that's my initial instinct.
Hmm, I'm a bit unsure about this one. I know we've covered JSON parsing in class, but I want to make sure I understand the specifics of the platform functions before selecting an answer.
I'm not sure why anyone would want to use SSJS when AMPscript is right there. Option A seems like overkill. Let's stick with the platform-native solution.
You know, I bet there's a way to get the JSON payload to do the hokey pokey if you really wanted to. But for this question, I think I'll just go with the boring ol' TransformJSON() option.
Wait, we can use Content Builder to parse JSON? That's news to me. I'm going to have to look into that option D. Sounds like it could be a real time-saver.
I think option B is the way to go. TransformJSON() is specifically designed for this kind of task, and it's part of the AMPscript toolkit that Northern Trail Outfitters is already using.
Annette
3 months agoJutta
3 months agoLavelle
3 months agoNatalie
4 months agoMyra
4 months agoClay
4 months agoCherrie
4 months agoGarry
4 months agoWenona
5 months agoFrancis
5 months agoRenay
5 months agoDomonique
5 months agoAmie
5 months agoPearly
1 year agoMarguerita
1 year agoMarylou
1 year agoIsidra
1 year agoSueann
1 year agoJoesph
1 year agoEdgar
1 year agoDwight
1 year agoCherrie
1 year agoMireya
1 year agoIluminada
1 year agoAugustine
1 year agoParis
1 year agoDeandrea
1 year agoToshia
1 year ago