Resend icon

Resend

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

Event → Update

AI-generated

Overview

This node updates an existing event in the Resend platform by specifying the event's ID or name and providing a new JSON schema that defines the shape of the event payload. It is useful for managing event definitions in workflows that trigger based on specific event data structures, especially in private alpha features of the Resend platform.

Use Case Examples

  1. Updating an event named 'user.created' with a new JSON schema to reflect changes in the event payload structure.
  2. Removing the existing schema of an event by setting the schema to null.

Properties

Name Meaning
Event ID or Name The ID or name of the event to update, used to identify which event to modify.
Schema (JSON) The JSON schema object that defines the shape of the event payload. Setting this to null removes the existing schema.

Output

JSON

  • eventId - The unique identifier of the updated event.
  • eventName - The name of the updated event.
  • eventSchema - The JSON schema object defining the event payload after the update.

Dependencies

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

Troubleshooting

  • Ensure the event ID or name is correct and exists in the Resend platform to avoid 'event not found' errors.
  • Validate the JSON schema format to prevent schema validation errors.
  • Check API key credentials and permissions if authentication errors occur.

Links

Discussion