Skip to main content

How can i execute the Js/Node js code from within the Airtable Column?

  • May 13, 2022
  • 3 replies
  • 58 views

Forum|alt.badge.img+13
  • Known Participant
  • 62 replies

How can i execute the Js/Node js code from within the Airtable Column ?
It should capture the record Id from there and do what is needed.

3 replies

Forum|alt.badge.img+16
  • Inspiring
  • 529 replies
  • May 13, 2022

Hi @Jay_P
You can add the Scripting App to your base and use Javascript to work with the records in your base. You can add buttons or Automations to your base to execute the scripts.


Forum|alt.badge.img+13
  • Author
  • Known Participant
  • 62 replies
  • May 18, 2022

Hi @Jay_P
You can add the Scripting App to your base and use Javascript to work with the records in your base. You can add buttons or Automations to your base to execute the scripts.


So i am able to call external node code from the airtable. But I can’t figure how to get the record id of the record that triggered the automation.


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • May 19, 2022

Create an input variable in the left panel of the script editor. Name it something like recordID and set it’s value to the record id of the triggering record. Then in you script, get the value using input.config() as showin in your other post.