
配送状況のお知らせ
配送業者、等幅フォントで記した追跡番号、お届け先の住所を載せた発送のお知らせ。
注文番号、配送業者、お届け予定日を詳細表にまとめた発送のお知らせ。

Order {{orderId}} has shipped. Track it any time.
{{storeName}}
Your order is on the way
Hi {{firstName}}, order {{orderId}} has left the warehouse and is with the carrier. Everything you ordered is in this one shipment.
Order number
{{orderId}}
Carrier
{{carrier}}
Estimated delivery
{{eta}}
Track this shipment [{{trackingUrl}}]
Tracking can take a few hours to update after the first scan. If the parcel has not arrived by {{eta}}, or it turns up damaged, reply to this email and we will chase {{carrier}} or send a replacement.
Delivery and returns [{{supportUrl}}]
{{companyAddress}}サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。
概要
注文の品が倉庫を出たときに送ります。注文番号、配送業者、お届け予定日は枠付きの表にまとめて追跡ボタンの上に置きます。フッターでは、配達の遅れや破損について、配送と返品のページへのリンクで案内します。
値
必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。
| プレースホルダー | 種類 | 必須 | デフォルト |
|---|---|---|---|
{{orderId}} | テキスト | 必須 | なし |
{{trackingUrl}} | リンク | 必須 | なし |
{{carrier}} | テキスト | 任意 | the carrier |
{{eta}} | テキスト | 任意 | 3 to 5 business days |
{{firstName}} | テキスト | 任意 | there |
{{storeName}} | テキスト | 任意 | Northwind Supply |
{{supportUrl}} | リンク | 任意 | https://example.com/help/delivery |
{{companyAddress}} | テキスト | 任意 | Northwind Supply, 128 Wharf Road, London N1 7GN |
API
このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({ name: 'Order shipped', starter: 'order-shipped', publish: true,}) const sent = await openemail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { firstName: 'Maya', orderId: 'NW-10482', carrier: 'Swift Couriers', eta: 'Thursday 3 October', trackingUrl: 'https://example.com/track/NW-10482', },}) console.log(sent.id, sent.status)注文と請求
テンプレートから始める
どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。
企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。