Skip to main content

Hey Everyone!

 

I’m relatively new to Manychat, but I’ve coded several chatbots from the ground up so I’m not a complete newbie.  That said, I’m trying to deploy a bot with that simply responds to DMs and keeps a conversation going, so there’s no need for any additional triggers after the first incoming message from a user.  I’m using Make for the webhook connection message parsing, and an OpenAI assistant for the chatbot.   

My routing setup is attached.

The main issue that I’m having is that the chatbot will either send the same response twice, not in a row, but rather after the user responds to the first AI response, OR it will also send the user back their own message after the AI response.  I’ve gotten it really close a few times but it will still do one or the other.

I’m not sure if what I’m trying to do is either not possible, or just so simple that I’m overlooking an obvious solution.  

Any help is greatly appreciated!

Thanks

Matt

Hey, ​@mottzerella 

In your first message block, you should use the data collection option rather than simple text. When you send the AI response to the user, the user’s question should be stored in your variable ‘user_question’ and sent back to Make.

 

Doing that, you don’t need 2 messages blocks.


Thanks ​@rodrigo_silvano ! So “the user’s question should be stored in your variable ‘user_question’ and sent back to Make”

How do I accomplish this without another block? I guess, rather, what blocks do I use to store that response if not an instagram message block?


@mottzerella 

 

You should have a message block similar to this (using your variables)👇🏼 

 

 

Your automation should be something like this:

 


Note:
{serrAI resposta} = AI response variable
{serrAI pergunta} = user’s question


@rodrigo_silvano awesome that works, thank you!


Reply