• ACTION
  • STATE
  • LOG
  • HUMAN

How to trigger automated workflows with your AI

Connect an external service to a webhook endpoint. Your AI then reacts to incoming data by running specific tasks or updating its own memory.

Ask AI about this page

Short answer

How can I make my AI react to webhooks?

Point your external service to a Webhook.site URL. When a request hits that URL, your AI can immediately execute a pre-defined action or change a global variable to track state. This turns any web event into a direct command for your agent.

Where every event lands.

The outcomes of a webhook trigger

Depending on how you set up your agent, a single webhook can result in several different states.

ACTION

Immediate task execution

The AI receives the payload and runs a specific command. This is how you turn a notification into a real-world action.

STATE

Updated global variables

The AI saves data from the webhook into a variable. This allows the agent to remember information across different chat sessions.

LOG

Data capture and storage

The incoming data is stored as a record. You can use this to build a history of events that your AI can reference later.

HUMAN

Manual review required

If the webhook data is ambiguous, the AI stops and asks you for clarification before it proceeds with any sensitive actions.

The workflow

What your AI does when a webhook arrives.

The AI acts as a listener that translates raw HTTP requests into structured logic.

  1. Receive the payload

    The agent monitors the webhook endpoint for any incoming POST or GET requests. It parses the JSON or form data sent by the external service.

    create_token
  2. Update agent memory

    The AI takes specific values from the webhook, like a user ID or a status code, and saves them. This keeps the context alive for future prompts.

    create_global_variable
  3. Run the command

    Once the data is processed, the AI triggers the specific task you defined. This is the moment the automation actually happens.

    execute_action
  4. Define the logic

    You tell the AI which specific tool or function to call based on the webhook content. This maps the incoming data to a specific capability.

    create_action

Try it

Copy these to start.

Use these prompts to set up your automation logic.

Starting points

Replace the bracketed text with your specific service names or variable names.

Webhook.site Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_4UGcdultUkkqhC6PeYxs6JG990XLacW5YNGNQO5y/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Webhook.site capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "webhooksite-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_4UGcdultUkkqhC6PeYxs6JG990XLacW5YNGNQO5y/mcp"
    }
  }
}
Copy into chat04
  • When I receive a webhook from GitHub, create a global variable called 'last_commit' with the commit message.

  • Set up an action so that every time a webhook hits from Stripe, the AI executes the payment verification task.

  • Create a global variable to store the user's email address whenever a webhook arrives from my contact form.

  • If a webhook comes in from my Slack integration, trigger the summary action immediately.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Webhook.site once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted, and you can find the full technical setup on the Connector page.

Connect Webhook.site to your AI

FAQ

How this task behaves

  • 01

    Can the AI trigger a webhook itself?

    No. This connector is designed to listen for incoming webhooks to trigger the AI, not to send webhooks to other services.

  • 02

    Will the AI delete my global variables?

    No. The available tools only allow for creating or updating variables, not deleting them.

  • 03

    Can I use this to automate my entire business?

    The AI can execute specific actions you define, but it cannot perform any action that isn't explicitly mapped to a tool in the manifest.

  • 04

    Does the AI need to be running to receive the webhook?

    Yes. The connection must be active in your MCP-compatible client for the agent to receive and react to the incoming data.

  • 05

    Can the AI change my external service settings?

    No. The AI can only react to the data it receives; it has no permission to reach back into the sending service to change its configuration.

  • More questions about Webhook.site? See everything the Webhook.site Connector can do

Connect Webhook.site to Claude, Cursor, ChatGPT & more