Running python code using pyairtable when a new item is created in a table

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

If I want to run a python script when an item is created in a table using pyairtable, is this possible or will I only be able to do this through an IDE/terminal? If I can import my script to the website, will I need the plus, pro, or enterprise-level account?

2 Replies 2

Only if you can call an endpoint (webhook) that runs Python/your script. You would do this with an automation script using javascript, not Python. But, beware, pyairtable is a library for client-side scripting, not [specifically] server-side scripts. It might work if you can create a Flask server.

I think Pro or better allows you to use the Airtable API.

If your goal is to use data from Airtable to create a web app, you might want to take a look at Streamlit.

Pro or higher (not a Pro trial) is required to run an automation script, which is what could call your endpoint on your server.