# Iterate: Continue

To break out of an iteration node, this **Iterate: Continue** node can be used. It will stop the iteration and invoke the next node after the iteration. See this example:

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FeoGFiV8czChbwTdlk7HZ%2Fimage.png?alt=media&#x26;token=0ae17d52-749b-42c4-bdca-410f9f19d7be" alt=""><figcaption><p>Example flow for using continue</p></figcaption></figure>

In the above example, the Flow will iterate the "What can I do for you" node until the user responds that they are done. When triggered, the **Iterate: Continue** step will simply break the iteration cycle and execute the next step after the [**Iterate: Iterate**](https://manuals.dialox.ai/studio/flows/nodes/iterate-iterate) node. In this case, it will **Say** "Bye" and then **Control Flow: Close** the conversation.

## Nested iterations

In the simple example above, we could have added the "Bye" and **Control Flow: Close** steps directly inside the "Done" response Flow. However, when using multiple **Iterate** nodes in your Smart App, you may need to use an **Iterate: Continue** node. Consider the following example:

<figure><img src="https://3356808761-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEBQHGJABNTj5ISSOTRxM%2Fuploads%2FyILfuUAFf1ja2IuPs5EZ%2Fimage.png?alt=media&#x26;token=1224100f-231e-4148-837a-abe05fddc23c" alt=""><figcaption><p>Example of using Continue in a nested menu situation</p></figcaption></figure>

From the main menu, the user will enter one of the sub menus. When they have resolved their questions relating to the sub menu they chose, they may want to return to the main menu rather than ending the conversation altogether. The **Iterate: Continue** node will end the current sub menu iteration and fall back automatically to the node that triggered it: in this case, the main menu **Iterate** node above it.

## Resources

* [iterate-iterate](https://manuals.dialox.ai/studio/flows/nodes/iterate-iterate "mention")
