early-train-33247
05/31/2023, 4:53 PMts
const createConversationBody: CreateConversationBodyBP = {
channel: 'channel',
tags: {
'whatsapp:userPhone': phone,
},
integrationName: 'whatsapp',
};
const createConversationRequest = await axios.post<CreateConversationResponseBP>(
'conversations',
createConversationBody,
);
I get an error saying
'Bot "id" cannot create conversations for channel "channel" of integration "b98f4c5f-cfed-4e47-b45e-c6e2c9415a78"'
Question 1 - Is there a way to achieve this? Or the user must always have start the conversation himself?
Question 2 - How can I send a template message in cases where there is a conversation already, but the last interaction was over 24 hours before? (I am thinking of sending a greeting everyday to keep the conversation window always open, is it viable?)acceptable-gold-88171
05/31/2023, 5:03 PMearly-train-33247
05/31/2023, 11:59 PMearly-train-33247
06/02/2023, 8:10 PMcolossal-egg-20510
06/05/2023, 2:12 PMcolossal-egg-20510
06/05/2023, 2:13 PMrich-battery-69172
06/05/2023, 9:37 PMrich-battery-69172
06/05/2023, 9:38 PMstraight-secretary-60237
06/06/2023, 3:39 AMrich-battery-69172
06/06/2023, 12:36 PMearly-train-33247
06/06/2023, 1:14 PMearly-train-33247
06/06/2023, 1:15 PMrich-battery-69172
06/06/2023, 1:42 PMrich-battery-69172
06/06/2023, 1:42 PMearly-train-33247
06/06/2023, 1:43 PMearly-train-33247
06/06/2023, 2:43 PMcolossal-egg-20510
06/08/2023, 2:08 PMearly-train-33247
06/08/2023, 8:45 PMaverage-megabyte-82737
06/21/2023, 12:12 PMrich-battery-69172
06/21/2023, 6:01 PMrich-battery-69172
06/21/2023, 6:01 PMincalculable-bird-83091
06/27/2023, 7:20 AMcolossal-egg-20510
06/27/2023, 2:47 PMearly-train-33247
06/27/2023, 6:16 PMcolossal-egg-20510
06/27/2023, 7:04 PMincalculable-bird-83091
06/28/2023, 7:35 AMcolossal-egg-20510
06/28/2023, 9:40 PM