Thanks, i finally found the solution, if you need to get the record Id of the field after press a field button use this.
let tableClientes = base.getTable("Clientes");
let record = await input.recordAsync('',tableClientes).catch()
console.log(record.id, record.name);