Creating a token with Variable Data | Community
Skip to main content
Kathi_Gosche
Level 4
February 14, 2013
Question

Creating a token with Variable Data

  • February 14, 2013
  • 6 replies
  • 2390 views
I want to create a token to use in a campaign that will allow me to append a field of data with new data.

Example:
• Leads uploaded to Marketo as a list
• "Person Notes" field within the list has the notes taken from the conversation I had with the lead
• Now I want to append my custom field, "Marketing Notes", with the new data loaded into "Person Notes" without overwriting what is already there. 

I understand to do this I need to create a token. That's where I'm stuck. How do I create a token that uses the data in the field rather than a pre-determined value? Under "My Tokens" it seems I have to assign a specific value. 

Any help is much appreciated.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

February 14, 2013
As long as it is a field Marketo recognizes, you should be able to create a token for it. The naming convention is usually {{My.Field_Name}}.  Sometimes it's hard to figure out the exact field name that Marketo uses so I usually go to:
Admin > Field Management > Export Field Names.

There you will find the actual name to add to the {{My.Field_Name_Here}}.
February 14, 2013
Hi Kathi,

Jep has posted a solution here in this Discussion.

Thanks, Ei-Mang

Kathi_Gosche
Level 4
February 14, 2013

Bentacular,

Thanks for responding.

According to my Field Management window, the friendly name for this field is "Marketing Notes", the API Name is "Marketing_Notes__c". Based off that information, is this what the command would look like:

{{Lead.Person Notes}}|{{Lead.Marketing_Notes__c}}

Thanks,
Kathi

February 14, 2013
Hi Kathi,

From your first post, it sounds like you want to append any info from the Person Notes field into your custom Marketing Notes field. Assuming that's the case, then you'll want to use this flow action:

Change Data Value with Attribute = Marketing Notes and New Value = {{lead.marketing notes}} | {{lead.person notes}}


I just tested it and it worked. As Jep noted in his post, please make sure you test it in your subscription before applying it broadly.

Thanks, Ei-Mang

February 14, 2013
Also, if you use the flow action I suggested above, then the pipe symbol (|) will be appended even if Person Notes is blank. You could use "Add Choice" to detect whether Person Notes is empty or not, if you want to be a bit more fancy.
Kathi_Gosche
Level 4
February 14, 2013
Thank you very much for your help everyone. It worked like a charm! 

-Kathi