Gmail Follow Up After 7 Days

Captura de tela 2024-08-08 221532

I’m running an email automation to send follow-ups in 7 days.

However, I’m encountering an error when sending follow-ups to my contacts because their names also appear in the ‘to’ field, not just the email. The follow-ups I need to send to my contacts are in the format ‘Contact Name ’ while those that aren’t my contacts only have the email.

Does anyone know if it’s possible to tell the module to only pick up what’s written between the < >? And also to pick up the email for those that aren’t my contacts and are already in the correct format?

Welcome to the Make community!

You can use the built-in function replace with this pattern:

/(?:^.+<|>$)/g

Proof: https://regex101.com/r/RN3dlu/1

e.g.:

{{ replace(1.to.address; "/(?:^.+<|>$)/g"; emptystring) }}

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

2 Likes

That worked smoothly! Tks for all @samliew