How do i get the record ID

How do i remove and just gets the record_id form the record. without having to pick it

let url = “https://hook.integromat.com/jdvimkhmxdtt5x7u5fomjh09hpxxxxxxx?recordID=”;
let table = base.getTable(“Opslag :floppy_disk:”);
let view = table.getView(“Opslag som skal laves”);

let record = await input.recordAsync(“Vælg opslag”, view);
await fetch(url + record.id);

Welcome to the community, @Social_Manager! :smiley: You could use a button field to trigger that script, and it would pass the record in when you click the button.