Skip to content

Shop order webhook to a table and a confirmation draft

Point your shop’s “new order” webhook at this workflow. It logs the order in a table (Order, Customer, Email, Total, Status), then the AI writes a confirmation and saves it as a DRAFT in the mailbox you choose. Expected JSON keys: orderId, customerName, email, total, items.

By
Loop & Roll team · Official
Copied
0 times
Steps
4
Version
1 · 18 October 2026
Requires
Loop & Roll 1.0.0 or later

Workflow graph

Shop order webhook to a table and a confirmation draft Hover a node to see its role · Drag to move the graph
New order received — Webhook receivedNew order receivedWebhook receivedLog the order — Table — insert or updateLog the orderTable — insert or updateWrite the confirmation — Compose (AI)Write the confirmationCompose (AI)ModelSave the confirmation as a draft — SendSave the confirmatio…SendOpenAI — OpenAI (GPT)OpenAIgpt-5-mini
Shop order webhook to a table and a confirmation draft

How it works

  1. 1

    New order received

    trigger.webhook

  2. 2

    Log the order

    table.upsert

  3. 3

    Write the confirmation

    ai.compose

  4. 4

    Save the confirmation as a draft

    mail.send

What you will fill in after import

Nothing personal travels with a template: connections, mailboxes, tables and recipients are left blank for you to pick in your instance.

Tables to choose
Log the order · table
Mailboxes to choose
Save the confirmation as a draft · mailbox
Connections to choose
OpenAI · connection (llm_provider)