AI Pipeline Webhook icon

AI Pipeline Webhook

Webhook to receive POST requests for AI Pipeline

Overview

This node implements a webhook for an AI pipeline, specifically supporting a 'Task Webhook' operation. It listens for POST requests on a user-defined URL path and captures incoming request data including the body, headers, query parameters, and HTTP method. The node is useful for scenarios where external systems need to trigger workflows by sending data to a specific webhook URL, such as processing files or text inputs in AI pipelines.

Use Case Examples

  1. Triggering a workflow when a file is uploaded and sent to the webhook for text extraction (File to Text).
  2. Triggering a workflow when text data is sent to the webhook for further text processing (Text to Text).

Properties

Name Meaning
Input/Output Type Specifies the type of data transformation to perform, either converting a file to text or processing text to text.
Path The URL path on which the webhook listens for incoming POST requests.

Output

JSON

  • body - The JSON body of the incoming POST request.
  • headers - The HTTP headers of the incoming request.
  • query - The query parameters included in the request URL.
  • method - The HTTP method used for the request, typically POST.

Troubleshooting

  • Ensure the webhook URL path is correctly set and matches the external system's request URL.
  • Verify that the incoming requests are POST requests as expected by the webhook.
  • Check that the node is properly deployed and accessible from the external system sending the requests.

Discussion