Workflow templatesSend a withdrawal confirmation email when a form is submitted

Send a withdrawal confirmation email when a form is submitted

Copy page

When a customer submits your withdrawal form, confirm the receipt by email through your connected sender, with the date and time in your store's time zone and everything the customer sent. Ready layout in English and German, workflow as a .flow file to import.

Since 19 June 2026, online shops that sell to consumers in the EU have to offer a way to withdraw from a contract online, and to confirm without delay that a withdrawal has arrived. The confirmation has to reach the customer in a lasting form such as an email, repeat what the customer declared and say when it came in. In Germany this is known as the Widerrufsbutton.

This workflow sends that confirmation: one condition and one Send Transactional Email step. When a customer submits your withdrawal form, they get an email through your connected sender, in the language they used, with the date and time of receipt in your store's time zone and everything they sent. The text of the email comes from a ready layout in English and German.

What it needs

  • The app installed, with an email sender connected (Email senders overview).
  • An email layout made from the ready layout Withdrawal confirmation (step 2 below).
  • A withdrawal form. The trigger Form submitted comes from our app Workflow Forms: install it and create the form (step 1 below). For another form app see "With another form or withdrawal app" further down.

Set it up

  1. The form. In Workflow Forms create a form from the common fields Name, Email and Order number, and give the form the handle withdrawal (or widerruf). Put it on a page your customers can reach easily, for example through a footer link "Withdraw from contract" ("Vertrag widerrufen").
  2. The layout. In Workflow Transactional Email open Email Layouts and click Create email layout. Under Start from choose Withdrawal confirmation, under Language choose German or English, then save. The language you chose becomes the main language of the layout and the other one is added as a second language. Read the text and change what you want. Send test email shows the result with sample data.
  3. The workflow. Download the .flow file attached at the bottom of this page. In your Shopify admin open Flow, click Import and choose the file. Open the Send Transactional Email step, choose your sender and the layout from step 2, and save.
  4. Click Turn on workflow and submit your form once yourself. The email should arrive within a few seconds, and History in the app lists it.

The file is an export from Shopify Flow itself. Do not edit it by hand; change the workflow in Flow after importing it.

How it works

  1. Form submitted (Workflow Forms) starts the workflow for every form of your store.
  2. The condition lets only the withdrawal form pass: the form handle is withdrawal or widerruf. Your contact form sends no withdrawal confirmation.
  3. Send Transactional Email sends the layout to the address from the form's Email field, in the language of the storefront the form was filled in, with these variables:
Variable What it holds
received_at The moment the workflow ran, by Shopify Flow's own clock (UTC). That is normally a second or two after the form was sent
time_zone Your store's time zone. The layout uses it to show the date and time on your store's clock
shop_name Your store's name, shown at the top of the email
form What the customer entered. The layout reads form.name, form.order_number and form.email, and form.message when the form has such a field

What the email says

The ready layout confirms the receipt and nothing more: "We have received your withdrawal" ("Ihr Widerruf ist bei uns eingegangen"), the date and time it came in with the time zone named, the customer's name, order number and email address. If your form also has the common field Message, the email repeats what the customer wrote there. It does not say that the withdrawal is accepted. You can change every word in the layout editor.

Make it yours

  • Another form handle. Change the two values in the condition to the handle of your form.
  • Other field handles. If the fields of your form are not called name, order_number and email, open the layout and change the variable names, for example {{ variables.form.order_number }} to {{ variables.form.bestellnummer }}. In History a send with an empty value is badged Empty variables.
  • A copy for you. Put your own address into the BCC field of the step, or set a default BCC under Settings > Email defaults.
  • More languages. Add them with Add language in the layout editor, see Send emails in your customer's language.

With another form or withdrawal app

Any app with a Shopify Flow trigger works, for example a dedicated withdrawal button app. Keep the layout, start a workflow from that app's trigger, add Send Transactional Email and fill its Variables (JSON) field with the same names:

{
  "received_at": "{{ "now" | date: "%Y-%m-%dT%H:%M:%S%z" }}",
  "time_zone": "{{ shop.ianaTimezone }}",
  "shop_name": {{ shop.name | json }},
  "form": {
    "name": "...",
    "order_number": "...",
    "email": "..."
  }
}

Replace the dots with the variables of your trigger. If your trigger has its own time of receipt, use it for received_at. A line "message": "..." inside form adds the customer's own words to the email.

Next steps