# Code step

The code steps allows running JavaScript code snippets at any point without spinning an entire request. Among it's usages are introducing initialization logic at first step of a flow, processing specific data right after a generic shared flow, and providing more visibility and clarity in flows and it's special logic steps.

<figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-3691a546afa5969c5de36f8f02903e51ed25a89e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

The code step consists of two areas:

1. Code editor - a place to write your JavaScript snippets
2. Flow control - Allows skipping to another step, stopping the flow and add wait time after step execution.
