Send Event
AI-generatedOverview
This node sends event data to the Hunter collector service. It supports sending individual events, batches of events, and managing URL slugs for redirection. It is useful for tracking user interactions, custom events, and managing URL mappings in marketing or analytics workflows. For example, you can send a custom event with user properties and context, or create a URL slug that redirects to a specific destination.
Use Case Examples
- Sending a custom event with user ID, event type, and additional properties.
- Sending a batch of events either from input data or a static JSON array.
- Creating a URL slug that maps to a destination URL for redirection.
Properties
| Name | Meaning |
|---|---|
| Landing Page | Landing page value to attach to events. |
| Event Type | Type of the event to send, e.g., 'custom_event' (required). |
| TNKR ID | Optional user identifier to associate with the event. |
| Event ID | Unique identifier for the event; if empty, it is auto-generated. |
| Props (JSON) | JSON object containing event properties. |
| Context (JSON) | JSON object containing event context information. |
| Slug | Slug value used to URL map to a destination (optional). |
Output
JSON
id- Unique event identifier.type- Event type.landingPage- Landing page associated with the event.slug- Slug value for URL mapping.tnkr_id- User identifier associated with the event.props- Event properties object.context- Event context object.
Dependencies
- Requires an API key credential for the Hunter API service.
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to send events or manage slugs.
- If event IDs are not provided, the node auto-generates them; conflicts or duplicates should be avoided by providing unique IDs if needed.
- Malformed JSON in 'Props' or 'Context' fields can cause errors; ensure valid JSON format is used.
- HTTP request failures may occur due to network issues or incorrect endpoint configuration; verify the endpoint URL and network connectivity.