How to get Email Subject or Body which are generated dynamically for a campaign smartlist with velocity.
Want to know exactly what was sent to a lead after resolution of velocity script. Lead has multiple custom object and email velocity scripts uses that as input and generates email body. What to figure exactly what email was sent to a lead
@DhruvThakker please return to your thread and check replies.
This can’t be known directly. It may only be simulated by calling a webhook right after the send that reads the Custom Object list and writes a Custom Activity with the data at that point in time.
Didnt get you. I would have to capture the custom object in webhook? How do I get the object used while sending the email ?
The webhook (more precisely, the webhook-compatible service) uses the REST API. It reads the CO list and applies the same order/filtering logic you do in Velocity. That lets you generate the same output, then write it back as attributes of a new CA.