How to use node modules for airtable automation

Topic Labels: Automations
2934 3
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

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 3

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.

4 - Data Explorer
4 - Data Explorer

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?

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