The absolute easiest way to do it would be replacing:
await input.buttonsAsync('Proceed?', ['Yes', 'No'])
with
true
or if you want to do it the right way, you’d delete:
let decision = await input.buttonsAsync('Proceed?', ['Yes', 'No']);
and also delete:
if (decision === 'No') {
    output.text('Operation cancelled.');
} else {
and then delete the very last line, which is just a } by itself.
                
     
                                    
            @Kamille_Parks  thanks for your help! So i deleted the part “awai…” and replaced by true, it is working fine. A just need something more, is it possible to keep the script always working by itself ? Like I don’t need to Run ? Thanks  :slightly_smiling_face: 
                
     
                                    
            @Kamille_Parks  thanks for your help! So i deleted the part “awai…” and replaced by true, it is working fine. A just need something more, is it possible to keep the script always working by itself ? Like I don’t need to Run ? Thanks  :slightly_smiling_face: 
You could set up an Automation to run when records are added/updated, or regularly like once per day. You would need to convert the script to one compatible with an Automation “Run script” action. That requires more edits to be made:
- Delete every line that begins with 
output.text(...) or output.markdown(...)
 
- Change 
let settings = input.config(...) to 
let getTable = await base.getTable("Enter the name of your table here")
let settings = {
   table: getTable,
   firstIdField: getTable.getField("Enter the name of the field"), 
   secondIdField: getTable.getField("Enter the name of the field"), 
   comparisonField:  getTable.getField("Enter the name of the field")
}