Mechanic Get Mechanic
Task library

Send a customer signup email

Email your team when a new customer is created in Shopify. Choose who gets the alert and what it says.

Try this task

When it runs

Shopify creates a customer record.

What you choose

The recipient, subject line, and email body.

Email preview

Sample customer
Park Street GoodsTo: team@example.com

New customer: alex@example.com

Hey there! A new customer has signed up. Here are their details: Name: Alex Chen Email: alex@example.com Phone: (none)

Thanks, - Mechanic, for Park Street Goods

Task code and subscriptions

You can edit the Liquid code after installing this task. View on GitHub or ask a question in the Mechanic Slack community.

Subscriptions

shopify/customers/create
How task subscriptions work

Option types and flags

Task 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 Liquid reference

Default option values

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 }}