Hey y’all,
I’m having an issue with the Gmail module in my automation. I have a form where users provide their primary email, which is set as the recipient. Additionally, they can add up to five extra emails for CC.
The problem is that if a user doesn’t fill in all the CC fields, Make.com returns an error because some fields are blank.
I never had this issue in Zapier, but it seems like Make.com handles empty fields differently. Is there a way to automatically ignore blank email fields so the automation doesn’t break?
Thanks in advance!
Welcome to the Make community!
To do this, you can use the built-in functions add
and remove
—
{{ remove(add(array; value1; value2; ...); value1; value2; ...) }}
e.g.:
{{ remove(add(emptyarray; 1.emailA; 1.emailB; 1.emailC); null) }}

For more information, the function’s documentation can be found in the Help Centre. You should also complete the tutorials in the Make Academy.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
2 Likes
Hi Sam! You are the man! Have good evening
1 Like
No problem, really glad I could help! Thank you for providing all the requested information — that allowed me to come to a solution quickly.
1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.
2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
- others can save time when catching up with the latest activity here, and
- allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post that answers your question:

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
actually when I actually run the scenario with real data it does not work 
Did you turn on the Map toggle?
You have not yet provided sufficient information to allow identification of the new issue.
To allow others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Could you please share screenshots of your full scenario? Also include screenshots of module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.
You can upload images here using the Upload icon in the text editor:
