Skip to main content

Hey everyone

I am linking AirTable to Zapier, and Zapier to WATI/Chargebee and some other applications.

Currently, I want to create leads on my AirTable, but not all leads are technically unique, we have some leads that will be the same person, but using two separate records.

When I create a new record, I want Zapier to create a new contact, and send them a broadcast message via WATI. But do nothing if there is already a number that is the same in Airtable.

My idea currently is to:
Trigger: AirTable, When a new record is created.
 

  1. Delay for 1 minute (I’m not sure if Zapier will zap the moment the empty record is being created)
  2. Search AirTable for the exact same number (idk what formula to use, currently I am just using {Contact} = ValueofContact
  3. Path
    1. Path 1, if step2 returns true then do nothing
    2. Path 2, if step2 returns false go to WATI and create a new contact, then send a broadcast

Can someone let me know if this is the right way to go about this, or if it is possible?
Thank you

Dear champdennis,

Your idea is not gonna work since the Trigger is a new record in Airtable and your second action is searching for that contact → result is always true. You need to create a view to separate the old records from the new contact recently created. Here is how you do it.

  1. Create a new ca column in Airtable call it “Status”, type and = “Checkbox”. Then you check all the old records.
  2. Create a new view called “Check View”, and filter “Status Is Checked”.
  3. Set up the Zap with trigger = New Record is Created
  4. Delay in queue (This is an optional step to prevent the error when you create multi records at the same time)
  5. Search Airtable in the View “Check View”
  6. Paths:
    1. If the search step returns = true → update “Status” = checked
    2. if the search step returns false go to WATI and create a new contact, then send a broadcast → then update “Status” = checked

So with this setup, you can exclude the new record that just triggered the automation so the result of the search step will be correct. If you know how to use the formula in Airtable, you don’t need to create a new view in Airtable. In the step Search, you can search by formula {Contact} = ValueofContact & {Staus} = true.

 


Thank you for your response Do Anh Tran

Is it possible for Zapier’s AirTable search formula to do something like “AND(Contact=12345678, NOT(LeadID="LeadID"))”

Because the Leads will have a unique ID but not a unique phone number. This is a formula that works on AirTable and returns false.


@champdennis 

Yes, its possible. The Zapier’s Airtable Search Formula work exactly as the Formula in Airtable. So as long as the formula is valid in Airtable, it will also valid in Zapier


@champdennis

Yes, its possible. The Zapier’s Airtable Search Formula work exactly as the Formula in Airtable. So as long as the formula is valid in Airtable, it will also valid in Zapier

Unfortunately, either I’m doing something horribly wrong or the system seems to ignore my search formula altogether.

 

 


When you are using the Search Formula, you need to remove your Search Value and merge all the conditions to the Search Formula. It should be like the formula that you paste above.

AND(Contact=12345678, NOT({Name}="Name"))


That worked.

In case anyone else needs to know

AND({Contact}=<triggervalue>Contact:12345678<triggervalue>, NOT({Name}=”<triggervalue>Name=JohnSmith<triggervalue>”))

Do note the quotation marks in the name field. (it produces an error 400 otherwise)
And to remember to set the: “Should this step be considered a “success” when nothing is found?” field to be “Yes” or “True”

IF Zapier is unable to find something, it will return false.
IF it is able to find something it will return true.