correct-apricot•2y ago
Any changes to the bot flow doesn't reflect in the integration via dialog API
Hello, It has happened multiple times with me where I modify the bot flow and publish it (I think publishing is only need for production version, for development version publishing is not required), still the integration will show the flows that I had already deleted.
Sometimes I wait for a few hours and it resolves on its own, but today it's been around 7-8 hours. It still shows the old flow.
Any idea why does this happen?
1 Reply
When you make changes to your bot flow, it's important to remember that the process for updating the 'development' and 'production' versions are different.
For the 'development' version, after making changes on the canvas and NLU manager, you need to hit the 'Run' button in the Voiceflow canvas to compile the diagram and click the 'Train Assistant' button in the Prototype tool to update the project's NLU.
For the 'production' version, after making changes on the canvas and NLU manager, you need to hit the 'Publish' button at the top-right corner of the Voiceflow canvas. This is a one-click flow that includes the compilation and training steps so that your live app will have the most recent diagram structure and NLU model.
Remember, the 'Publish' button will replace the previous production version with the version displayed on your canvas.
If you're still seeing old flows, it could be that you're looking at the 'production' version but have only updated the 'development' version, or vice versa.
Sources:
- Voiceflow Developer Reference - Production
- Voiceflow Developer Reference - Overview