
Ürün duyurusu
Kapak görseli, giriş paragrafı ve numaralı üç değişiklik içeren sürüm notları.
Bir yer açıldı ve davetin süresi belirtilen tarihte doluyor.

Your {{productName}} invitation is ready
You are in
You joined the {{productName}} waitlist on {{joinedDate}}, and a place has opened up.
Claim it by {{expiryDate}}. After that the place goes to the next person waiting.
Claim your place [{{actionUrl}}]
Changed your mind? Ignore this and the place is passed on. No need to reply.
{{senderAddress}}
Unsubscribe [{{unsubscribeUrl}}]Örnek değerlerle gösteriliyor. HTML ve Düz metin sekmeleri yer tutucuları korur.
Hakkında
Biri bekleme listesinin başına geldiğinde gönderin. Listeye ne zaman katıldığını hatırlatır, yeri almak için son tarihi verir ve daveti görmezden gelirse ne olacağını söyler. Alt bilgide bir posta adresi ve abonelikten çıkma bağlantısı bulunur.
Değerler
Zorunlu değerler her gönderimle birlikte gelmelidir. Diğerleri için burada gösterilen varsayılan kullanılır.
| Yer tutucu | Tür | Zorunlu | Varsayılan |
|---|---|---|---|
{{productName}} | Metin | Zorunlu | Yok |
{{joinedDate}} | Metin | İsteğe bağlı | the waitlist |
{{expiryDate}} | Metin | Zorunlu | Yok |
{{actionUrl}} | Bağlantı | Zorunlu | Yok |
{{senderAddress}} | Metin | Zorunlu | Yok |
{{unsubscribeUrl}} | Bağlantı | Zorunlu | Yok |
API
Bu tasarımdan bir kez şablon oluşturun, sonra her mesaj için değerlerle birlikte gönderin.
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Waitlist invitation', starter: 'waitlist-invite', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { productName: 'Northwind', joinedDate: '12 March', expiryDate: '15 October', actionUrl: 'https://example.com/claim/5c21', senderAddress: 'Northwind Ltd, 42 Harbour Lane, Bristol BS1 4XE', unsubscribeUrl: 'https://example.com/unsubscribe', },}) console.log(sent.id, sent.status)Duyurular
Bir şablonla başlayın
Her şablon düzenleyicide taşıyabileceğiniz, yeniden biçimlendirebileceğiniz ya da silebileceğiniz bloklar olarak açılır ve API üzerinden değerleri doldurulmuş hâlde gönderilir.
İşletmeler, yapay zekâ, ajanlar ve kişisel e-posta için e-posta altyapısı. Ölçek, gizlilik ve denetim için kuruldu. E-postanın ilk günden sahip olması gereken her şey.