%%[ /* Fictional portfolio rebuild. Review and validate in SFMC before reuse. Sample attributes: first_name, vehicle_model, location_name, service_recommendations (pipe-delimited text). No client identifiers. */ VAR @firstName, @greeting, @vehicle, @location, @services VAR @rows, @rowCount, @i, @service, @printed SET @firstName = Trim(AttributeValue("first_name")) SET @vehicle = Trim(AttributeValue("vehicle_model")) SET @location = Trim(AttributeValue("location_name")) SET @services = Trim(AttributeValue("service_recommendations")) IF Empty(@firstName) THEN SET @greeting = "Hello," ELSE SET @firstName = ProperCase(@firstName) SET @firstName = Replace(@firstName, "&", "&") SET @firstName = Replace(@firstName, "<", "<") SET @firstName = Replace(@firstName, ">", ">") SET @greeting = Concat("Hi ", @firstName, ",") ENDIF IF Empty(@vehicle) THEN SET @vehicle = "vehicle" ENDIF IF Empty(@location) THEN SET @location = "your local Northline center" ENDIF SET @vehicle = Replace(@vehicle, "&", "&") SET @vehicle = Replace(@vehicle, "<", "<") SET @vehicle = Replace(@vehicle, ">", ">") SET @location = Replace(@location, "&", "&") SET @location = Replace(@location, "<", "<") SET @location = Replace(@location, ">", ">") SET @printed = 0 ]%% Northline · Your vehicle’s next good mile
A service checklist tailored to your vehicle, with useful fallbacks when details are missing.
Original illustration of a gold car on a winding road