How can we help?

Last Send Timestamp

The lastSendTimestamp utility allows you to render the last send date of a specified automation template.

lastSendTimestamp($templateKey)

For example:

{$date = $utils->lastSendTimestamp('order-confirmation')}
{$date|date_format}

The example above will pull the last send date that the "order-confirmation" template was sent to the contact, and then render it in the message with a date modifier.

To find the template key for an automation template, open the desired template and locate the template key next to the key icon in the top left.

 

In the next article learn about message send properties.

Comments

0 comments

Please sign in to leave a comment.