Skip to main content

Understand Webhook Triggers

A webhook is a tool that allows external applications to start your workflows in GlobalAI. You can use webhooks to connect your automations to other systems, such as source control, monitoring tools, or third-party services.

Use Webhooks to connect services

A webhook provides a unique URL that acts as a secure endpoint. This endpoint can listen for HTTP requests from other applications. When an external system sends a request to this URL, it starts the associated workflow. This process allows you to create event-based automations. For example, you can start a workflow every time a new issue is created in your project management tool.

How Webhooks receive data

When an external system triggers your webhook, it usually sends data in the request body. This data is often called a "payload" and is typically formatted as JSON. GlobalAI can capture this payload and pass it into your workflow. This allows you to use data from the external event as input for your automation tasks.

Define allowed methods

For security and correct function, you can control which HTTP methods the webhook endpoint accepts. Common methods include POST (for sending data), GET (for retrieving data), PUT, and DELETE. You can configure the webhook to only allow the specific methods that your external application uses.

Now that you understand the concept of webhooks, you can learn how to create one.