E-commerce · 8 steps
Welcome discount for new customers
When a Shopify customer account is created, saves the person as a lead. If they accepted marketing, AI writes a welcome e-mail with a personal discount code; after your approval the single-use code is created in Shopify and the e-mail is sent.
Required integrations
Messages it sends
Commercial · İYS
Sends messages that count as commercial (offers, discounts, promotion); consumers may only receive them if their consent is recorded in İYS, Turkey's consent registry.
Budget cap: At most $0.3 per run
What this template does
This E-commerce template has 8 steps and is copied into your own project in one click; you then change the copy in the editor as you like. Who it's for: e-commerce.
Accounts you need to connect: Shopify and Email (SMTP). It includes an approval step (Request approval): the run waits there and nothing you haven't approved moves on to the next steps. The budget cap is $0.3 per run; when the cap is reached, the remaining steps don't run.
When it runs
The workflow starts when Customer created happens in your Shopify account. Shopify delivers the event instantly by webhook; the webhook subscription is created automatically when you connect the account. Only events that meet the template's condition start the workflow; you can change the condition in the panel.
How it works
- 01
Shopify · Customer created
Integration eventStarts the workflow when “Customer created” happens in your Shopify account.
- 02
Create / upsert lead
Creates a lead from incoming data, or updates it if the email or phone already exists, e.g. adding everyone who fills in your web form.
- 03
If
Splits items into two paths by a condition: one if true, the other if not; e.g. a different message for leads scoring over 70.
- if yes → Set fields
- 04
Set fields
Adds, renames or calculates fields on the items; e.g. to cut a text to 270 characters and add a UTM-tagged link.
- 05
Generate text
Has the AI write text from your instructions in a single step, e.g. a short reply draft for every new comment.
- 06
Request approval
Asks for your approval on the Approvals page before continuing; e.g. to check a post's text before it is published.
- if approved → Shopify · Create discount code
- 07
Shopify · Create discount code
Shopify: Creates a basic percentage discount code valid for all products and customers.
- 08
Send email
Sends an email to one person from your connected account (SMTP or Resend), e.g. a thank-you email to someone who filled in your form.
Setup notes
- Account choices, message template names and consent rules for this template are covered step by step in the setup guide (in Turkish).
How to customise it
- Fill in the
indirimOraniandgecerlilikGunvariables under Settings → Variables for your business; the template ships with placeholder values. - Keep the approval step on for the first weeks; once you trust the output you can remove it or only send borderline items to approval.
- Change the per-run budget cap ($0.3) under Settings; with an economy model you can lower the cap too.
- Before activating it, test the workflow with Test run; the run panel shows every step's input and output.
Frequently asked questions
Which e-commerce platforms does it work with?
The template is built on Shopify. You can also take the order event from WooCommerce, ikas, Ticimax, IdeaSoft, Shopier and Lemon Squeezy: change the trigger's account and event, then check the field names in the next nodes.
Does it need İYS consent?
Yes. The messages this template sends count as commercial messages; under Turkish Law No. 6563 they may only go to consumers whose consent is recorded in İYS. The İYS integration lets the workflow check consent, and broadcasts skip recipients without it automatically.
Will anything go out without my approval?
No. The run waits at the Request approval step and the items appear on the Approvals page; nothing you haven't approved moves on to the next steps.
How much does a run cost?
The template comes with a budget cap of $0.3 per run; when the cap is reached, the remaining steps don't run. The real cost depends on the model you choose and the number of items; you change the cap under Settings.
Can I use the template before connecting the accounts?
Yes. The workflow is still created; the affected node shows a warning during validation, and the warning disappears once you connect the account.
Get started with OrqLabs
Build your first workflow today
Start on the free plan: connect your accounts, pick a template and stay in control with approval steps. No credit card required.