Skip to main content

Delete multiple records with Make.com


Forum|alt.badge.img+3

What is the exact way to delete multiple records on a table of Airtable with Make.com ?

Thanks,

3 replies

ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8826 replies
  • March 7, 2024

Are you performing a search first?

Make will always loop through all of the records that it finds for you, so you can just start with a "Search Records" module, and then put the "Delete Record" module afterwards.

Check out the screenshot below.

Make will automatically delete all of the records that it found.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • 2 replies
  • March 8, 2024

Thanks I know already it, but it consume more operations on Make.com

For example delete 200 records with this method cost 200 operations. If is grouped by 10 (this is the max for airtable) is will cost 20 operations.


TheTimeSavingCo
Forum|alt.badge.img+28
Educ-Up wrote:

Thanks I know already it, but it consume more operations on Make.com

For example delete 200 records with this method cost 200 operations. If is grouped by 10 (this is the max for airtable) is will cost 20 operations.


The record IDs are URL params and don't go into the body I believe.  Here's the documentation and the relevant example:

curl -X DELETE "https://api.airtable.com/v0/{baseId}/{tableIdOrName}\ ?records=rec560UJdUtocSouk&records=rec3lbPRG4aVqkeOQ" \ -H "Authorization: Bearer YOUR_TOKEN"

Reply