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 = “”;
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 +;

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.