Skip to main content
Solved

Automation to add attachment to new record

  • March 21, 2022
  • 2 replies
  • 303 views

Forum|alt.badge.img

I am adding records for user profiles. Records are only going to be name and email address until the user logs in to update with additional information.

I have one field set up as an attachment, and a user can upload an image to use as an avatar. I would like to set up a default image as a placeholder.

I have a view in the user table as ‘attachment field is blank’ to filter out the new records without an avatar, and created a separate table with one record that contains the placeholder image in an attachment field.

How do I set up the automation to pull the placeholder image over to the blank attachment field? I was thinking to trigger ‘when record enters a view’ but I can’t figure it out from there.

Thanks for the assistance :slightly_smiling_face:

Best answer by 1F408

Welcome to the Airtable community!

You can upload the default image in an automation by using a public url for the image. If your image is already an attachment in Airtable, you can find the url using a formula field. Note that this will re-upload the image, so the same image will count against your attachment space multiple times.


what are the specific steps / settings to do that?

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • March 21, 2022

Welcome to the Airtable community!

You can upload the default image in an automation by using a public url for the image. If your image is already an attachment in Airtable, you can find the url using a formula field. Note that this will re-upload the image, so the same image will count against your attachment space multiple times.


Forum|alt.badge.img
  • Author
  • New Participant
  • Answer
  • March 21, 2022

Welcome to the Airtable community!

You can upload the default image in an automation by using a public url for the image. If your image is already an attachment in Airtable, you can find the url using a formula field. Note that this will re-upload the image, so the same image will count against your attachment space multiple times.


what are the specific steps / settings to do that?