Create an Audience based on Journey condition | Community
Skip to main content
New Member
November 11, 2025
Question

Create an Audience based on Journey condition

  • November 11, 2025
  • 1 reply
  • 92 views

 Hi, I want to create an audience based on a journey condition. example invalid emails i want to create an audience for invalid email then we can send them day 10 mando comms. I have tried nodeID but it is not working. giving me 0 count. How can i do this? 

1 reply

Level 3
November 14, 2025

HI @adlsst34 ,

 

The best way I can think of to validate an email address is by using a regex expression. However, I’m afraid you won’t be able to create an audience with invalid emails, since, as far as I’m aware, regex is not available in the audience builder.

 

Depending on what you want to achieve, I can think of two possible workarounds:

 

1. Create a broader audience and use a journey node to filter valid addresses. In this case, you can apply:
matchRegExp(#{emailAddressField, '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$'})
to validate email addresses.

 

2. If you have already tried contacting invalid email addresses using AJO, you can use data from the ajo_message_feedback_event_dataset to build an audience based on the feedback status field, combined with the failure reason “invalid recipient,” along with errors whose reason is EmailMalformedAddress.

 

This might not completely solve your issue, but hopefully these workarounds will give you some direction toward a better solution.

 

All the best.

Filipe Freitas