Hi everyone!
I’m working on a workflow in Airtable where I want to automatically generate rows in a second table (CostComponents) based on new or updated records in a first table (Employees).
In my specific use case, I want to create a predefined set of rows depending on the “Resource Type” of an employee (“Existing employee”, “New hire”, or “Freelancer”). For example:
• For “Existing employee” → generate 16 rows
• For “New hire” → generate a different set of rows
• For “Freelancer” → generate yet another set of rows
Each generated row has static fields like “Cost Component”, “FTE”, and other data pulled from the Employees record.
I’m currently using Airtable Automations with “When record created” and “When record updated” triggers, combined with a Run script action. The script seems to run, but doesn’t create the rows. I’m curious:
• Is this the best (or most scalable) approach?
• Are there other ways to handle this kind of row-generation logic within Airtable itself (without relying heavily on scripting, or minimizing duplication)?
• How would you structure the data so that monthly budgeting amounts (which are filled in later) are easy to manage and analyze?
Summary of my use case: New or updated records in the Employees table should trigger the action
Depending on the Resource Type, a fixed set of rows is created in the CostComponents table
The rows include data like “Company”, “Name”, “Cost Component”, etc.
Monthly budget columns (FY: Oct–Sep) remain empty for later input
Thanks in advance for your insights and recommendations!