resend.onContactUpdated handles contact.updated and returns the updated contact fields plus the original webhook envelope.
automations/resend-contact-updated.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run an automation when a Resend contact is updated.
resend.onContactUpdated handles contact.updated and returns the updated contact fields plus the original webhook envelope.
import { automation } from "automate.ax"
import { resend } from "automate.ax/resend"
export default automation("Resend contact updated", () => {
resend
.onContactUpdated()
.transform(({ id, unsubscribed }) => ({ id, unsubscribed }))
})