Flex | Aug. 13, 2020
Flex’s Messaging Channel Janitor now cleans up inactive conversations
Flex’s Messaging Channel Janitor is now on by default for any new Flex messaging configurations (Flex Flows) created within the Twilio Console, as well as the default Flex Flows created for new Flex accounts.
Channel Janitor cleans up the chat channel and Proxy sessions for completed tasks, keeping them in sync with TaskRouter and making sure that when an existing customer contacts again, a new conversation is started.
Flex Flows are the configuration entities mapping phone numbers to Flex (one Flex Flow per phone number). Channel Janitor is enabled/disabled per Flex Flow. To enable Channel Janitor for existing Flex Flows, you can use the Flex Flow API or the Flex Messaging page in the Twilio Console.
You can learn more about the Channel Janitor and long-lived channels in Flex messaging documentation.