I create an ampscript to retrieve some basic information based on Synchronised DE, because I want to send to a Salesforce campaign and Salesforce Report.
Here is the ampscript:
%%[ Set @FirstName = Lookup("Contact_Salesforce","FirstName","Id",_subscriberkey) ]%% %%[ Set @LastName = Lookup("Contact_Salesforce","LastName","Id",_subscriberkey) ]%%
I tested the ampscript and it appears that if the contact is not in All Subscribers, the personalization is "empty" (no first name, last name displayed in the email), because he has not yet a SubscriberKey I guess. Actually, it is a new SFMC platform we are currently building, so there haven't been any massive sends for the moment.
How can I handle this? Can I replace in the ampscript "_subscriberkey" by something else or another information automatically wrapped in the SFMC URL that can identify the contact?
Actually I made some send tests to Salesforce report and campaign, I didn't receive any email. I opened a case with SFMC Support, they told me that it is because there are errors on my email. So I guess it is liked with personalization and AMPscript.