Skip to main content
Jennifer_Burtch
Level 2
March 27, 2017
Question

Writing Email script token to pull Expire Date for Specific Assets only (SFDC assets)

  • March 27, 2017
  • 1 reply
  • 2084 views

I'm trying to create some renewal outreach for subscribers of a specific service.  Our services are managed by use of SFDC "asset" objects, which we have synced with Marketo.  I'm trying to create a token for subscription end date which is a field on the SFDC asset, but I need to ensure it's pulling the date from the correct SFDC asset, because it's possible for a person to have several assets with different expire dates.  Any thoughts on how to construct this using the Email Script option in the Token area? I've found the custom Asset object and its fields in the Email Script object, but am unsure about the syntax needed in the script.

Thanks for any tips and advice!

1 reply

Grégoire_Miche2
Level 10
March 27, 2017

The doc here: http://developers.marketo.com/email-scripting/examples/

gives an example of using velocity with a custom object.

-Greg

Jennifer_Burtch
Level 2
March 27, 2017

Thanks. I did look at the documentation, but it doesn't help me much as a non-developer. 

Grégoire_Miche2
Level 10
March 27, 2017

Hi Jen,

Agreed

Honestly, you need to get hold of a developer to do this if you do not feel doing it. I tried in the past and wasted so many hours that it was really not a productive and efficient usage of my time.

-Greg