Skip to main content

Deleting Attachments via Automation

  • August 11, 2022
  • 2 replies
  • 181 views

Sean_Murphy1
Forum|alt.badge.img+17

Hello everyone. N00b alert!

In some cases I need to delete an attachment as part of an automated process, after it has been moved elsewhere.

I’ve read that you can delete an attachment just by overwriting the field with a blank value Erase all attachments from the attachment field in an instant

However this doesn’t seem to work for me. Instead, that action fails with the message ‘Field “Attachments” cannot accept the provided value: Invalid string.’

Am I missing something here or is this better suited for a scripting block?

Thanks for your insight!

2 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • August 11, 2022

It works for me. Just leave the attachment field completely blank in your update record acrion:.


Forum|alt.badge.img+16
  • Inspiring
  • August 11, 2022

To remove the attachment,
set the value of the attachment field to null .

This is referring to creating a javascript, something else in Airtable.

As Scott said, dont put anything in the Attachments field, and the automation will overwrite it with blanks.