Skip to main content
resend.updateContact changes selected fields but not the contact’s email address.
automations/update-resend-contact.automation.ts
contactId is a contact ID or email. patch must include at least one of firstName, lastName, string properties, segments, topics, or unsubscribed. Segment references are exact names or IDs. Optional second argument { account } selects the binding. Returns { id: string; object: string }. Values in the patch are provider updates, and supplying segment membership can replace membership according to Resend’s contact update semantics.