How do I include personal values ​​from an external system in my campaign message?

It is possible to add personalization fields in your campaign message which are completed by your CRM instead of Spotler. We call these campaign fields. An example of what you can use campaign fields for is invoice information in an internal notification:

Invoice information:

Customer’s company name: [campaignfield:customerCompany]
Address: campaignfield:customerAddress]
Postal code: [campaignfield:customerZipcode]
City: [campaignfield:customerCity]

Email address for invoice: [campaignfield:invoiceEmail]
VAT number: [campaignfield:invoiceVatNumber]

A benefit to using campaign fields is that this data does not get stored in the Spotler database. The moment it is sent, the field are completed by the API from your CRM. That way, you are always using the most up-to-date data available.

How do the campaign fields work?

You insert placeholders in your message or template. This means that you indicate where and which information should be shown. The following parameters can be used:

  • Name: the name of the placeholder. For example: customerCompany.
  • Type: the type of value - this could be string, productlist or url. If you do not specify a type, then the default is "string".
  • Value: the value that you specify. For instance: Spotler.
    Values: this option is used when the type is a product list. This field type is an array (a row), which means that multiple products can be used.

The trigger then looks like this:


The placeholder names are placed in a message by means of [campaignfield:name].

Please note: You can add multiple campaign fields in a message. There are three points of attention:

·         The campaign field name must be unique

·         The campaign field name can't contain any spaces

·         The campaign field name is case-sensitive