Skip to main content
All CollectionsAutomationsPublic URLs for Airtable Attachments
How to change the name of the files from the public URL
How to change the name of the files from the public URL

You can assign the values from another field as the name for the attachments

Updated over a week ago

You can modify the formula generated by the 'Public URLs for Airtable Attachments' Automation to change the file names from the URL. You'll need a field for the filename; you can use an existing one or create a new one for this purpose.

Keep in mind that this field can't be left empty, as it will be part of the formula for each attachment URL.

  • The formula the automation generates to use in Airtable follows this pattern:

'https://web.miniextensions.com/api/public-attachments/RzRbywHrgnH8oTTSw4dW/' & RECORD_ID() & '/1'. 
  • When creating or modifying the formula field that will generate the individual URLs in your Airtable base, add the name of the field that contains the names to the formula after the number and a new slash '/'. Use the '&' character to concatenate the field name outside quotation marks.

  • After adding the slash, the ampersand, and the field name, the formula in the example above will look like this. {Renaming} is the field that contains the names:

'https://web.miniextensions.com/api/public-attachments/RzRbywHrgnH8oTTSw4dW/' & RECORD_ID() & '/1/' & {Renaming}. 

This is how it looks in Airtable:

With this setup, the automation-generated URLs will display the name in the {Renaming} field for each record.

Did this answer your question?