How to link a Slack thread message to a OpenAI thread?

Hi, I’d like to know how to attach a threaded message to a Open AI Thread using Slack? Because when I write a message in Slack it send to Open AI but it always create a Thread on OpenAI, but I’d like to attach slack threaded messages to an only Thread in OpenAI, if the Slack message is a new message, it should create a new Thread and all the slack messages should store in the created Thread, how can I achieve this>