The community member in the post is exploring the possibility of adding an "END" block to the FLUXO API to track the completion of a bot flow and record metrics. The comments suggest that the ending of a bot can be inferred from the API response, rather than requiring the user to explicitly set the endings. There is no explicitly marked answer in the provided information.
By doing a GET in FLUXO, we notice the existence of an array of events where at this moment there is only the START event which corresponds to the beginning of every BOT created in TYPEBOT.
We imagine the possibility of including an END block to complete the flow and eventually be listed as another event in the EVENTS list.
Our objective is to receive feedback from the API to identify the completion of the FLOW and record metrics for this event.