dazzling-beard-67074
02/29/2024, 8:17 PMMessage sent to ${account.doctorLastName}
);
twilioMessageSid = twilioResponse.sid;
} catch (error) {
console.error(Failed to send message: ${error}
);
}
// Reset message for the next doctor
message = '';
const channelId = 'cd492fd1-bd8d-4683-97d6-9c5c3a79180b';
const tags = {};
const conversationData = await startConversationInBotpress(channelId, tags);
if (conversationData) {
// Now you have a conversation started in Botpress, and you could use the conversation ID as needed
console.log(Botpress conversation started with ID: ${conversationData.id}
);
}
}
Appreciate any help 🙏gorgeous-father-99537
03/04/2024, 2:08 PM