I hope I'm not over-complicating this, but it seems like a lot of work to send an email out of SFMC.
My goal is to be able to send emails from SFMC based on certain SF field changes. E.g. Lead status changes from X to Y, lead gets a personalized email.
So far I've set up a data extension and template, then a triggered email that references the data extension and email template. Now I can hit this endpoint:
with this json:
{
"To": {
"subscriberKey": "[email protected]",
"address": "[email protected]",
}
}
and I see this error:
[{"messageErrorStatus":"There are required data extension fields missing for the subscriber"}]}
Presumably, I need to reference the extension fields in the JSON, I"m just not sure of the syntax. Any help would be appreciated.