Remove Items From An Array Based On Filter Criteria

I have an array of email addresses (the attendees of a Google Calendar event) and I need to remove any email addresses that have a domain like @example.com so that I can process the remaining email addresses, if there are any.

I thought that I’d be able to use != in the map() filter criteria to achieve this, like this -

but Make doesn’t seem to like that - it removes the != operator.

I don’t think I can just use a filter here, as the scenario should continue running even if there are no attendees with an email address that doesn’t contain @example.com.

Is there another way to do this?

Hello @alexs

Do you want to do something specific with emails containing @example.com or do you just want to ignore?

As an idea, you can try to use filter and have two routes with two different filters.

If you need additional support, please don’t hesitate to reach out.

//VLAD

3 Likes

No, I just needed to ignore them.

Thanks for the suggestion, that worked for me once I restructured my scenario.

1 Like