Delete record after it is copied to another - airtable automation scripting app

dear airtable community,

i have a record that i want to move to another table when the checkbox is filled. to do so i have set up an automation you can see down below.

now i want to add the feature, that the moved record should be deleted in the first table and therefore i need a custom script.

unfortunately i dont have any experience in scripting and therefore am reliant to your help.

if anybody could come up with a suiting script that would be highly appreciated! i browsed the forum already but without any success.

thanks in advance and stay safe! :slight_smile:

Hi,
quite easy
put your table name
set id as input variable
script gets it as input.config() property