Skip to main content
Solved

Can we write script in other languages?

  • November 16, 2022
  • 3 replies
  • 237 views

Forum|alt.badge.img+16

Hi, probably it’s a stupid question, but can we run the script in a different language such as Python, HTML, R, etc? I was thinking like in python, we can import a library to write codes in java language, can we do the same here? I’m new to Javascript.

Thank you!

Best answer by Greg_F

Hi @Sara

If you are need to use Python for some specific reason - you can always use Airtable scripting to send data to service like Pipedream.com run Python script there and return the data. Also for JS you can import node modules there.

Other options include Go and Bash😮

In theory you can also run Python scripts in Zapier, but that sounds like terribly painful idea.

3 replies

Soly
Forum|alt.badge.img+15
  • Brainy
  • November 16, 2022

Hi @Sara !
The Scripting Block uses only JavaScript as its coding language. There are ressources available to quick start your learning of JavaScript, you can check this one : https://www.airscript.dev/
Alternatively, this ressource is geared towards those who would benefit from an introduction to JS :

I hope that helps ! :slightly_smiling_face:


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • November 16, 2022

Airtable scripts have to be in JavaScript. On the other hand, if you are well versed in a different programing language such as Python, picking up JavaScript should be relatively easy. HTML is a markup language, not a programming language.

Airtable scripts also have to be self-contained–think a single file with no imported libraries.


Greg_F
Forum|alt.badge.img+18
  • Brainy
  • Answer
  • November 17, 2022

Hi @Sara

If you are need to use Python for some specific reason - you can always use Airtable scripting to send data to service like Pipedream.com run Python script there and return the data. Also for JS you can import node modules there.

Other options include Go and Bash😮

In theory you can also run Python scripts in Zapier, but that sounds like terribly painful idea.