https://discord.gg/botpress logo
Instagram Stop messaging issue from AMA(8th of Oct...
# 🤝help
c
The issue I am facing is that the autonomous node that responds to my instagram DMs, I send the first message and the bot responds twice(so 2nd and 3rd message), can not stop responding. It is able to tell when the conversation should be over, after it has sent both messages, but it will keep responding to the conversation after every message it receives with a message type of "This conversation is done" or the 3rd message over and over again. I have tried to use a boolean variable as the switch on 3rd message sent and the condition to End but even when it switches the value and the end condition is met it still doesn't stop responding. I have only worked with the prompt while setting it up and troubleshooting. I have attached the full prompt and a screenshot of the workflow.(LLM generated messages are in greek) https://cdn.discordapp.com/attachments/1425929461353943181/1425929462041546802/Screenshot_2025-10-09_223240.png?ex=68e95fcc&is=68e80e4c&hm=2ee073d9e095168b1080e816faa54fa7b006830f8bbbd3588f2553087b09aa9f& https://cdn.discordapp.com/attachments/1425929461353943181/1425929466315673600/prompt.txt?ex=68e95fcd&is=68e80e4d&hm=4bedfa787df3936408d4b4b06d093ac30454de8b32a955a35652f0774b7a5f98&
Hey @cold-alarm-37505 Here is a mini example I made
Maybe try plain text in the transition card
c
Still the same issue. I wrote "Audit message has been sent" and even tried removing any mentions of the variable inside the prompt
l
IF the audit message has been sent, transition?
like that?
c
Ok I'm trying this now
Still nothing
l
did you try with adding the " , transition." ?
l
I meant like this:
c
Same result
l
Okay I will keep troubling for a solution using the variable!
c
Thank you very much for the help
n
Put the transition prompt in the Autonomous Instruction. Something like if this condition is met, use the transition tool to continue. In the transition card just simply describe the condition, no need to mention transition in the card
l
Ohh Good idea Sam! Do let us know if that works 😄
l
Little update, instead of using a transition node you can create a new workflow and using that to transition! Try playing around with that and make sure to explain when to transition to workflow #2 in the instructions of the AN!
In your workflow #2 you can connect directly to an end node or customize it however you would like!
l
Put a text card in your second workflow to make sure its being prompted! Then make sure it's connected to the end node in there too. Try sending me another screenshot after you do that!
2 Views