---
title: "Custom Hook · WitCloud Docs"
description: "Send an HTTP request (GET or POST) to any URL from a WitCloud workflow - to trigger your own API, webhook or automation with the date being processed."
canonical_url: "https://witcloud.ai/docs/integrations/withook"
meta:
  "og:description": "Send an HTTP request (GET or POST) to any URL from a WitCloud workflow - to trigger your own API, webhook or automation with the date being processed."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Custom Hook · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Custom Hook integration

Send an HTTP request (GET or POST) to any URL from a WitCloud workflow - to trigger your own API, webhook or automation with the date being processed.

Updated 8 Oct 2026

## Introduction

The **Custom Hook** integration lets WitCloud send an HTTP request (**GET** or **POST**) to any URL you choose. Use it to call your own API, a webhook or an automation tool - for example to start a process in another system once fresh data has landed in WitCloud.

It does not collect data and creates no tables in BigQuery. It only sends the request, and it does so when a workflow runs it - you decide when by placing it in a workflow, for example right after the integrations that load the data.

## Configuration guide

Follow the steps below to set up a Custom Hook.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **Custom Hook** from the list of available integrations. You find it under **Other Integrations**.

![Integration catalog filtered to Custom Hook](https://api.witcloud.ai/api/docs/assets/a7365991a31aeb747dd4747fb12cd78b.png)

The panel also calls this integration **Withook** - for example in the form text and in the **Subtype** column of the integrations list. It is the same integration.

Enter the **Solution name**, e.g., "Order notification hook".

![Solution name field filled in with the example name Order notification hook](https://api.witcloud.ai/api/docs/assets/16c8a7c92022576e24a107806c7c44a1.png)

### Request settings

Enter the **Url** of your hook. It must be a valid address.

![URL field filled in with the example address https://hooks.example.com/witcloud](https://api.witcloud.ai/api/docs/assets/1e61b8826249e99a1ed15f6ad4aa54a8.png)

In **Timeout (in seconds)**, set how long WitCloud waits for the answer. The value is between 60 and 900 seconds; the default is 60. If your service does not answer in time, the run fails.

![Timeout field set to 120 seconds](https://api.witcloud.ai/api/docs/assets/425ac17bc429eefa4423491af9d67364.png)

Choose the **Request method**: **GET** (the default) or **POST**.

![Request method options GET and POST with POST selected](https://api.witcloud.ai/api/docs/assets/52c3313db78b1b923ef57ca00b8678ec.png)

In **Headers**, click **Add** to pass a header to your hook - for example an API key your service checks. Enter the header name on the left and its value on the right. Header names are saved in lowercase and cannot contain spaces.

![Headers field with one example header, x-api-key and demo-api-key-0000](https://api.witcloud.ai/api/docs/assets/f5c2ca6a8820465b3e215b4a0ff62c08.png)

Header values are saved as plain text in the integration settings, and everyone who can open the integration can read them. Use a key made only for this hook, with no more access than the hook needs.

In **Query parameters**, click **Add** to pass parameters in the address of your hook. Enter the name on the left and its value on the right.

![Query parameters field with one example parameter, source and witcloud](https://api.witcloud.ai/api/docs/assets/344bf5501285acb572295291505d5415.png)

### Workflow variables

In **Workflow variables (date variable will be passed)**, you can pass the date the workflow is processing to your hook. Click **Add**, then:

1. In **Add to**, choose where the value goes: **queryParams**, **body** or **headers**.
2. In **Variable key**, enter the name your service expects, e.g. `run_date`.

The value is the date the task is processing, in the format yyyymmdd - for example 20261008. With **body**, it is sent as a field of the request body.

![Workflow variables field with the run\_date variable added to the headers](https://api.witcloud.ai/api/docs/assets/95e4d6345a98128a68cdb346b73de0cb.png)

Click **Create**. The hook appears on the **Integrations** list.

![Completed Custom Hook settings with the Create button](https://api.witcloud.ai/api/docs/assets/461a064a86ed2359d03d01c98404eaf5.png)

**Done!** The Custom Hook is ready to use. To change it later, open it from the **Integrations** list, edit the settings and click **Save**.

Creating a Custom Hook needs an Admin or Editor role and an active billing account.

### Execution and scheduling

The hook does nothing on its own. To send the request and to set a schedule, add the Custom Hook as a task in a workflow - see [Create a workflow](https://witcloud.ai/docs/workflow#create-a-workflow). The request is sent once for every date the task processes, so a task that processes several dates calls your hook several times, once per date.

### When a request fails

A run counts as successful when your service answers with a success status. If it answers with an error, does not answer within the **Timeout**, or cannot be reached, the run fails. You see it in the workflow's run report, with the error message. To try again automatically, turn on **Retry options** in the task settings of the workflow. WitCloud does not save the answer your service returns.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/withook#webpage","@type":"WebPage","dateModified":"2026-10-08T07:44:36.402Z","description":"Send an HTTP request (GET or POST) to any URL from a WitCloud workflow - to trigger your own API, webhook or automation with the date being processed.","name":"Custom Hook · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/withook","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/withook#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/withook"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/withook#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Custom Hook","item":"https://witcloud.ai/docs/integrations/withook","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/withook#article","dateModified":"2026-10-08T07:44:36.402Z","description":"Send an HTTP request (GET or POST) to any URL from a WitCloud workflow - to trigger your own API, webhook or automation with the date being processed.","headline":"Custom Hook","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/withook#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/withook#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/withook#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/withook#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/withook#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/withook#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
