Lettr icon

Lettr

Interact with Lettr transactional email APIs

Campaign → Get Events

AI-generated

Summary

Fetches events for a campaign, optionally filtering by event type, recipient email, and date range. Returns events as separate n8n items by default, or as an array when Simplify is disabled.

Inputs

  • Campaign ID (required) — ID of the campaign whose events to fetch.
  • Return All — When enabled, returns all matching results; otherwise, fetches up to the Limit, which defaults to 50 and accepts values from 1 to 250.
  • Simplify — Defaults to enabled and splits array results into separate output items. Disable it to keep the results as an array.
  • Event Type — Filter to one event type: Injection, Delivery, Bounce, Spam Complaint, Open, Click, or List Unsubscribe. Any is the default.
  • Event Filters — Optional filters: recipient Email, Start Date (ISO 8601; date-only values start at midnight UTC), and End Date (ISO 8601; date-only values include the full day in UTC).

Output shape

A list of campaign event items by default, or an array of events when Simplify is disabled.

The operation can return all matching events or limit the result count. The precise event fields depend on the API response.

Links

Discussion