Send a customer signup email, with Mechanic.

Mechanic is a development and ecommerce automation platform for Shopify. :)

Send a customer signup email

Super basic, super useful. :) Get an email alert whenever a customer account is created.

Runs Occurs whenever a customer is created. Configuration includes to, subject, and body.

15-day free trial – unlimited tasks

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Shopifolks, everybody.

That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.

(By the way, have you seen our documentation? Have you joined the Slack community?)

Open source
View on GitHub to contribute to this task
Events
Occurs whenever a customer is created (shopify/customers/create)
Options
to (email, required), subject (required), body (multiline, required)
Code
{% action "email" %}
  {
    "to": {{ options.to__email_required | json }},
    "subject": {{ options.subject__required | json }},
    "body": {{ options.body__multiline_required | strip | newline_to_br | json }},
    "reply_to": {{ shop.customer_email | json }},
    "from_display_name": {{ shop.name | json }}
  }
{% endaction %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.
Defaults
Subject
New customer: {% if customer.email %}{{ customer.email }}{% else %}#{{ customer.id }}{% endif %}
Body
Hey there! A new customer has signed up. Here are their details:

Name: {% capture full_name %}{{ customer.first_name }} {{ customer.last_name }}{% endcapture %}{% if full_name != blank %}{{ full_name | strip }}{% else %}(none){% endif %}
Email: {{ customer.email | default: "(none)" }}
Phone: {{ customer.phone | default: "(none)" }}
{{ customer.note | strip }}

<a href="https://{{ shop.myshopify_domain }}/admin/customers/{{ customer.id }}" target="_blank">Manage in Shopify</a>

Thanks,
- Mechanic, for {{ shop.name }}