Overview
The lastSendTimestamp
utility allows you to render the last send date of a specified automation template.
lastSendTimestamp($templateKey)
Example
The example below 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.
{$date = $utils->lastSendTimestamp('order-confirmation')} {$date|date_format}
To find the template key for an automation, open the desired automation and locate the template key next to the key icon in the top left.
In the next article, you can learn about message send properties.
Comments
0 comments
Please sign in to leave a comment.