Hi all,
I have a scheduled script that pulls information from two records and merges them in a template using nlapiMergeRecord. So far, so good; everything is working as expected.
Now the user would like to track responses to the emails sent this way, in the same way they'd get statistics using a marketing campaign. I see there's an api called nlapiSendCampaignEmail which "returns a campaign response ID to track the email." (via NetSuite's help center). However, this API only uses a campaign ID and recipient ID; I need the email to send the custom body I've created from my template.
I know I can't recreate the template in the Marketing Campaign UI because the template pulls information from two record types. Is there a way to create the campaign via script and use the custom body?
Thanks,
Kristin