Send to an email field in Marketo using API | Community
Skip to main content
New Participant
March 1, 2018
Solved

Send to an email field in Marketo using API

  • March 1, 2018
  • 1 reply
  • 4200 views

Hi everyone

We have two email fields in Marketo/Salesforce - Transactional Email and Subscriptions Email. One is used for marketing, one is used for transactional stuff related to a booking. So if we want to send a transactional email, we will need to ensure that the transactional email is in Marketo's "master" email field, and then send to that. If we then want to send a marketing email, we will need to switch the emails out ....and then send. Messy.

So my question is - using the API, could we say "send this email to this person using the email value in this field", when that field isn't the Marketo master one? That would be super useful. And if not, is there another way to do this (besides the obvious of only have one email field )

Thanks!

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 Grégoire_Miche2

Hi Philipp,

Simple trick : use and send alert and add the secondary email field as a lead token in the "to other email", leaving the "Send to" empty.

As this is for  operational emails only, this is acceptable.

The other possibility is to use a proxy field :

  • when the person is booked, copy the "master" email to the proxy field.
  • Then copy the secondary email to the "master" email field
  • send the email
  • then copy the proxy field to the "master" email field to restore the primary email.

Pay attention on how you handle any hard bounce that might occur when using the secondary email, it will set the email info as invalid, even if you restore the email to the primary value.

At the end of the day, I would probably not use the API here.

-Greg

1 reply

Grégoire_Miche2
Grégoire_Miche2Accepted solution
New Participant
March 1, 2018

Hi Philipp,

Simple trick : use and send alert and add the secondary email field as a lead token in the "to other email", leaving the "Send to" empty.

As this is for  operational emails only, this is acceptable.

The other possibility is to use a proxy field :

  • when the person is booked, copy the "master" email to the proxy field.
  • Then copy the secondary email to the "master" email field
  • send the email
  • then copy the proxy field to the "master" email field to restore the primary email.

Pay attention on how you handle any hard bounce that might occur when using the secondary email, it will set the email info as invalid, even if you restore the email to the primary value.

At the end of the day, I would probably not use the API here.

-Greg

New Participant
March 2, 2018

Grégoire, that's brilliant in its ingenuity

One final question though: Will we lose reporting if we send transactional emails in this way? Or will we still see the regular send stats?

Your suggestion of the proxy field is essentially my backup option. It's not ideal, but seems like it would work. But of course, if we can avoid the complication it's always easier.

Grégoire_Miche2
New Participant
March 2, 2018

Hi Philip,

Yes, you will loose the reporting if you use the send alert.

And with the proxy field, you would not need any API, just a series of "Change Data Values"

-Greg