# Cloud Flow Invoke Hook

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

Available in: Page Flow

Toolbox Category: Cloud Flow

Block Type: [Regular](https://docs.zingy.ai/app-editor/block-anatomy#regular-block)
{% endhint %}

The **`Cloud Flow Invoke Hook`** block is used to communicate with a [Web Hook Cloud Flow](https://docs.zingy.ai/cloud-flow#web-hook) defined in your app, from a page or form.

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FIK6rWXbLQiF2hd3QAseG%2Fimage.png?alt=media&#x26;token=856ba898-9fcf-476f-93e4-a3737c579c90" alt="" width="398"><figcaption><p>Invoke Cloud Flow Hook block</p></figcaption></figure></div>

{% hint style="success" %}
For security purposes, this block only works with web hook cloud flows with a POST method.
{% endhint %}

The block consists of the following (from top to bottom)::

* *Hook URL:* [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) that accepts a [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) value representing the unique URL of the Web Hook. The [Cloud Flow : URL of Web Hook](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/cloud-flow-url-of-web-hook) block comes pre-attached for easy selection of the available web hooks.
* *Data*: Optional [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) that accepts an [object](https://docs.zingy.ai/app-editor/page-flow/references/value-types) value representing the request data to be sent to the web hook.
* *Success Tasks*: a [Flow Parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) where you connect blocks that specify what you want done when the operation completes successfully. The [HTTP Data](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/http-data) block can be used to access the output (if any).
* *Fail Tasks*: a [Flow Parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) where you connect blocks that specify what you want done when the operation reports an error. The [HTTP Error](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/http-error) block can be used to access the error information.
