Skip to content
Kuovonne's Guide to Airtable
  • Pages
    • Kuovonne's Guide to Airtable
      • Fields
        • Overview of fields types
          • Editable Field Types
          • Computed Field Types
          • Field Types by Formula Data Type
          • Field Types in Scripting
        • Specific field types
          • Formula fields
            • Demystifying Formulas (DareTable 2022)
          • Rollup fields
          • Select fields
          • Attachment fields
            • Uploading Attachments
            • Attachment Size
            • Attachment URLS
            • Thumbnails
        • Converting Field Types
        • Naming fields
        • Metadata fields
          • Simple Metadata Fields
          • Data Validation
          • Additional Dependencies
          • Original Record URL (Thumbprint) Field
          • Column Divider Fields
          • DareTable 2023 Presentation
        • Field dependencies
      • Formulas
        • Formula Field Reference
        • Writing Formulas
          • Using AI to Write Formulas
          • General tips for writing formulas
          • Testing for Blank Values
          • Drafting Formulas in Parts
          • Function versus Operator
          • Typing Special Characters
          • Commenting Formulas
          • Formulas to avoid
        • Formatting Formulas
          • Basic Rules
          • Nested IF formulas
          • SWITCH Formulas
          • Operators
        • Specific Formulas
          • Ranges of Numbers Values
          • Comma Separated List of Fields Values with Optional Fields
          • Earliest / latest date across columns
          • List Fields Values (one per line) with Optional Fields
          • Rounding a date to the half year
          • Url of Interface Page for a record
          • Removing varying items from a list
        • Data Type Conversion in Formulas
          • Text to Numbers
          • Numbers to Text
          • Data type conversions with Dates
        • Troubleshooting Formulas
          • Formulas that won't save
          • Hiding or showing #ERROR!
          • Troubleshooting date/time/duration formulas
          • Troubleshooting numeric formulas
          • Troubleshooting formulas with lookups
          • Troubleshooting text formulas
      • Automations
        • Triggering automations
          • Triggering automations for typed values
          • Triggering automations on existing records
        • Sending Emails
          • Ways to send emails
          • Using links in emails
          • Emailing Attachments
        • Accessing updated record values
        • Third party automations
        • Managing automation runs
      • Templates
        • Templates for record values
        • Templates using field values
      • Controlling Access
        • Sharing a base
        • Access control considerations
        • Techniques for limited access
          • Airtable interface
          • Share link access
          • Synced table
          • Prefilled forms + Automations
          • 3rd party portal
          • 3rd party webhook
        • Preventing base duplication
      • Specific Solutions
        • Most recent form submission for ermail
        • Email digest of a person’s records
        • Sum of Multiple Select choices
        • Link to multiple records based on select choices
        • Dropping Lowest Score (top 4 of 5)
        • Identify the position of a record in a linked record field (top 4 of 6)
        • Sequential Numbering of Records
        • Ending a list of rollup items with ", and"
        • Table ID in a formula
        • Latest/earliest date across several fields
        • Associating People with Records
        • First Tuesday of the Previous Month
      • Miscellaneous
        • Web API Calls for External Integrations
        • Getting paid to work with Airtable
        • Hiring a consultant
        • Airtable Communities
        • Making major changes to a base
      • Suggestion for this guide

Templates for record values

Thank Kuovonne for creating this content!
When creating or updating records, you often want to start with a template of predetermined values.

Native Airtable Record Template

Airtable . These record templates allow you to create new records with preset values, and also apply those values to existing records.
Pros:
This system is native to Airtable.
This system may receive additional development to become more robust.
You can easily see all the templates in a base in one place.
You can apply a template without using an automation or a script.
Cons:
A template cannot link to an existing record. (A template can create a new linked record.)
You cannot use calculated values in the template (such as the current date).
Only people with creator permissions can create and modify templates.
The end result when applying a template can be confusing. Fields that have values when the template is applied sometimes retain their previous values and sometimes have the template values appended to the previous values, depending on the field type.
The initial version is not integrated with the built in “Show Dependencies” system.

Template defined in automation actions

You can use automations to set predefined values for a record, either by having the automation create the record, or by using a “when record created” trigger.
This method is different from using an automation to apply a template stored elsewhere because the actual values are stored in the automation itself.
Pros:
You can link to existing record.
You can control whether new field values replace or append to existing values in attachment fields, multiple selects, linked record fields, etc.
You can include calculated results as values, either by referencing formula fields in the triggering record or by using scripting.
Fields set directly using the “create record” or “update record” are automatically included in the “Show Dependencies” feature.
Cons:
Applying a template requires an automation.
You cannot reuse the template in multiple places.
It can be hard to search through all the automations in a base to identify the ones that act as templates.
Setting individual field values can be tedious, and you cannot easily re-arrange the order of fields.
Each base has a limited number of automations.

Dedicated Template table

Have a dedicated table for template records. Use automations or scripting to create new records or edit existing ones based on the template.
Pros:
It is easy to view and identify templates.
You can control whether new field values replace or append to existing values in attachment fields, multiple selects, linked record fields, etc.
You can include calculated results as values by copying the result of a formula field to an editable field.
Users can create templates with only editor permissions, or the table can be locked down to only let specific people create or edit templates.
Cons:
Applying a template requires an automation or a script.
Schema changes to the main table need to be mirrored in the template table.
Having links between tables requires additional linked record fields that can make the schema messy.
This system takes an additional table to maintain.

Template records in the same table as actual data records

Instead of having a dedicated template table, include the template records in the main table itself. Have a single select field (or similar) to identify which records are templates. Use an automation or a script to create new records or edit existing ones based on the template.
ok
This is currently my favorite method.
Pros:
With no additional tables, schema changes occur in only one place.
People with edit permissions can create and edit templates.
It is easy to see templates in a dedicated view.
You can control whether new field values replace or append to existing values in attachment fields, multiple selects, linked record fields, etc.
You can include calculated results as values by copying the result of a formula field to an editable field.
Cons:
Applying a template requires an automation or a script.
Having to filtering out template records when viewing actual data can be annoying.
You cannot prevent editors with base access from editing existing templates. (You can prevent them from creating new templates.)

A combination of methods

You can combine techniques from multiple methods. For example, you could have an automation that creates a record using a native Airtable template for non-calculated fields followed by an update record action that updates other fields.
Note however that this spits up the logic in multiple places which can make the system more difficult to maintain.

Applying a non-native record template

When applying a template from a dedicated template table or template in the target table itself, you can choose between a create record action, update record action, or a scripting action.
Create record or update record actions work best when there are only a handful of fields with values in the template. If you want to include a new field in the template, you must add the field to the automation. If you delete a field from the template, you must remove it from the automation.
Scripting actions work best if you want to include all of the editable fields in the template, including any future fields. A script can be written to copy the values from all editable fields, including any future fields so that you can add or delete fields without having to touch the script or the automation. On the other hand, if you will copy over only a few fields and hardcode the names of the fields, the script will break of someone renames a field. (Using field IDs can avoid problems with renaming fields, but introduces other issues related to maintainability and portability.)

Templates versus default values

Some fields, such as number and single select fields, can be configured with default values. This is different from templates because templates typically have a combination of values for multiple fields, whereas a default value applies only to a single field.
When creating a record with a template, the template value is used instead of the default value.
Thank Kuovonne for creating this content!

Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.