# The Bool block The Bool block The **Bool** block sends a true or false value from its output port. This can be useful when you want to control your flow based on a condition. For example, you could send the **Bool** block's output to an [**If**](/docs/postman-flows/reference/blocks/if/) block. The **If** block could then route incoming data to one of two other blocks, depending on whether the **Bool** block's value is true or false. ## Output **True** or **False** - Sends a true or false value, depending on the state of the **True/False** toggle. ## Setup Click the toggle to set the block's output to true or false. You can [insert](/docs/postman-flows/reference/blocks/overview/#insert-data-blocks-into-other-blocks) the **Bool** block into certain blocks instead of connecting it to them. For a list of blocks you can insert the **Bool** block into, see [Related blocks](#related-blocks). ## Example To see the **Bool** block in an example flow, check out [Flow Snippets: Bool](https://www.postman.com/postman/flows-snippets/flow/63b8b16f2b292a29393dbef9). ## Related blocks You can insert the **Bool** block into the following blocks: * [**AI Agent**](/docs/postman-flows/reference/blocks/ai-agent/) * [**Condition**](/docs/postman-flows/reference/blocks/condition/) * [**Create with AI**](/docs/postman-flows/reference/blocks/create-with-ai/) * [**Evaluate**](/docs/postman-flows/reference/blocks/evaluate/) * [**Flow**](/docs/postman-flows/reference/blocks/flow-module/) * [**HTTP Request**](/docs/postman-flows/reference/blocks/http-request/) * [**If**](/docs/postman-flows/reference/blocks/if/) * [**List**](/docs/postman-flows/reference/blocks/list/) * [**Output**](/docs/postman-flows/reference/blocks/output-module/) * [**Record**](/docs/postman-flows/reference/blocks/record/) * [**Template**](/docs/postman-flows/reference/blocks/template/)