Need development and API help? Ask your questions here!
Recently active
Hi, really love the flowchart block. As the SDK for the flowchart block is open, I was wondering if anyone in here have created any custom flowchart blocks yet? Also Airtable devs: Any chance we will see the 100 record limit lifted soon?
I am using the Airtable Python API With the following code I get a successful response, minus the API key I removed. *from airtable import Airtable* import os* table_name = ‘PeachTree 903’;* base_key = ‘app9F0yiPo2kvFBsA’;* api_key = ‘’;* airtable = Airtable(base_key, table_name, api_key)* print(airtable)* The response I get from the above is: Which matches my table_name. Now when I go to add this next line and run the script I get the following errors like nothing is returned which does not make any sense. airtable.get_all() Anyone solve this?
Here is my goal. I have three fields within my table as follows: Button Field (for the purpose of running script, available in Beta) Check Box Field (used for filtering view) Linked Record Field I am looking for script (or other method) to do the following: Click button to run script Script marks Check Box with Check Script adds all available records from linked table in the Linked Record field. For example, say there are 3 records in the linked table. When I click the button in the record in my table, the Linked Record field should populate with links to those three records. Thanks!
is it possible to have a markdown output for a long text with rich text enabled field instead of this syntax? - Discuss [empathy][1] with your child/ren. - Incorporate [(40) kindness and empathy activities ][2]at home. [1]: https://mcc.gse.harvard.edu/resources-for-families/5-tips-cultivating-empathy [2]: https://positivepsychology.com/kindness-activities-empathy-worksheets/
Hey, Every time I’m renaming or moving a typescript file, I get the following error in block run: Bundle Error: Cannot find module './OldFileName' from '/home/user/superblocks/my-block/build/development/transpiled/user/frontend' The only way I found that makes block run work again (if I don’t want to rename or move the file back) is to delete the build folder, the block node_modules folder, uninstall the blocks-cli and today I also had to run npm cache clean --force. I’m guessing it has something to do with the typescript or babel transpilation process that keeps previously transpiled files around in a cache. Questions: Is there a way to rename or move files without breaking block run? If not, is there a more time efficient way to fix this after it breaks? Someway to efficiently clear the relevant cache without having to uninstall and clear everything npm? Thanks, Ronen Babayoff Superblocks.at
I’m developing a new block as part of this competition: https://airtable.devpost.com/ I’m having issues with react hooks (it complains that I’m using two different react versions). Is there a way to look at how you’re bundling the JS? It’s using the @airtable/blocks-cli package but I can’t figure out what that’s actually doing. Is there a way to overwrite the webpack config you’re using? If not, could you tell me which react version you’re using? Thanks!
I’m wondering if this is intentional behavior… In the Scripting Block’s editor, when I try to use the spread operator [...] to spread a Set() into an array, I get syntax highlighting for an error: Using Array.from() on the same Set() works just fine (no syntax highlighting). But, curiously, the Scripting Block also runs the script just fine with the Spread operator version of that line of code, even though it’s highlighted as an error. The same code does not produce any error highlighting in a JavaScript environment in VS Code: Not a real issue, and probably an edge case, but I figured I’d report it anyhow, just in case 1) it’s an unintended bug, or 2) I’m unaware that shouldn’t be using the Spread operator on Sets. Side-note… The built-in editor in the Scripting Block is a surprisingly excellent experience! I’m curious if you guys rolled your own, or if you utilized some open-source editor library?
Hey folks. I am trying to read an Airtable view into a pandas dataframe and I am having a heck of a time to get it to work. I tried the airtable-python-wrapper, but no joy, something about the code causes it to die. Thanks
Hi everyone, I’m having an issue that when I save an integer to a percent field, it appends 0.0% to the amount. Let’s say the value is 25 it’ll save as 250.0% anyone has an idea on why this is happening? And also on the API docs, the percent field is the only one that displays no info. I have attached screenshots of this.
I would like to write a simple script block triggered by the new beta button to update fields in the record which the button was push. The use can is this. Our team uses a base to track orders through a production environment: planning to operations to lab to shipping. There are several fields that have to be updated to move the records from one department’s view to the next and it would be great to automate these updates with a button. I have no javascript experience so I really don’t know where to even start. Any help would be greatly appreciated.
Hi all - I’m new to react and web dev in general. I have created a Box with a FormField inside. It displays correctly but I cannot seem to enter any text in the input field. It is not taking any values, like it is read-only. Does anyone know what I am doing wrong? Here is my code: <Box padding="20px" border="thick" borderRadius="large" > <div> <FormField label= {formLabel} > <Input placeholder = {descriptionPlaceHolder} value = {addDescription} onChange={e => addDescription = e.target.value} /> <Button style = {{marginTop: 10}} onClick = {() => {}} > Add </Button>
Hello! I’m trying to use my Airtable base to output multiline code snippets based on the records, but I can’t seem to figure out how to give the output.markdown() the correct strings to render something like: function test() { console.log("notice the blank line before this function?"); } It works fine when using the single back tick, `, to create a preformatted text style, but if I use the triple back-tick like so, ```, it throws an error. Here’s an example:
The Custom Blocks contest deadline is approaching! Do you have questions about releasing or debugging your block? We’re hosting our third live Ask Me Anything (AMA) session in this thread on Wednesday (6/24) at 11am PT. Billy Littlefield and Tim Deng from our platform engineering team will be ready to answer any development questions you have. We’ll be picking 3 questions at random to win a $40 Amazon gift card. Any solutions offered by the community will be included in the draw as well. You can even start posting your questions now, and we’ll be answering questions live from 11am - 11:30am PT on Wednesday. See you there!
Last Modified’s field data can’t pass through Integromats filter. Output of previous chain send’s Last Modified’s field data correctly in filter. I tried to mention name, email, id, even mention tag but nothing works: anjeytv@gmail.com usrFiOja8dQXDG3Ra АКСЕНОВМЕДИА <airtable:mention id=“usrFiOja8dQXDG3Ra”>АКСЕНОВМЕДИА</airtable:mention> It is still can’t pass through the filter. Please help what should i put in it?
We have used CSV Import block, and it work well. But when we integrate it into our website using iframe, it seems that CSV Import block didn’t work. Do CSV import block work within an iframe? Thank you.
I am using a script to fetch stock prices from https://financialmodelingprep.com/api/v3/quote-short/?{stock}?apikey=* I run it and the CORS error pops up saying it is unable to fetch the data. Then sometimes Ill click it and it’ll fetch but return the price undefined… Any workaround to having this work a bit better? Here is my code if anyone is curious output.markdown ("# Updating stock prices"); let table = base.getTable (“Stocks”), records = await table.selectRecordsAsync (); await Promise.all ( records.records.map (async record => { let stock = record.getCellValue ("Ticker"); if (! stock) { output.text ("Can't update the price of stock with no name"); return; } output.text (`Updating price of ${stock}...`); // make request var requestResult = await fetch ( `https://financialmodelingprep.com/api/v3/quote-short/${stock}?apikey=*` ).then (r => r.json ()); // print fetched data output.markdown (`${stock}'s price r
Hi there, I’m a d3.js developer new to Airtable. I’m trying to work out how to import d3 (which is an external Javascript library) and where to do it so I can get started! And would I do this in the API or in a scripting block? Any thoughts?
Do you have a block idea that could transform your workflow but are not familiar with React? Chime in with your ideas here! And if you’re a developer who is exploring the community forum for ideas, hopefully this thread can become a resource for inspiration and user feedback.
Hi Airtable Community! I’m trying to build a market map from my Airtable records like the one below from CB Insights but I’m having trouble figuring out how to include records with multiple columns like logo, location, founding year. Currently, I have an airtable record with name, founding year, logo image and location and created a separate table called categories that links to the previous table and groups the logos into a column. I’m hoping to do the following architecture so including a company’s logo + total funding + founding year date. Haven’t quite figured out how to group by category and have both the logo + additional columns. <Category> Category name <Logo /> Founding Year, Total Funding <Logo /> Founding Year, Total Funding <Logo /> Founding Year, Total Funding <Logo /> Founding Year, Total Funding </Category> image|700x415
Hi @Katherine_Duh, What is your Airtable’s Community Engine which it’s powered by ? I suppose backend is Airtable + Airtable’s API but I’m feeling a :star_struck: UX on your Airtable’s Community frontend so I’m curious ! Best, oLπ
Hello, I’m studying Airtable API and I have problem with receiving anything with cURL in PHP. All I’m getting is NULL value. Here is my code: function refreshCache(){ //get cURL resource $ch = curl_init(); //set url curl_setopt($ch, CURLOPT_URL, 'https://airtable.com/tbl5g83TtrSE0LpS0/viwcGbSmDc5FhHrHg/rec2UUOz1aQEPsuFL?api_key=MY_HIDDEN_KEY'); $out = curl_exec($ch); curl_close($ch); file_put_contents('cache.txt', $out); print_r($out); echo("<br/>"); var_dump(json_decode($out)); } refreshCache(); I know that I should receive SOMETHING, because table and rows aren’t empty. What I’m doing wornd? Thank you!
Can a scripting block learn what the currently selected records are and get updates when that selection changes? I’d like to write a script that knows when the user has only a single record selected in the visible table and then uses some fields in that record to do something fancy. Any time the user clicks on a another record, the block should be notified, look up the new field values, and redo the fancy action. Is it possible to get such notices in a scripting block?
Hi @Kasra , @somehats , @VictoriaPlummer , Independant Developpers, referring to: Airtable Airtable | Everyone's app platform Airtable is a low-code platform for building collaborative apps. Customize your workflow, collaborate, and achieve ambitious outcomes. Get started for free. GitHub GitHub - Airtable/apps-base-schema: Visualize all your base’s tables, fields,... Visualize all your base’s tables, fields, and relationships. - GitHub - Airtable/apps-base-schema: Visualize all your base’s tables, fields, and relationships. github.com Airtable/apps-base-schema/blob/master/frontend/parseSchema.js import _ from 'lodash'; import {FieldType} from '@airtable/blocks/models'; import {FIELD_LABELS_BY_TYPE, LINK_LABELS_BY_TYPE} from './constants'; /** * Utility helper to push an item into an array at given object key, or initialize that array
Hey Guys, First post here. I’m transferring from Podio to Airtable and the transition is a bit confusing to say the least We are currently using Airtable as a CRM. We have 32 emails that we use to send marketing emails. Replies get forwarded to one master email. When we reply from the master email in Gmail, it automatically replies using the sub-email account’s domain. We then create a label as a ‘lead’ in Gmail, which then add’s the contact into Airtable. Airtable is where we track the leads and Gmail is where we communicate. We want to somehow schedule clients into Calendly/Google Calendar, etc from inside of Airtable using the data & time field. The challenge is that we want to ‘block’ time slots in Airtable that are currently already booked in our calendar - so we don’t double book. It’s very time consuming to copy and paste all the Airtable data into Calendly (or Google Calendar, etc.) – this is nearly impossible if we are on Airtable for Mobile - and we are not near a deskto
Have a table I am sending Twilio SMS from, one field is 10 digit number [10DN]. Want to gather info through SMS replies, run a Twilio Function, and update that same record. Thanks in advance Receiving this 82002 error! Screen Shot 2020-03-25 at 1.34.16 PM|690x290 var Airtable = context.AIRTABLE_API_KEY; var base_id = “appGRnjvExBkkhQa2”; var base = Airtable.base(base_id); var table_name = context.VOLUNTEERS_FOR_DELIVERY_TABLE; var table = base.table(table_name); // lookup the RFID number in our table and then update that record // with additional data table.select({ “filterByFormula”: “{10DN}=event.number” }).firstPage((err, results) => { if (err) { // handle err; throw err; } // results will be a list, but if the column we are searching for should unique, // then we should only have one element in the array // if the uniqueness assumption here is not true, then you’ll want to turn this into a loop var record = results[0]; // grab the record id // and then push an update to this r
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.