Bangun di proyek Anda sendiri.

Gunakan contoh SDK yang sama seperti di halaman produk Bird, lalu berikan brief kepada coding agent Anda yang mencakup jalur kegagalan yang telah Anda praktikkan.

Latihan interaktif · English

Make your first message land.

A customer places an order. Give them a clear, personal confirmation, and know what happens after you send.

Latihan browser ini mensimulasikan pesan. Pekerjaan Anda tetap di sini sampai Anda meninggalkan halaman. Masuk untuk menyimpan progres dan penilaian.

Personalize the order confirmation, then send it to the practice inbox.

Output latihan

Your practice output will appear here.
Tampilkan petunjuk

Use a customer name and an order number. Then send the message and watch the status change.

Lanjutkan dengan pembelajaran tersimpan

Kirim ke sandbox email

Siapkan SDK dan API key di lingkungan server Anda sendiri. Contoh ini menggunakan penerima uji coba resmi Bird.

1
2
3
4
5
6
7
8
9
10
// Install the SDK
// npm install @messagebird/sdk

const msg = await bird.email.send({
  from: { email: "onboarding@messagebird.dev", name: "Bird" },
  to: ["delivered@messagebird.dev"],
  subject: "Hello from Bird",
  html: "<p>My first Bird email.</p>",
});
console.log(msg.id, msg.status); // "em_…", "accepted"

Brief untuk coding agent Anda

# Build with Bird: Email

Read these current sources before proposing an implementation:

- Send your first email: https://bird.com/docs/get-started/send-your-first-email
- Email: https://bird.com/email-api

## Task

Help me implement Email in my project. First inspect the application and identify the relevant server, framework and existing Bird integration. Confirm the exact workflow and supported surface against the linked documentation. Some operations are available only in the dashboard. Do not invent endpoints or derive API contracts from a learning simulation.

## Implementation

Use the official Bird SDK or CLI where supported. Keep credentials on the server and request the smallest necessary permissions. Follow the channel's documented test procedure before proposing any external send or production change.

Keep request acceptance separate from delivery. For incoming events, verify signatures using the original request body, deduplicate stable identifiers, and apply valid state transitions. Respect recipient preferences and channel requirements.

## Acceptance

Show the implementation and relevant tests. Exercise the documented failure paths, invalid signatures and duplicate events where applicable. Explain any dashboard steps or missing prerequisites. Ask for approval before sending to real recipients or changing production.

Ide Anda berikutnya. Siap terhubung.