foreign-sapphire
foreign-sapphire17mo ago

Voiceflow & Manychat API Link

Hey guys, I have created a chatbot that manages incoming DMs for an Instagram account. Now the problem I am facing is that, I have areas where the sequence ends and the bot should 'shut off'. But due to the way it is setup, if an account messages after the 'end sequence' section, it just restarts the bot. What I need is for the bot to send some kind of API related request to ManyChat, to tell it to add the 'Not Interested' tag (This is my way of stopping a conversation), as I do not wish to have to do this manually every time.
2 Replies
Tico | Voiceflow Assistant
To manage incoming DMs for an Instagram account using a chatbot created with Voiceflow, you can use the Dialog Manager API (DM API) to manage the state of your user's conversation. This allows users to leave the conversation and pick it up later from the same spot. To stop the conversation at the 'end sequence' section and prevent the bot from restarting, you can use a Custom Action step in Voiceflow. A Custom Action step is similar to an event handler. A Voiceflow application can be commanded to stop on a Custom Action step and wait for your client application to send back an event, a Custom Action request, telling the Voiceflow diagram which logic it should execute next. In your case, you can set up a Custom Action that sends an API request to ManyChat to add the 'Not Interested' tag when the sequence ends. This would effectively 'shut off' the bot for that user, and prevent the bot from restarting the sequence when the user sends another message. Here is a general outline of how you can set this up: 1. In your Voiceflow diagram, add a Custom Action step at the point where you want the sequence to end. 2. Configure the Custom Action to send an API request to ManyChat. You will need to provide the API endpoint and any necessary parameters, such as the user ID and the tag you want to add ('Not Interested'). 3. Make sure the 'Stop on action' toggle is enabled for the Custom Action. This will cause the conversation with the bot to stop when this step is reached. Please note that you will need to have the necessary permissions to make API requests to ManyChat, and you will need to know the specific API endpoint and parameters required to add a tag to a user. You may need to refer to the ManyChat API documentation or contact ManyChat support for this information. I hope this helps! Let me know if you have any other questions.
rival-black
rival-black17mo ago
Not sure what your exactly asking here, but maybe https://flowbridge.app would help if your trying to integrate Voiceflow with Instagram? It's entirely built for Voiceflow so might function more like expected in general

Did you find this page helpful?