Send Batch
AI-generatedOverview
This node sends batches of event data to the Hunter collector service. It supports sending events either from incoming input items or from a static JSON array of events. This is useful for tracking user interactions, custom events, or other analytics data in bulk. For example, you can collect multiple user actions from a workflow and send them as a batch to Hunter for processing and analysis.
Use Case Examples
- Sending a batch of user interaction events collected from previous workflow steps.
- Sending a predefined static list of events to Hunter for analytics.
Properties
| Name | Meaning |
|---|---|
| Events (from Input) | Determines whether to use incoming workflow items to form the events array for sending. |
| Static Events (JSON array) | If not using input items, provide a JSON array of event objects to send as a batch. |
Output
JSON
sentAt- Timestamp when the batch was sent.events- Array of event objects sent in the batch.
Dependencies
- Requires an API key credential for Hunter API authentication.
Troubleshooting
- Ensure the API key credential is correctly configured and valid to avoid authentication errors.
- If using 'Events (from Input)', verify that incoming items have valid event data in JSON format.
- When providing static events, ensure the JSON array is correctly formatted to prevent parsing errors.
- Common error: HTTP request failures due to network issues or incorrect endpoint URL. Verify the endpoint URL and network connectivity.
Links
- Hunter API Documentation - Official documentation for the Hunter API endpoints and usage.