Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Automation to delete image in record

Topic Labels: Automations
Solved
Jump to Solution
62 2
cancel
Showing results for 
Search instead for 
Did you mean: 
IIAL
4 - Data Explorer
4 - Data Explorer

Is there a way to automate delete an image after the date set for that image. Context this is for a social media posting automation using another source (Make.com with airtable). Only have the free airtable account so it will occasionally say there are too many images, it would be nice if they would automatically delete after posting. 

Thanks

1 Solution

Accepted Solutions

Assuming you're alright with clearing the entire attachment field, you should be able to do this with Automations relatively easily. 

Make a formula field that'll check whether today's the same date you want the image to be deleted on, make the automation trigger off that field, then do an "Update Record" action, add the attachment field then leave it empty like so:

Screenshot 2023-01-18 at 11.27.09 AM.png

 

This'll clear out the image.  I vaguely recall reading that deleted attachments still contribute to the file size though as they're kept in the trash for you to recover it or something?  Not sure I'm afraid, sorry

See Solution in Thread

2 Replies 2

Assuming you're alright with clearing the entire attachment field, you should be able to do this with Automations relatively easily. 

Make a formula field that'll check whether today's the same date you want the image to be deleted on, make the automation trigger off that field, then do an "Update Record" action, add the attachment field then leave it empty like so:

Screenshot 2023-01-18 at 11.27.09 AM.png

 

This'll clear out the image.  I vaguely recall reading that deleted attachments still contribute to the file size though as they're kept in the trash for you to recover it or something?  Not sure I'm afraid, sorry

Thank you, I actually did not even need to use the formula field.