Skip to main content

eventToEmailConfigUpdate

Update an existing email event action configuration.

Modifies email automation details including trigger conditions, template references, and recipient settings. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • EVENT_ACTION_CONFIG_NOT_FOUND: Event action configuration with the specified ID not found
  • EVENT_ACTION_CONFIG_UNKNOWN_ERROR: Unexpected error occurred while fetching the configuration
  • EVENT_ACTION_CONFIG_ALREADY_EXISTS: Configuration with the same trigger and email template ID already exists
  • EVENT_ACTION_CONFIG_UPDATE_ERROR: Failed to update the event action configuration
eventToEmailConfigUpdate(
id: String!
input: EventToEmailConfigUpdateInput!
): EventToEmailConfig!

Arguments

eventToEmailConfigUpdate.id ● String! non-null scalar

Unique identifier for the event action configuration.

Uses UUID v7 format for chronological ordering and global uniqueness across the system.

eventToEmailConfigUpdate.input ● EventToEmailConfigUpdateInput! non-null input

Updated email event action information.

Contains the email automation properties to update. Only provided fields will be changed, others remain unchanged.

Type

EventToEmailConfig object

Event action configuration for email automation.

Defines automated email sending based on templates when system events occur. Includes template references and recipient settings for reliable email delivery.