Pull a field value into an email from a custom object field | Community
Skip to main content
July 28, 2015
Solved

Pull a field value into an email from a custom object field

  • July 28, 2015
  • 1 reply
  • 4117 views

Hey all,

I'm trying to add a contact's certification renewal date value (coming from a custom SFDC object) into an email. When I add the field into the Email Script Token, I get this:

I understand there is this documentation, but I honestly don't know what it is saying, nor am I going to take the time to understand a new language.

How do I pull a field value into a Marketo email from a custom object field?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Matthew_Barnet1

Have you read Marketo's related documentation? Email Scripting » Marketo Developers

When creating the token script in Marketo, you have to have the field you want to pull in checked off in the right hand panel. Otherwise, the field values remain "invisible" to the script and instead of pulling in the actual values it just pulls in the field label - which seems to be what's happening in your case.

1 reply

Josh_Hill13
Level 10
July 28, 2015

Shouldn't that just be a token that is available?

July 29, 2015

Hey @Josh Hill It's a field that lives on a custom SFDC object, I understood that you need to use an email script token to pull it into an email. Is that not the case?

Matthew_Barnet1
Matthew_Barnet1Accepted solution
Level 2
July 30, 2015

Have you read Marketo's related documentation? Email Scripting » Marketo Developers

When creating the token script in Marketo, you have to have the field you want to pull in checked off in the right hand panel. Otherwise, the field values remain "invisible" to the script and instead of pulling in the actual values it just pulls in the field label - which seems to be what's happening in your case.