Skip to main content
Best answer

Add to mailchimp based on content of gmail email?


My goal: When I receive an email in my inbox, zapier to take content from the email add add to mailchimp lists

 

The problem: When I go to select which data to import into the mailchimp fields, I can select the entire body of the message, or the subject, or the “to” or “from” address but not bits and pieces.

 

Is there a way to accomplish this? Such as special tags I can include in the email. It’s a dynamically generated email from my CRM with content I can import from each client record

 

thanks in advance!

Best answer by jesse

Hey @levity,

We just wanted to follow up here regarding your use case. It looks like our support team replied to you to recommend using our Email Parser. That being said, our Parser is pretty basic and works best when the e-mail is formatted like this:

fc24d3ec8b7e714249e282b628db5004.png

If you are trying to hunt for text that is buried inside other text, such as HTML, you might have trouble getting this to work properly. There are a few things you can try to help this:

1. You can define a few extra templates to give us some extra information to parse with. Visit your mailbox history (by clicking the “Last Email” date on your Parser Dashboard) and click “Edit extra template” and tag that email. Every extra template you tag gives us more data to work with.
2. Try a few different engines—if you visit your mailbox edit page you can swap between available engines. Give each a try for a little while and see if they do better.

More on both of those are here: https://zapier.com/help/email-parser/#my-emails-were-parsed-incorrectly

If neither of those suggestions help, you might want to check out a service like mailparser.io, which is a bit more robust of an email parsing engine. You can see all the mail parsing apps that Zapier supports by doing a search for “parse” here: https://zapier.com/apps

Hope that helps to get you pointed in the right direction!

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • April 6, 2020

Hi there!

I see that you’ve got a couple of conversations with our support team, involving the email parser. Is that in relation to the same issue that you’re asking about here? I want to make sure that we’re addressing all of your questions, but if it’s a duplicate I can close it out here :)


jesse
Forum|alt.badge.img+9
  • Architect
  • 1348 replies
  • Answer
  • June 10, 2020

Hey @levity,

We just wanted to follow up here regarding your use case. It looks like our support team replied to you to recommend using our Email Parser. That being said, our Parser is pretty basic and works best when the e-mail is formatted like this:

fc24d3ec8b7e714249e282b628db5004.png

If you are trying to hunt for text that is buried inside other text, such as HTML, you might have trouble getting this to work properly. There are a few things you can try to help this:

1. You can define a few extra templates to give us some extra information to parse with. Visit your mailbox history (by clicking the “Last Email” date on your Parser Dashboard) and click “Edit extra template” and tag that email. Every extra template you tag gives us more data to work with.
2. Try a few different engines—if you visit your mailbox edit page you can swap between available engines. Give each a try for a little while and see if they do better.

More on both of those are here: https://zapier.com/help/email-parser/#my-emails-were-parsed-incorrectly

If neither of those suggestions help, you might want to check out a service like mailparser.io, which is a bit more robust of an email parsing engine. You can see all the mail parsing apps that Zapier supports by doing a search for “parse” here: https://zapier.com/apps

Hope that helps to get you pointed in the right direction!