Hoping someone can assist with a new field query...
I would like to create a field that populates (could be with a number/ date/ true) if the contact first appears in in Marketo and is then matched to our client records.
The objective of this is to show the contacts who have been acquired first through marketing and then purchased our product.
I was thinking this could be a Integer field and then assume a formula will have to be written - to find the difference between the dates and if the Marketo created date is BEFORE the Purchase date we get singing, dancing, bells and whistles!
Thanks in advance for your thoughts!
Sarah
Solved! Go to Solution.
Hi Sarah,
It should probably be a simple Boolean field because:
On the other hand, if you mean an SFDC formula field, then using a Date + Formula does make sense.
But Marketo doesn't have built-in functionality like SFDC's, so you'll end up calling an external service, and that service can operate directly on (static) Date fields and return a Boolean.
P.S. In case it isn't clear to anyone who's lurking, Marketo absolutely can calculate the diff between dates in a Velocity script (e.g. to output different email content based on date math). But the result of that calculation is ephemeral. It can't be written back to a lead record,* therefore can't be used to qualify leads for Smart Campaigns or viewed in reports.
* OK, there is one way, but the method is so exceptional and undocumented that it's best to pretend it doesn't exist.
Hi Sarah,
It should probably be a simple Boolean field because:
On the other hand, if you mean an SFDC formula field, then using a Date + Formula does make sense.
But Marketo doesn't have built-in functionality like SFDC's, so you'll end up calling an external service, and that service can operate directly on (static) Date fields and return a Boolean.
P.S. In case it isn't clear to anyone who's lurking, Marketo absolutely can calculate the diff between dates in a Velocity script (e.g. to output different email content based on date math). But the result of that calculation is ephemeral. It can't be written back to a lead record,* therefore can't be used to qualify leads for Smart Campaigns or viewed in reports.
* OK, there is one way, but the method is so exceptional and undocumented that it's best to pretend it doesn't exist.
Hmmm - Thanks so much Sandy. It actually looks a little bit more complicated that we need at the moment so I think we will do an extraction and then cross check with our client purchase date....