957 questions
Integration Issue Between Twilio WhatsApp Bot and Azure - Sequence Messages Not Received/Synced
Tulio Alberto da Rocha Campos
0
Reputation points
Hello,
I am experiencing an issue with the integration of the Twilio WhatsApp bot hosted on Azure. The bot is not receiving "sequence" messages sent by Twilio. Here are some details about the problem: In my code, _watermark
is configured as follows:
_watermark = response?.Watermark;
result = response?.Activities?.Where(x =>
x.Type == ActivityTypes.Message &&
string.Equals(x.From.Name, s_botService.BotName, StringComparison.Ordinal)).ToList();
//Console.WriteLine(result);
if (result != null && result.Any())
{
return result;
}
Thread.Sleep(3000);
The Copilot Studio bot sometimes gets confused, always sending a response message related to what I sent previously.
How can I resolve this?
thank you for anyone that can help.
Microsoft Copilot | Other
Sign in to answer