# Connection Command

{% hint style="info" %}
**Block Information**

Available in: Page Flow and Cloud Flow

Toolbox Category: Data

Block Type: [Output](https://docs.zingy.ai/app-editor/block-anatomy#output-block)

Output Type: [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types)
{% endhint %}

**`Connection Command`** is an [output block](https://docs.zingy.ai/app-editor/block-anatomy#output-block) that provides the name of the selected [Connection](https://docs.zingy.ai/app-editor/connections) [command/operation](https://docs.zingy.ai/connections#operation-commands). The selection is done via a [Selectable Input](https://docs.zingy.ai/app-editor/block-anatomy#selectable-input) which enables you to pick from a list of commands/operations for a specified connection.&#x20;

The output is of type [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) and is compatible with [Value Parameters](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of type [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) or of type [*any*](https://docs.zingy.ai/app-editor/page-flow/references/value-types).

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FKbnpzOgxUvOuQ19miP6J%2Fimage.png?alt=media&#x26;token=e015c19f-a9bc-4db2-aa79-ca385592570a" alt="" width="308"><figcaption><p>Connection Command block</p></figcaption></figure></div>

The block consists of a [Selectable Input](https://docs.zingy.ai/app-editor/block-anatomy#selectable-input) to choose the connection command/operation.&#x20;

{% hint style="warning" %}
To display the list of commands/operations, the **`Connection Command`** block requires the following:

* &#x20;The **`Connection Command`** block must be attached to a [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of another block.
* The attached block must have a connection selection [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) linked to either a [Connection](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/connection) or a Text block.
  {% endhint %}
