Help

Button in Interface: Create Multiple New Linked Records using Automations

Topic Labels: Automations
Solved
Jump to Solution
92 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi There!

Fairly new to airtable - and loving it!

Context:
I’m in the process of developing an interface whereby users can view or create ‘parent’ records, whilst also being able to view and update linked child records.

Currently you aren’t able to ‘create’ linked child records in an interface (unless you do them one by one), so I’m looking for a workaround to create those records via clicking a button in the interface to trigger running a script via automations.

The script would work on basis of:
For this record > create X no of linked records in ‘child table’ (X = numerical value in ‘no of child records’ field)

Problem
I know there are multiple script examples out there that deal with creation of multiple linked records (namely the script developed by @ Kuovonne in 2020)- but I’m struggling to adapt them to my use case as a lot are built in the scripting app, and throw up errors when using them in scripts within automation .

Very much a scripting newbie so any help or pointers very much appreciated!

Thanks

Layla

1 Solution

Accepted Solutions

Hi Layla, here’s something to get you started

Create # records via script

Scripting work sometimes needs to be pretty tailored to one’s base / table setup, and if you hit issues you can also hire me to set it up for you too!

See Solution in Thread

2 Replies 2

Hi Layla, here’s something to get you started

Create # records via script

Scripting work sometimes needs to be pretty tailored to one’s base / table setup, and if you hit issues you can also hire me to set it up for you too!

Amazing - this works perfectly. Thank you so much Adam!!