Graphrt

Resend

Kirim email dengan retry Idempotency-Key (html/teks atau template, jadwal, tag), email terkirim, jadwal ulang, domain dengan DNS record. Pengiriman oleh agent harus diizinkan dan bisa dibatasi daftar penerima, kirim batch dan batal hanya lewat node

Beta v0.1.0 Node.js 9 aksi Risiko ToS rendah
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk Resend email API. Plugin ini mengirim email (html/teks atau template yang sudah diterbitkan, sekarang atau terjadwal), mengirim batch, membaca email yang terkirim, menjadwal ulang atau membatalkan yang terjadwal, dan membaca domain pengirim. Dibuat dengan lapisan REST deklaratif.

Yang bisa dilakukan

  • send_email: from (display name allowed), to (max 50), cc, bcc, reply_to, subject, html and/or text or a template_id with template_variables, scheduled_at (ISO 8601 or "in 1 hour"), tags and topic_id. Every call carries a fresh Idempotency-Key, so a timeout or 5xx is retried without sending twice.
  • send_batch_emails (node only): up to 100 emails in one call (no attachments or scheduling), with an Idempotency-Key.
  • Sent emails: list_emails (cursor pagination), get_email (html/text, last_event), reschedule_email, cancel_email (node only).
  • Domains: list_domains, get_domain (status and the DNS records to publish).
  • api_request: any other endpoint (GET only for agents, and only under an allowlist of read paths).

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • Send email resend.send_email
  • Send batch resend.send_batch_emails
  • Get email resend.get_email
  • List emails resend.list_emails
  • Reschedule email resend.reschedule_email
  • Cancel scheduled email resend.cancel_email
  • List domains resend.list_domains
  • Get domain resend.get_domain
  • Resend API request resend.api_request

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • RESEND_API_KEY Wajib
    API key (re_...)
  • RESEND_TOOL_ALLOW_SEND Opsional
    1 lets agent tools call send_email and reschedule_email
  • RESEND_TOOL_RECIPIENT_ALLOWLIST Opsional
    Comma-separated addresses or @domains agent tools may send to (to, cc and bcc)

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari Resend.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan CLI

terminal
$ graphrt plugin install resend
workflow.yaml
- id: welcome
  type: resend.send_email
  from: "Acme <hello@example.com>"
  to: ["{{#start.email#}}"]
  subject: Welcome to Acme
  html: "<p>Hi {{#start.name#}}, thanks for signing up.</p>"
  tags: [{ name: category, value: welcome }]
- id: reminder
  type: resend.send_email
  from: "Acme <hello@example.com>"
  to: ["ada@example.com"]
  template_id: renewal-reminder
  template_variables: { PLAN: Pro }
  scheduled_at: "in 3 days"
Plugin di docs