***

title: The String block
approved: 2025-07-23T00:00:00.000Z
topictype: reference
slug: docs/postman-flows/reference/blocks/string
max-toc-depth: 2
ux: v12
-------

The **String** block outputs a sequence of characters that's configured in the block. This can be used in situations where you need to send a static string to the input of another block. For example, you can use a **String** block when you want to set a static parameter to an API request or define a variable.

You can [insert](/docs/postman-flows/reference/blocks/overview/#insert-data-blocks-into-other-blocks) the **String** block into other blocks, such as **Evaluate**, **If**, **List**, **Record**, or **Template**.

## Output

The **String** block has a single output port that sends the string of characters entered in the block.

## Setup

Select the **String** block's text box and enter a string of characters.

## Example

To see the **String** block in an example flow, check out [Flow Snippets: String](https://www.postman.com/postman/flows-snippets/flow/63bc6328e308d202595085bc).

## Related blocks

* [**Number**](/docs/postman-flows/reference/blocks/number/)

## Related pages

For tutorials that use the **String** block, see the following:

* [Automate repetitive tasks using Postman Flows](/docs/postman-flows/tutorials/advanced/automate-repetitive-tasks/)
* [Calculate the years since a milestone](/docs/postman-flows/tutorials/beginner/calculate-years-since-milestone/)
* [Create a dashboard using Postman Flows](/docs/postman-flows/tutorials/advanced/create-a-dashboard-in-flows/)
* [Create a list-based loop with the For block](/docs/postman-flows/tutorials/beginner/create-list-based-loop/)
