Resend icon

Resend

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

Event → Send

AI-generated

Overview

This node operation sends an event to trigger a workflow in the Resend platform. It is useful for automating processes based on specific events related to contacts, such as user actions or system events. For example, triggering a welcome email workflow when a new user is created or updating contact information when an event occurs.

Use Case Examples

  1. Trigger a workflow when a user signs up by sending a 'user.created' event with the user's email.
  2. Send a custom event with additional data payload to update contact preferences automatically.

Properties

Name Meaning
Event Name The name of the event to trigger, which must match the event name configured in a workflow trigger step.
Identify By Specifies whether to identify the contact by Contact ID or Email address.
Contact ID The unique identifier of the contact to run the workflow for, required if 'Identify By' is set to Contact ID.
Email The email address of the contact to run the workflow for, required if 'Identify By' is set to Email.
Payload (JSON) An optional JSON object containing custom data to pass to the workflow, which can be used in template variables and conditions.

Output

JSON

  • eventId - The unique identifier of the sent event.
  • status - The status of the event sending operation, e.g., success or failure.
  • message - Additional information or message returned after sending the event.

Dependencies

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

Troubleshooting

  • Ensure the event name matches exactly with the event name configured in the workflow trigger step to avoid triggering failures.
  • Verify that the contact identifier (ID or email) is correct and exists in the system to prevent errors.
  • Check the JSON payload format for correctness to avoid data parsing issues.

Links

Discussion