Make.com formula for Airtable

Hi! I have data coming in from a webhook to Make. I am trying to create a formula in Make to search Airtable for number of times an email appears in a field on a table and limit the number of submissions to Airtable. For example, I want to limit the rows to 5 for this user based on email. When the user submits data via the webhook, I want Make to do a search on Airtable and count the number of time the email appears in the table, if email appears less than 5, allow data to be submitted. If more than 5, give an error or prevent data submission. Here are all the formulas I have tried. 8.FIELD__KPZIT488X is the value from the webhook for email. The query is pulling back the correct number of entries as bundles.

β€œ{{8.FIELD__KPZIT488X}}”={Email}

And I have tried to add a router with condition filter. See attached screenshot. This is were I run into issue of no submitted data to airtable.

Hi @llmcd

Welcome to community.

Utilize the search module to search for the email using the formula ({Email}=β€˜{{8.FIELD__KPZIT488X}}’). Aggregate the search results using the Aggregator. Then, use the router to create different paths based on the length (>5 or <5).

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

worked flawlessly. Thanks!

2 Likes