← Back to Snippets
JavaScript
AMPScript
EmailPreview AMPScript Function
Undocumented AMPScript function that can run in CloudPages to generate email previews. Useful for automating or expediting email QA process or building other tools in CloudPages.
💡 To find a Custom Object Key of a specific row in your sending DE, you need to query that DE for the field
_CustomObjectKey
💡 You can find the "Email ID" in the Details tab of an email within Content Builder.