Order confirmation — Send Email (SMTP)
A transactional order confirmation over plain SMTP. Pre-wired for a LOCAL GreenMail test server — run the docker one-liner in this description and Test sends for real; read it back with the IMAP demo in Files & Integrations. Point host/credentials at your real SMTP to go live.
What’s inside
3 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| Placed order | Inject | input.inject |
| Send confirmation | Send Email | output.send-email |
| Sent | Console | utility.console |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/order-confirmation-send-email-smtp.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Order confirmation — Send Email (SMTP)" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
"schemaVersion": "flowdrome.workflow.v1",
"id": "",
"name": "Order confirmation — Send Email (SMTP)",
"version": "0",
"status": "draft",
"nodes": [
{
"id": "seed",
"type": "input.inject",
"label": "Placed order",
"category": "trigger",
"config": {
"contentType": "application/json",
"payload": {
"orderId": "A-1002",
"to": "customer@example.test",
"total": 249
}
},
"position": {
"x": 0,
"y": 0
}
},
{
"id": "mail",
"type": "output.send-email",
"label": "Send confirmation",
"category": "output",
"config": {
"host": "127.0.0.1",
"port": 3025,
"secure": "none",
"user": "",
"password": "",
"from": "orders@yourshop.test",
"to": "customer@example.test",
"cc": "",
"bcc": "",
"subject": "Order {{ $json.orderId }} confirmed",
"bodyMode": "text",
"body": "Thanks! Your order {{ $json.orderId }} for ${{ $json.total }} is confirmed.",
"timeoutMs": 10000
},
"position": {
"x": 530,
"y": 0
}
},
{
"id": "out",
"type": "utility.console",
"label": "Sent",
"category": "utility",
"config": {
"message": "confirmation sent for {{ $json.orderId }}"
},
"position": {
"x": 1060,
"y": 0
}
}
],
"edges": [
{
"id": "e0",
"sourceNodeId": "seed",
"sourcePort": "output",
"targetNodeId": "mail",
"targetPort": "input"
},
{
"id": "e1",
"sourceNodeId": "mail",
"sourcePort": "output",
"targetNodeId": "out",
"targetPort": "input"
}
],
"triggers": [
{
"id": "t0",
"nodeId": "seed"
}
],
"meta": {
"snippets": [],
"source": "template-gallery",
"description": "A transactional order confirmation over plain SMTP. Pre-wired for a LOCAL GreenMail test server — run the docker one-liner in this description and Test sends for real; read it back with the IMAP demo in Files & Integrations. Point host/credentials at your real SMTP to go live."
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: order-confirmation-send-email-smtp.json.