Oct 11, 2020 11:04 AM
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?
Oct 11, 2020 12:56 PM
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
.
Oct 11, 2020 01:50 PM
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?
Oct 11, 2020 07:01 PM
You can use node modules when building a custom app for Airtable. However, scripting app and automation action scripts are limited to one file.