Some of the ways you may want to edit your bot include:
- Reordering messages in the dashboard
- Changing the content of a message
- Changing a message type
- Changing a response type
- Editing a connection
- Deleting a message
Note: If your bot is live, additional changes you make will not flow through to your live bot automatically.
You can first test your bot in Preview to make sure any updates you make are working as expected.
Once you’re happy with the changes, all you need to do is click ‘Update’ in the launch tab for the changes to flow through to your live bot.
Reorder messages in the dashboard
You may want to change the order of the messages in the Dashboard to help with building.
Remember that this doesn’t actually change the order of the messages in the bot. To change the order of the messages in the bot, you’ll need to adjust the connections between messages.
List view
You might want to change the order of the messages so that it’s easier to see how the logic flows. To do this, just hover over the message, click the little purple arrows on the right-hand side and drag it to where you want it to sit.
Flowchart
The Flowchart automatically organises (and re-organises) your logic flow for you.
If you want to change the first message of your bot, you can do so in List view.
Edit the content of a message
If you're in List View or in Flowchart and click on a message, it will expand, and you can see:
- the Message name
- the Message text (which shows to the user)
- the optional Message hint
- the possible responses to that message (if it’s a Multiple choice type message)
You can edit all of these by clicking in the relevant fields and making the changes you’d like.
Edit a Message type
Use the drop-down underneath Message type to select and update the message.
Edit a Response type
Use the drop-down underneath Response type to select and update the response.
Edit connections
You can always add new connections and delete old ones.
List view
To add a new connection, simply click on the link icon at the top (for connections to earlier messages) or the bottom (for connections to subsequent messages) of the message window.
To delete a connection, click on the purple text describing the connection. A sidebar will pop up. Click Delete connection in the sidebar.
Flowchart
You can connect messages in two ways in the Flowchart.
Connecting a new message
To connect a new message, follow these steps:
- Click on a message you’d like to add a new message from.
- Click on the ‘Connect new message’ card that appears. A sidebar will appear for you to add your new message.
Connecting existing messages
To connect existing messages, follow these steps:
- Click on a existing message you want to create a connection from.
- Click on the ‘Connect to’ button in the top toolbar.
- Click on an existing message you’d like to connect to.
To delete an existing connection, simply click on the gear button on the connection you wish to delete and click 'Delete connection' in the sidebar that pops up.
Read more about creating connections between messages.
Delete a message
You can do this in List view or Flowchart by clicking into the message and clicking “delete” at the bottom of the card. Once you’ve done this, make sure to double check that the connections and rules related to the deleted message are updated to reflect the logic you want your bot to have.
Duplicate, cut or copy a message