Which database fields are required for SMS and WhatsApp messages in Spotler MailPro?

Spotler MailPro uses the database fields {mobile_nr}, {last_message_id}, and {last_message_date} for SMS and WhatsApp messages. The {mobile_nr} field is required to send a message, while {last_message_id} and {last_message_date} store information about the last sent message.

Spotler MailPro needs a mobile phone number field to send SMS and WhatsApp messages to contacts. When messaging is configured, Spotler MailPro can create the required database fields for the mobile number and for storing information about the last sent message.

On this page, the following topics are covered:

Which database fields are used for SMS and WhatsApp messages?

Spotler MailPro uses database fields to identify the recipient of an SMS or WhatsApp message and to store information about the last sent message.

Field Purpose Required for sending
{mobile_nr} Stores the mobile phone number used to send SMS or WhatsApp messages to a contact. Yes
{last_message_id} Stores the ID of the last SMS or WhatsApp message sent to the contact. No
{last_message_date} Stores the date of the last SMS or WhatsApp message sent to the contact. No

Which field is required to send a message?

The {mobile_nr} field is required to send an SMS or WhatsApp message from Spotler MailPro. Spotler MailPro uses this field to determine which mobile phone number should receive the message.

A contact cannot receive an SMS or WhatsApp message when the required mobile phone number is missing or not available in the expected field.

What do the last message fields store?

The fields {last_message_id} and {last_message_date} store information about the last SMS or WhatsApp message sent to a contact.

The {last_message_id} field stores the ID of the last sent message. The {last_message_date} field stores the date of the last sent message.

These fields are not required to send a message. They are used to remember message data after a supported SMS or WhatsApp message has been sent.

What happens when you use SMS and WhatsApp?

The fields {last_message_id} and {last_message_date} are shared by SMS and WhatsApp messages. This means that Spotler MailPro stores the information for the most recently sent message, regardless of whether that message was sent by SMS or WhatsApp.

SMS and WhatsApp use the same last message fields

When both SMS and WhatsApp are used for the same contact, the newest sent message overwrites the previous values in {last_message_id} and {last_message_date}. For example, a WhatsApp message can overwrite the last SMS values, and an SMS message can overwrite the last WhatsApp values.

What is the result?

After the required database fields are available, Spotler MailPro can use the contact’s mobile phone number for supported SMS and WhatsApp messages. Spotler MailPro can also store the ID and date of the last sent message for later use in segmentation, personalization, or reporting workflows.

FAQ

Which database field is required for SMS and WhatsApp messages?

The {mobile_nr} field is required for SMS and WhatsApp messages. Spotler MailPro uses this field to identify the mobile phone number of the recipient.

Are {last_message_id} and {last_message_date} required to send messages?

No. The fields {last_message_id} and {last_message_date} are not required to send messages. They store information about the last sent SMS or WhatsApp message.

Do SMS and WhatsApp have separate last message fields?

No. SMS and WhatsApp use the same {last_message_id} and {last_message_date} fields. The newest sent SMS or WhatsApp message overwrites the previous values in these fields.

What happens when a contact has no mobile number?

A contact without a value in the required mobile phone number field cannot receive an SMS or WhatsApp message from Spotler MailPro.