Skip to main content

Responding to Events with AirTableJS

  • April 27, 2020
  • 2 replies
  • 19 views

How do I go about executing some code in response to events like when a new record is added?

Is there like an “on insert” event I can attach a function to?

If not, I’d there a work around for this?

Basically, my task is to perform some operations whenever a record is added to a table.

Thanks.

2 replies

Mohamed_Swella1
Forum|alt.badge.img+17
  • Inspiring
  • 1030 replies
  • April 27, 2020

Hi @Patrick_Luy,

Welcome to Airtable Community ! :grinning_face_with_big_eyes:

You can always use Zapier or Integromat. If you are looking to use the Script block, you cannot automatically trigger it.

BR,
Mo


  • Author
  • New Participant
  • 3 replies
  • April 27, 2020

Hi @Patrick_Luy,

Welcome to Airtable Community ! :grinning_face_with_big_eyes:

You can always use Zapier or Integromat. If you are looking to use the Script block, you cannot automatically trigger it.

BR,
Mo


Thanks for the response and warm welcome.

We’ve actually tried Zapier and found it’s too limited for what we need. So, I suppose I’ll just create a CRON job to perform the operations in batches at regular intervals.

Thanks :slightly_smiling_face: