I'm trying to populate the Triggered Send Data Extension with more than just SubscriberKey, EmailAddress, SObject and RecordId.
My AmpScript looks like this:
%%[ /* Retrieves Fields from Salesforce for Triggered Send */ Set @mySObject = SObject Set @myRecordId = RecordId Set @Lead = RetrieveSalesforceObjects(SObject,"Salutation, LastName, Academic_Degree__c, Email_SHA512__c","Id", "=", RecordId) if rowCount(@Lead) > 0 then Set @LeadRow = Row(@Lead, 1) Set @Salutation = FIELD(@LeadRow, "Salutation") Set @LastName = FIELD(@LeadRow, "LastName") Set @Academic_Degree__c = FIELD(@LeadRow, "Academic_Degree__c") Set @Email_SHA512__c = FIELD(@LeadRow, "Email_SHA512__c") endif ]%%
My Triggered Send Data Extension has all the fields setup. So I'm trying to populate e.g. the Salutation and LastName field into the triggered send data extension.
Any Idea what I'm missing?