Whenever I get an output from my execute code, the response from the previous conversations keep adding up alongside the current one. Here is my code and even the code is correct.
if (workflow.gender === 'Male') {
// Create a new message in the workflow with the given text
workflow.nextMsg += '\nGreat! Here we have a list of procedures that we provide to males.';
} else if (workflow.gender === 'Female') {
// Create a new message in the workflow with the given text
workflow.nextMsg += '\nGreat! Here we have a list of procedures that we provide to females.';
}
This is an example of what happens:
https://cdn.discordapp.com/attachments/1132959414035435560/1132959414291271711/image.png▾