Setting up filters to remove certain portions of output

:bullseye: What is your goal?

To automate having Claude do some research for me on a topic and send an email with the findings.

:thinking: What is the problem & what have you tried?

When Claude provides its response, it includes citations. The citations are sent in the email as well as full links, making the email unreadable. I want to filter out those citations and only have the text findings emailed to me.

I have tried setting up filters and iterators but it is not working. I’m not sure if I am mapping the wrong thing or if I am setting up my filter wrongly.

I have uploaded screenshots of my scenario to this Google Drive folder: Make.com Help - Google Drive

Appreciate the help in advance! Thank you.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey @Chelsie_Wong !

Your setup is overcomplicating it. You do not need an Iterator for this.

Claude’s response should stay as one text field, then use a Text Parser Replace step to remove citation markers and URLs before Gmail. The Iterator is splitting content unnecessarily, which is why the cleanup is not working the way you want.

So the flow should be HTTP, Claude, Text Parser Replace, then Gmail. Map the cleaned output from the Replace module into the email body.

Ethan Marcellus- Automation Expert at Tuesday Wizard | Top Make Solution Partner | Make Community Contributor

Hey Chelsie,

I don’t know where you saw this, but this is 100% not how filters in Make work. This will not pass anything. What are you trying to filter and what are you trying to filter it by?