resend.onSuppressionAdded handles suppression.added.
automations/resend-suppression-added.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 an address is suppressed in Resend.
resend.onSuppressionAdded handles suppression.added.
import { automation } from "automate.ax"
import { resend } from "automate.ax/resend"
export default automation("Resend suppression added", () => {
resend
.onSuppressionAdded()
.transform(({ email, origin }) => ({ email, origin }))
})