Webhook
An HTTP-based event notification mechanism where a server sends real-time data to a specified URL when a specific event occurs.
Detailed explanation
Why It Matters in AI Tool Selection
Large language models (LLMs) and image generation AIs often involve asynchronous tasks that take time to output results. In these cases, choosing tools that support webhooks allows you to receive results efficiently and execute the next steps when the task is completed, instead of waiting indefinitely.
What to Check
- Does it support signature verification (Secret Key/HMAC) for security?
- Is retry logic implemented for transmission failures?
- Is the transmitted data format (such as JSON) compatible with existing systems?
- Does it provide log checking and simulation features for testing?
Real-World Examples
When a user requests a complex analysis from a chatbot, the AI service, after finishing the analysis, sends a result message to a pre-specified Slack webhook URL to notify the user immediately.
Confusing Terms
Polling
A method where the client periodically asks the server if there is data (high resource consumption)
Webhook
A method where the server notifies the client only when an event occurs (high real-time capability and efficiency)