Raise Ticket Issue - Not created when no agent active

Hi,

I’m currectly create flow for reaise ticket to live agent. My current issue right now when user tried to raised ticket and there is no available agent, the ticket /chat not available in the open chat. It will available when there is online agent when user raised ticket.

I want to configure whenever live agent are available or not the ticket should be created and the chat will be open and resolved by live agent it self.

Please see some attachment in below.
Thanks in advance.