Hi everyone,
I’m building a scenario in Make that connects Gmail → OpenAI → Salesforce.
The intended logic is:
-
Search in Salesforce by Email (SOQL).
-
If the contact exists → Update the record.
-
If the contact does not exist → Create a new record.
What happens now
-
The Search Records (SOQL) [#9**]** module works:
-
If the email exists → it returns the
Record ID. -
If it does not exist → it returns 0 bundles.
-
-
The Router is configured as follows:
-
Update branch (#11**)** → filter:
exists(get(9; "Record ID")) -
Create branch (#24**)** → set as fallback.
-
Problem:
-
The scenario sometimes creates duplicates (runs Create even when the record already exists).
-
On the Update branch, I often get this error:
BundleValidationError: Missing value of required parameter 'record'
What I’ve tried
-
Filters using
exists(get(9; "Id"))and alsonot(exists()). -
Router with Fallback enabled and disabled.
-
Mapping the Record ID directly from Search (#9) to Update.
-
Using both simple and advanced filter formulas.
But I still face the same issues:
-
Either the Update fails due to missing
record, -
Or the Create module runs unnecessarily and duplicates contacts.
Question
What’s the correct way to design this flow so that:
-
Update runs only if the Search module returns a record.
-
Create runs only if the Search module returns no records.
-
No duplication and no missing
record iderrors.
If anyone can share an example (screenshot of filters or exact formula), that would be super helpful.
Thanks in advance!
Up date at 18-08-2025 at 18:46 : I find the way. Thanks anyway ![]()

