Re: How to ADD lines to a SF field from a Marketo form

Anonymous
Not applicable

How to ADD lines to a SF field from a Marketo form

Hi Marketo-users

I'm trying to achieve to give my salespersons (and also my marketing team) the ability to see on the SF contact what products has been bought through time.

So when a person buys a product on our webpage what happens today is that a hidden field is filled with the product-name and this is then synced to a Salesforce-field called "last bought product".

This gives me a view of what product was last bought - but if i wanted to generate a list of the last products (plural) - how would that be done ?

I really hope someone can help. 🙂
Tags (1)
8 REPLIES 8
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

How many products do you have?
This might help you with some ideas but I think you may need multiple fields to store products.

An easier way may be to log interesting moments for each product purchase, then the sales person can read the list in Sales Insight?
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

Hi Cathal

thank you for your answer. We have around 350 product. I thought about doing it as Interesting moments but then again we have a lot of other interesting moments and this was ment as a help to get a fast overview of the clients history.

No way to add data to a multi-line field ?
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

I think you will need at least 1 new field.

You will have one field on the form (field A) and then another field to hold the combined values (Field B).

Then when a lead fills in the form you pass the value from field A to field B and so on.

Trigger : Fills out form
Flow: Change Data Value
Attribute : Field B
New Value {{lead.field A}} , {{lead.field B}}

Make sure that you set the qualification rules to allow each lead theough every time
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

aah ok - i get it .... thanks. But again: there is no way to make a list ?

just like a input type=textfield
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

You can make a list at the form level. But the challenge you will face will be making sure that the latest value submitted in the form doesn't overwrite the previous value(s).
Josh_Hill13
Level 10 - Champion Alumni

Re: How to ADD lines to a SF field from a Marketo form

You may want to build a custom object in SFDC that handles Product. While Marketo cannot write to that object, you can use the SFDC API to write to the object to create that history.

You can use a multi select box to answer to your last question. Marketo will show that as a string with ";" in between each choice. I tend to find this is a terrible way to manage the data, but it works most of the time.
Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

Actually Cathals solution works - does any of you then know how to send alinebreak to a text-field in salesforce 

i want to do this:
{{lead.field A}} <br/> {{lead.field B}}

Anonymous
Not applicable

Re: How to ADD lines to a SF field from a Marketo form

I think the SFDC field type needs to be rich text then you can use <br/>.