Overview
This node acts as a webhook trigger for the 'entitys' resource. It listens for incoming HTTP POST requests at the path 'entitys-import' and triggers the workflow when such a request is received. The node captures the request's body, headers, query parameters, HTTP method, and URL, then outputs this data as JSON. This node is useful for workflows that need to start based on external events or data sent via HTTP POST to the specified webhook endpoint.
Use Case Examples
- Trigger a workflow when a new entity is imported via an external system sending data to the 'entitys-import' webhook.
- Capture and process incoming data from a third-party service that posts JSON payloads to the webhook URL.
Output
JSON
body- The JSON body of the incoming HTTP requestheaders- The HTTP headers of the incoming requestquery- The query parameters of the incoming request URLmethod- The HTTP method used for the request (POST)url- The full URL of the incoming request
Dependencies
- An optional API key credential named 'entitysApi' can be used for authentication if required.
Troubleshooting
- Ensure the webhook URL is correctly configured and accessible from the external system sending the POST requests.
- Verify that the incoming requests use the POST method as the webhook is set to accept POST only.
- Check that the external system sends data in a format expected by the workflow, typically JSON in the request body.