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

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 }}
    }
  }
}
Yep, that’s just Liquid! If this is interesting to you, check out our documentation! Mechanic is hugely developer-friendly. :)
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 }}