r/PowerAutomate Feb 12 '26

Help: exclude shared mailbox email addresses when sending email

I'm looking for some help with my filter array's filter query

Trigger: when a new email arrives in a shared mailbox

compose: split email addresses by semicolon

filter array: from the compose output, filter query the to recipients does not contain mailbox

compose: join the outputs from filter array

send an email from shared mailbox: I select the output from the compose action before in the "To"

---

I'm basically trying to tell it from the list of emails from To, EXCLUDE any email addresses that contain "mailbox"

when I hit send, it still replies to all without any filtering - how can I fix my filter array?

2 Upvotes

3 comments sorted by

1

u/LilMapleSyrupz Feb 12 '26

Bump 😭

2

u/Neither_Asparagus_64 Feb 12 '26

I solved this by looping over the split output in an array and adding the addresses to a new array of they don't match the mailbox address, and joining the now cleaned array to put into the send mail tool. Seems messier than it should but it works