Skip to main content

How to use node modules for airtable automation

  • October 11, 2020
  • 3 replies
  • 58 views

Hello everyone.
Is it possible to use node modules for airtable script of automation?
I’d like to use firebase sdk for it.
And is there anything like firebase cloud functions?

3 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • October 11, 2020

Welcome to the Airtable community!

In general an automated action script has only one file, so there is no easy way to include a library. Some libraries are small enough that the minimized version can be copied completely into the single file. Some people have gotten creative by storing library files in a table or grabbing them from a cdn and then using eval.


  • Author
  • New Participant
  • October 11, 2020

Thanks for your answer.
I’ve checked the airtable app. Isn’t it possible to use such methodology?
If it’s impossible, it would be good to have such function in future.

Isn’t there any other solution to reuse code except one using eval?


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • October 12, 2020

You can use node modules when building a custom app for Airtable. However, scripting app and automation action scripts are limited to one file.