Skip to main content
GET
/
automations
/
:automation_id
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.automations.get(
  'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
);
{
  "object": "automation",
  "id": "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
  "name": "Welcome series",
  "status": "disabled",
  "created_at": "2026-10-01 12:00:00.000000+00",
  "updated_at": "2026-10-01 12:00:00.000000+00",
  "steps": [
    {
      "key": "start",
      "type": "trigger",
      "config": { "event_name": "user.created" }
    },
    {
      "key": "welcome",
      "type": "send_email",
      "config": {
        "template_id": "34a080c9-b17d-4187-ad80-5af20266e535"
      }
    }
  ],
  "edges": [
    {
      "from": "start",
      "to": "welcome",
      "edge_type": "default"
    }
  ]
}
Automations are currently in private alpha and only available to a limited number of users. APIs might change before GA.To use the methods on this page, you must upgrade your Resend SDK:
npm install resend@6.10.0-preview-workflows.3
Contact us if you’re interested in testing this feature.

Path Parameters

import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.automations.get(
  'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
);
{
  "object": "automation",
  "id": "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
  "name": "Welcome series",
  "status": "disabled",
  "created_at": "2026-10-01 12:00:00.000000+00",
  "updated_at": "2026-10-01 12:00:00.000000+00",
  "steps": [
    {
      "key": "start",
      "type": "trigger",
      "config": { "event_name": "user.created" }
    },
    {
      "key": "welcome",
      "type": "send_email",
      "config": {
        "template_id": "34a080c9-b17d-4187-ad80-5af20266e535"
      }
    }
  ],
  "edges": [
    {
      "from": "start",
      "to": "welcome",
      "edge_type": "default"
    }
  ]
}