I'm starting with AMPscript, and I need to send a batch of email messages to my customers where each one receives a slightly different content, which should be obtained dynamically for each email
To clarify, it's not a random value, is something I'll know in advance and is a value that needs to be unique between customers.
To simplify, let's say that the first email I sent to the first customer in my batch has this text (the number is just an example, the real value is non-numeric, non-sequential and I know it in advance):
Hello, customer #1 !
The second email in the batch, should look like this:
Hello, customer #2 !
And so on, where each email should have a different unique value (#3
, #4
, ...) Is this possible with AMPscript? Where should I put the dynamic information? (In my example, that would be the values 1
, 2
, 3
, 4
, ...) I'm a bit confused with the documentation, because they clearly state that:
When writing your AMPscript, always remember that all calls will process at the end of the subscriber batch when performing email sends
And I interpret the above as "the script is executed exactly once" at the end of a batch of messages, making it impossible to implement my use case. Is my interpretation correct?