Hi,
I’m trying to use linked records in a “When record is created” automation to create records in a repeating group, but I don’t understand how to get it to work.
I googled and reviewed Airtable’s support documentation (https://support.airtable.com/docs/repeating-groups-of-automation-actions), but that was less than helpful. It confirms linked records can be used, but doesn’t open up how to do that.
The background is that I want to create Invoice Header and Invoice Line Item records in separate tables based on one order record with products as linked records. First a new order triggers creating a new Invoice Header record, then this triggers creating a new line item record for each of the linked product records.
(I first tried to create both the header and the line item records in one automation, but that didn’t work because one cannot have repeating groups inside a conditional step. The conditional step is required since not all orders created should trigger the automation, so there needs to be a filter in between.)
I have a Find records step that matches with the triggered record’s id. That result is then used as the Input list in the repeating group, but it holds only the one record.
When I test the list I receive the triggered record, and when I use this result as the input for the Create record and “current item”, the result is getting all the linked records’ data into one field, not one new record per linked record. Obviously, I guess, since the input list holds only one record 😊.
I first tried to use the triggered record’s linked field directly, and then I got several records in the input list, but had only the triggered record’s ID and name as values I could use for creating the new record.
How is one to use linked records as the input for repeating groups?
Rgds,
Björn










