Building on drprm1 comments here is how one proposed solution might look:
Create 2 state variables S_open_cmd and S_close_cmd (for example).
Create routines of 'Alexa, open door 1' and 'Alexa, close door 1', which turn on the open and close state variables, respectively.
Assuming that you have a position switch on door 1 which indicates if is open (and is called Door_1_open), create 2 programs in ISY is the following form:
If S_open_cmd is true and Door_1_open is false then
Set the relay output true,
wait x seconds
set the relay output false
set S_open_cmd false
If S_close_cmd is true and Door_1_open is true then
Set the relay output true,
wait x seconds
set the relay output false
set S_close_cmd false
Don't forget to declare the state variables as lights in the portal to make sure that will work in a routine.
(I hope the above solution will actually work)
Don