Custom object data via token | Community
Skip to main content
February 21, 2017
Solved

Custom object data via token

  • February 21, 2017
  • 2 replies
  • 8731 views

Can I access custom object data via a token? Could not find any info in the docs and got an error in my smart campaigns.

The custom object is tied to the lead via id, how can I reference that lead's instance of the object?

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 SanfordWhiteman

You can't access COs as tokens in a simple Flow context, only in a Velocity context.

2 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
February 21, 2017

You can't access COs as tokens in a simple Flow context, only in a Velocity context.

February 21, 2017

Well that's a bummer.

Thanks for the quick response.

SanfordWhiteman
Level 10
February 21, 2017

What are you trying to do exactly?

Amanda_Thomas6
Level 8
June 14, 2017

Can you access tokens in the email editor setting? I'm trying to use a few fields form the custom object in an email alert. object is "RV Member". I would think token looks like {{RV Member.Phone}}, but I can't find the token within the email editor. (When you go to insert token, and search the dropbox.) Would I just type that into the email?

SanfordWhiteman
Level 10
June 14, 2017

You have to use a Velocity (Email Script) token. Pick your object + properties from the right-hand-side tree of the Script Editor, then it will be available for output and/or further processing.