You can create a chatbot in Zapier and integrate it with 2Chat as shown in this article and video.
Sometimes the chatbot could not retain the context of the conversation and seemed to forget previous messages, making each question independent and complicating communication. To avoid this, it is important to add the "Remote Phone Number" field from the 2Chat component to the "Conversation Key" field in the "Zapier Chatbot" component. The Conversation Key is a value that will allow the bot to maintain the context and thread of the conversation.