Customer signup email with Mechanic.

Mechanic is the one-tool-does-it-all automation app for Shopify. :)

Customer signup email

by Isaac Bowen (team@usemechanic.com)

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

Runs when 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, Gurus, 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.

Events
when a customer is created (shopify/customers/create)
Options
to (email, required), subject (required), body (multiline, required)
Script
{
  "action": {
    "type": "email",
    "options": {
      "to": {{ options.to__email_required | json }},
      "subject": {{ options.subject__required | json }},
      "body": {{ options.body__multiline_required | strip | newline_to_br | json }}
    }
  }
}
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: {% if customer.email %}{{ customer.email }}{% else %}(none){% endif %}
Phone: {% if customer.phone %}{{ customer.phone }}{% else %}(none){% endif %}
<a href="https://{{ shop.myshopify_domain }}/admin/customers/{{ customer.id }}" target="_blank">Manage in Shopify</a>

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