# Codes

The codes serve as templates that can be used during the flow!

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-Lc6eMV6NG2ZWFqc6UaF%2F-Lc6fAgevhjbLMILoGaT%2FScreen%20Shot%202019-04-10%20at%2011.31.37.png?alt=media\&token=a89f0433-8127-4714-8951-097b5d3bf6de)

Whenever you create a [JavaScript](https://help-en.cosmobots.io/bot-builder/conversation-flow/javascript) step, you can use one of the code templates. Just click on "Existing Code"

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-Lc6eMV6NG2ZWFqc6UaF%2F-Lc6fOYnGgJdxp-gu3qE%2FScreen%20Shot%202019-04-10%20at%2011.31.05.png?alt=media\&token=21ead02e-c31d-49f6-9991-ac74d14aa088)
