Skip to main content
Best answer

How Do I Delete HTML Codes from Received Emails and Send Revised Emails to Customers?

  • Apr 6, 2023 2:17 AM UTC
  • 1 reply
  • 134 views

sandria

Hi, I want to revise the email contents that I receive and send it to customer. Since I want to delete the top section of the email template that I receive, I wonder I can manage it by deleting some html. Is there any way that I can delete some html codes from email that I receive and send the rest of html code to customer email?

Best answer by robschmidt

Hi @sandria 

Yeah you can do that in a couple ways:

  • Easiest one would be using Formatter > Split: Find the part that always shows up in every email and use that to split the text, and send the remainder in your next action
  • Using Code Step: Use python or Javascript with regex to extract the only part relevant to you and use that in the next action
View original
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

robschmidt
Forum|alt.badge.img+9
  • Zapier Solution Partner
  • Answer
  • Apr 6, 2023 5:13 AM UTC

Hi @sandria 

Yeah you can do that in a couple ways:

  • Easiest one would be using Formatter > Split: Find the part that always shows up in every email and use that to split the text, and send the remainder in your next action
  • Using Code Step: Use python or Javascript with regex to extract the only part relevant to you and use that in the next action