# Triggering plan execution through a webhook

Available in...

* Cloud API Services Platform
* Cloud Big Data
* Cloud Big Data Platform
* Cloud Data Fabric
* Cloud Data Integration
* Cloud Data Management Platform
* Cloud Pipeline Designer Standard Edition
* Data Fabric

Webhooks can trigger the execution of a plan based on calls from external applications.

You cannot add a webhook if you already had other trigger types. You can delete other triggers and add a webhook when editing the task/plan, or you can also copy the task/plan if you need both.

## About this task

You must generate a unique URL for your plan in Talend Management Console, then supply it in the POST HTTP call from the external application that will trigger the execution.

## Procedure

1. If you are editing your plan after it has been created, go to its details page, then click the ![](https://help.qlik.com/talend/en-US/management-console-with-pipeline-designer/Resources/images/tmc-edit_task_icon.png) icon next to Trigger.
2. Click the Add trigger icon.
3. Enter the name of the trigger.

   The name must contain only alphanumeric, "-", "#" and "\_" characters. Spaces and other special characters are not allowed.
4. Select Webhook from the Trigger type drop-down list.
5. Enter the name of the webhook in the Webhook name field.

   The name must contain only alphanumeric characters and underscores (\_). Spaces and other special characters are not allowed.
6. Define the information relative to the webhook execution.
   * Window threshold: defines the number of calls to the service.
   * Window duration (in seconds): defines the number of seconds after the first service call.
7. Optional: Enter a description.
8. Click Save and close.

## Results

The Webhook URL is generated. To get the Webhook URL:

* Click the Copy icon next to the URL field. ![](https://help.qlik.com/talend/en-US/management-console-with-pipeline-designer/Resources/images/tmc-webhook_result.png)
* Click the information icon next to the webhook name under Trigger &gt; Trigger type &gt; Webhook in the task/plan details page. ![](https://help.qlik.com/talend/en-US/management-console-with-pipeline-designer/Resources/images/tmc-webhook_result2.png)