# Workflow recipes (/docs/workflows/recipes)

> Five ready-to-build workflows: look up an account, cancel an order, capture a lead, book an appointment and request a refund.

Type: guide | Status: beta | Last reviewed: 2026-11-21 | Minimum role: builder

Build these in the [designer](/docs/workflows/designer). Each lists the steps in order; adapt the wording and tables to your business. Always **Test** as a guest and as a verified visitor, and check the safety strip before testing an action.

## Which workflows should I build first? [#which-workflows-should-i-build-first]

Start with a recipe: look up an account, cancel an order, capture a lead, book an appointment or request a refund with approval. Each lists the steps in order, and you adapt the wording and tables. Test each as a guest and as a verified visitor before you publish.

## 1. Look up an account (verified) [#1-look-up-an-account-verified]

**Trigger:** "A customer asks about their plan, invoice or account."

Collect (email) → **Verify Identity** → **Query Source** (account lookup) → **IF** the lookup was found → **Reply** with the details; **No** → **Escalate**.

Use a REST or Stripe capability with minimum trust **Verified**. See [REST APIs](/docs/integrations/rest-apis) and [Stripe](/docs/integrations/stripe).

## 2. Cancel an order [#2-cancel-an-order]

**Trigger:** "A customer wants to cancel an order."

1. Collect (email, order id) → Validate (email format) → **Verify Identity**.
2. **Query Source** (find the order) → **IF** found → **Confirm** ("Are you sure you want to cancel this order?").
3. **Call Action** (Cancel order) → **Complete**.

On **No** of Confirm go to **Reply** ("No problem, nothing was cancelled") then Complete. If the order is not found, **Escalate**.

Needs the Shopify *Cancel order* capability approved and enabled; see [Shopify](/docs/integrations/shopify).

## 3. Capture a lead [#3-capture-a-lead]

**Trigger:** "A visitor wants to talk to sales or leave their details."

Collect (name, email, phone, what they need) → Validate (email, phone) → **Create Record** in a Leads table → **Reply** ("Thanks, we'll be in touch") → **Complete**.

See [Records recipes](/docs/records/recipes).

## 4. Book an appointment [#4-book-an-appointment]

**Trigger:** "A customer wants to book a call or appointment."

1. Collect (name, email, preferred time) → **Query Source** (Calendly availability) → **Decide** whether the time suits.
2. **Create Record** in a Bookings table, Pending until staff confirm.
3. **Reply** with the confirmation → **Complete**.

## 5. Refund request with approval [#5-refund-request-with-approval]

**Trigger:** "A customer asks for a refund."

Collect (email, invoice id, reason) → **Verify Identity** → **Query Source** (find the invoice) → **Create Record** in a Refund Requests table → **Escalate** to a person for approval. Keep the refund itself manual, or add **Confirm** and **Call Action** only if you want automatic refunds and have approved that capability.

## 6. Check a member list [#6-check-a-member-list]

Use the palette recipe **Check if in Source** with a Google Sheets *Find row* lookup. Reply with what to do when the person is not found. See [Google Sheets](/docs/integrations/google-sheets).

## Tips [#tips]

- End every path in **Complete** or **Escalate**.
- Put **Verify Identity** before any customer-specific lookup.
- Put **Confirm** before any **Call Action** that changes something.
- Keep triggers distinct with a clear "not when".

---

Used for: [AI appointment booking](https://loopwix.com/use-cases/appointment-booking)
