Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Development & APIs
Share, ask questions, and learn more about the backend of your Airtable applications.
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Duplicate Base via new API

Admittedly, I'm super new APIs in general, and I'm using ChatGPT to generate the code. So, if you're looking at it and you're like 'you and chatbot are wrong about everything and this can't be done', please let me know.Here is my use case:Imagine I a...

Joseph_Roza by 5 - Automation Enthusiast
  • 3 replies
  • 0 kudos

Can I use the scripting extension in automations?

Hi there! So, I have a funny case. I wanted to connect to a webhook and grab some properties. I needed to create a script since I had nested data. I did that and noticed that I can't use updateRecordAsync() procedure inside scripts in automation. I t...

Needing Trigger for Extension

We utilize the QR Code Extension in our data base & am looking for simple automation to trigger said extension when a form is submitted.  I have all the steps down but the trigger from the automation to hit the manual button on extension. I expect it...

JKules by 4 - Data Explorer
  • 2 replies
  • 1 kudos

Resolved! Having trouble filtering in automation script

Hello!  I am in desperate need of help. I can't figure out how to "filterByFormula" in the following script. I am trying to send a JSON payload via webhook to I only want to send records where a given field is blank. I have tried multiple v...

Resolved! Multiple fields in script config

I am new to scripting & know that I dont know exactly what I am doing however I like to learn & am kind of learning on the job taking it 1 step at a time.When creating a script the following code will allow the user to choose which table & field they...

yiddy by 4 - Data Explorer
  • 4 replies
  • 0 kudos

Button that runs a script to generate a random string

I'm not familiar with Javascript.Looking to make a button that will start a script to generate an alphanumeric string that's 8 characters long.  The code I found on Google to generate a string is:function makeid(length) { var result = '...

noelng by 4 - Data Explorer
  • 1 replies
  • 0 kudos

Resolved! Is it possible to use Ajax in an Airtable script?

I want to make an automation that runs a script, and in that script I'd like to call an ajax function (either with jQuery somehow or with XMLHttpRequest() etc.) to grab some external data from a Google calendar. Is this possible? I've searched around...

MrLuke by 5 - Automation Enthusiast
  • 6 replies
  • 3 kudos

Resolved! viewAsync - choose a view from a view section?

I've run across a script in our base that uses this code:let view = await input.viewAsync("Pick a view", "Projects");Our "Project" Table has 100+ views organized by sections, is there any way to modify the code to limit the input choices to a specifi...

Steve_Kiwi by 5 - Automation Enthusiast
  • 2 replies
  • 2 kudos

Getting started on scripts and extensions

I want to help make my company better with scripts and extensions.  However, I am not fluent with Github or Javascript.I am a quick learner. I think that there are some ideas that I have that could be accomplished through extensions and scripts.   I ...

Drew_Nemer by 6 - Interface Innovator
  • 1 replies
  • 1 kudos

Airtable Script to update a linked field with a string

Can you help.I need to replace a linked field with a string - both in the same table. Here's my code: The problem is on line 23. If I run it as the following it works fine. However "YSW CC2" is a text field.23        await mainTable.updateRecordAsync...

Rob_Dixon_0-1672412247992.png Rob_Dixon_1-1672412553783.png
Rob_Dixon by 4 - Data Explorer
  • 3 replies
  • 2 kudos

Basic authentication for vidaxl api

Hello, anyone availeble to help with basic authentication for vidaxl api. I am trying to get products data but really struggling with the authentication // define the request urllet base_url = "";let authUser = "som...

Resolved! Formula filter based on record id

Hi. I,m trying to filter records using filter formula based on record_id. The field is not exists in the table, and we don't want to create formula field to have record ids explicitly. Is there a way to compose query formula to filter data by their r...

Can't updateRecordAsync - Long Text Field

I'm trying to generate some content using OpenAi's new ChatGPT API and I'm having an issue with updating the record field in my table with the response from their API. I have no idea why but for some reason I can't update the Long Text Field with the...

clayc210 by 4 - Data Explorer
  • 0 replies
  • 0 kudos