Blog
Airtable Scripts: How to Bulk Update Multiple Records Easily

Airtable Scripts: How to Bulk Update Multiple Records Easily

connor finlayson
Connor Finlayson
October 12, 2022

A very common automation use case that needs to be solved for is running workflows for many records rather than just one. Tools like Nobull from Finsweet, Parabola or Make.com are very good at allowing to do this, but did you know with only a few lines of codes you will be able to do the same in Airtable Scripts.

Importing your table

The first thing we want to do writing our script is to make sure we are importing an array of records rather than just importing a single record. We can do this using the "query.records" function after we define our base and table.

Running a script for every record in our array

Once we have successfully queried our set of records in our table or view, we will now be able to use the for function to run a script or function for each record within our array. Once we have added our script within the for function, Airtable scripts will run for through each and run the script that we specified.

After your run your script, you should see a list of properties returned

How to use the "for" function

The "for" function can be used for a lot of different things, but properly the most common use case is to bulk create or bulk update records. If for example, you have added a new fields to your Webflow CMS and you want to update all of your records with a value that sits inside of Airtable, then you will be able to do just that with the for function.

Ready to turn your business ideas into reality? Here are 4 ways I can help you build and grow with no-code tools:

  1. MVMP Labs: Join our online community for first-time founders building no-code marketplaces. Get access to exclusive resources, step-by-step guides, and a supportive network of peers who are on the same journey as you.
  2. The MVMP Mastermind: Work directly with me through 1:1 coaching, monthly group strategy calls, and personalized feedback. Ideal for founders who want accountability, faster progress, and expert guidance to build and launch successfully.
  3. Done-for-You Marketplace Builds: Let my team handle the heavy lifting. We’ll build your marketplace MVP, automate your workflows, and provide full documentation so you can scale and grow on your own terms.
  4. Learn No-Code on YouTube: Follow my free, hands-on tutorials where I teach you how to build and automate no-code marketplaces step-by-step. Subscribe here for weekly videos and start creating today.