Skip to main content
Best answer

Send text based on specific string in email


I’m setting up my very first zap. I want to get a text when I get an email from a particular business that I’m waiting for. I want to search the from email address, the subject and the message body for specific strings (the email address would be different than the subject and body).

I’ve got the zap set up to let me know that I’ve received any email, but I can’t seem to figure out how to fine tune it to search for the specific strings to text me.

Best answer by zaki_readylogicBest answer by zaki_readylogic

If you're using a Mac email address, like @mac.com, and want to set up a Zap that sends a text when you receive an email from a specific business, the process is very similar to other email providers. Start by configuring the "New Email" trigger action in Zapier with your email provider, such as Gmail or Office 365, that you use for your Mac email. Once the trigger is in place, you need to add a "Filter" action.
This allows you to specify certain criteria that must be met for the Zap to continue. For the "From" address, set the filter to match the specific business email you're waiting for, such as business@company.com.
You can also filter based on the subject line or body content. For instance, configure the filter to look for keywords like Waiting for your response in the subject or any specific string in the email body.
This ensures that the Zap will only proceed when the email meets your criteria. Once the filter is applied, add an action to send an SMS using services like Twilio or the built-in "SMS by Zapier" app. This setup will ensure that you receive a text only when the email from the business contains the exact strings you're waiting for, helping you stay on top of important messages.

 

Zaki
Business Workflow Consultant
Ready Logic

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.

10 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@cinderjack 

What email app are you using as the Zap trigger step? (e.g. Gmail, Outlook, etc.)

 

Try adding a Filter as Zap step 2 or using Paths.

Filter: https://zapier.com/apps/filter/help

Paths: https://help.zapier.com/hc/en-us/articles/8496288555917-Add-branching-logic-to-Zaps-with-Paths


  • Author
  • Beginner
  • 4 replies
  • January 5, 2025

HI Troy,

Thanks for your reply.

I’m using Mac Mail. With these 2 links you’ve included, it looks like the Free version won’t work, is that correct?

Right now I only have 1 zap. Of course I may find I have more use for it the more I understand it...


Troy Tessalone
Forum|alt.badge.img+14

@cinderjack 

You can search the list of available Zap app integrations here: https://zapier.com/apps

Mac Mail is not an available Zap app integration so you would have to use a different email Zap app integration.


  • Author
  • Beginner
  • 4 replies
  • January 5, 2025

Hmm, I just had a thought, so it sounds like Mac Mail might be part of the problem. Can I do it if I have the email address set up in Outlook? (And can I do it with the free version?)


  • Author
  • Beginner
  • 4 replies
  • January 5, 2025

actually now that I think about it. I don’t think it’s Mac Mail. I think it’s how I set up the zap. I’m getting a text notification, but for *every* email to that email address. So it’s a filter issue. I’ll check out the filter app you’d first mentioned.


Troy Tessalone
Forum|alt.badge.img+14

@cinderjack 

Zaps with 3+ steps require a Zapier paid plan.


  • Author
  • Beginner
  • 4 replies
  • January 6, 2025

So, it sounds like each of the field “checks” would constitute a step?


Troy Tessalone
Forum|alt.badge.img+14

@cinderjack 

Depends on your “check” logic and what apps you are using in the Zap steps.


Forum|alt.badge.img+1

@cinderjack 

If you are looking for a Zapier Free version approach with 2 zap steps maybe this approach wouldwork.

I’m not familiar with Mac Mail, but this is what You cna do form Gmail and many other mail accounts.

 

  1. Use your email acount to filter the email for the sender email address, the subject, and the body so that only emails are interested in will be forwared to your zapier trigger.
  2. Forward the emial form your mac mail to email parser by zapier https://zapier.com/apps/email-parser/integrations. You can set this up to easily select the exact information you are looking to extract form you email if it follows a set pattern and the string s youa re looking for are alsways in the same place or after ceratina words etc
  3. Set the zap trigger as zap mail parser, all your strings will be there
  4. Set up your second zap step (suposedly the one that sends the txt) using the strings from Zapier mail parser trigger

 

Zapier Mail Parser is great. You can also send different types of email to a different mailbox and apply different filters or trigger differnt zaps, very cool! Also this trigger actually works instantly, unlike other email triggers for Zapier.

 

Lots of words, but hopefully helpful :)

Let us all know how it goes


zaki_readylogic
Forum|alt.badge.img+1

If you're using a Mac email address, like @mac.com, and want to set up a Zap that sends a text when you receive an email from a specific business, the process is very similar to other email providers. Start by configuring the "New Email" trigger action in Zapier with your email provider, such as Gmail or Office 365, that you use for your Mac email. Once the trigger is in place, you need to add a "Filter" action.
This allows you to specify certain criteria that must be met for the Zap to continue. For the "From" address, set the filter to match the specific business email you're waiting for, such as business@company.com.
You can also filter based on the subject line or body content. For instance, configure the filter to look for keywords like Waiting for your response in the subject or any specific string in the email body.
This ensures that the Zap will only proceed when the email meets your criteria. Once the filter is applied, add an action to send an SMS using services like Twilio or the built-in "SMS by Zapier" app. This setup will ensure that you receive a text only when the email from the business contains the exact strings you're waiting for, helping you stay on top of important messages.

 

Zaki
Business Workflow Consultant
Ready Logic