Skip to main content

Hello

 

I am creating a path rule based on an incoming text of 1 or 2. 

 

I’ve tried a few options but I need to be able to determine the path based on a 1 or 2 response of an incoming text. 

However it either doesnt work. Or it will match 255, 525, 552 .. i just need it to match an exact 2 or 1. 

Hey @rleon10 sorry to hear you’re running into some trouble here! Are you able to share more information/screenshots around how your paths are configured? There should be a path condition where you can say “text > EXACTLY matches”. I’d be curious to know if you’re using that as well as the field you’re using within those conditions. Let us know!


I have tried exactly matches .. 

But if they respond with a sentence “2 i can’t make it” or “1 yes ill be there”  the condition is met. 

 

The one that works is ..

“Body Contains Text 2” or “Body Contains Text 1”

The issue is that this will match 255 525 552 .. not just 2

 


Hi @rleon10!

If you use Exactly Matches then it shouldn’t be considering something like “2 i can’t make it” to be an exact match for “2”. 

Do you have any live runs of the Zap that you could share a screenshot of (from your Zap History) to show that this happened? It’s definitely not intended behaviour.

Please remember to remove any personally identifiable information from screenshots before sharing :) 


 

These are the test results .. i sent 2 i wont make it .. with an exactly match of 2 and it doesn't pass. 


Hi @rleon10 , 

 

So you need to do one of 4 things: 

 

  1. Use Formatter By Zapier > Event =  Text > Transform = Extract Number, this will extract whatever number is there and you can use it in the path. 
  2. Either match the entire phrase and make it “Exactly Matches” - not sure if that applies to you or not
  3. Use Text Starts With “2 “ with a space after it
  4. Depending on where the data is coming from and whether it is like a form with Single Select options, use a lookup table (Formatter by Zapier > Utilities > Lookup Table) to convert the sentence into numbers 

Hope any of those solutions help :) 


Thanks @MohSwellam 

 

ill set up a test zap and try that! 

 

 


My pleasure @rleon10 :) 

 

If any of that works, Id appreciate if you mark my answer as solution :) 


Hi @rleon10 

 

Did any of the above solutions work?