Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Event → Create

AI-generated

Overview

This node allows users to create events within the Resend platform. Events are used to trigger workflows based on specific occurrences, such as user actions or system changes. This is particularly useful for automating processes that depend on real-time event data, like sending notifications or updating records when an event happens.

Use Case Examples

  1. Creating a 'user.created' event to trigger a welcome email workflow.
  2. Defining a custom event with a JSON schema to validate event payloads before triggering workflows.

Properties

Name Meaning
Event Name The name of the event used to match events to workflow triggers. It supports dot notation but cannot start with the 'resend:' prefix.
Schema (JSON) An optional JSON schema defining the structure of the event payload. It must be an object with flat key/type pairs supporting types like string, number, boolean, and date.

Output

JSON

  • eventId - The unique identifier of the created event.
  • eventName - The name of the created event.
  • eventSchema - The JSON schema associated with the event, if provided.

Dependencies

  • Requires an API key credential for authentication with the Resend platform.

Troubleshooting

  • Ensure the event name does not start with the 'resend:' prefix, as this is not allowed.
  • Validate that the JSON schema is correctly formatted and only contains supported types (string, number, boolean, date).
  • Check API credentials and network connectivity if the event creation fails due to authentication or communication errors.

Links

Discussion