Overview
This node integrates with the Esputnik API to perform two main operations: sending emails and sending events. For the 'Event' operation, it sends an event notification to Esputnik with specified event details and parameters, including the recipient's email, event name, event key, and additional body parameters. This is useful for triggering event-based workflows or notifications within the Esputnik platform, such as tracking user actions or system events.
Use Case Examples
- Trigger an event in Esputnik when a user completes a form, passing user email and custom parameters to personalize the event.
- Send an event notification to Esputnik to update user engagement metrics based on specific actions.
Properties
| Name | Meaning |
|---|---|
| To Email | The recipient's email address to which the event is related. |
| Event name | The name of the event to send to Esputnik. |
| Event key | A key value associated with the event, used for identification or tracking. |
| Body Parameters | Additional parameters to include in the event body, each with a name and value, allowing customization of the event data. |
Output
JSON
eventTypeKey- The name of the event sent to Esputnik.keyValue- The event key value associated with the event.params- An array of parameters sent with the event, including the recipient's email and any additional body parameters.
Dependencies
- Requires an API key credential for Esputnik API authentication.
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to send events.
- Verify that the 'To Email', 'Event name', and 'Event key' fields are correctly filled and valid.
- Check the format of additional body parameters to ensure they are properly structured as name-value pairs.
- Common error messages may include authentication failures (due to invalid API key) or validation errors from Esputnik if required fields are missing or incorrectly formatted.