Search results for sending emails with html and css

98 articles found

  • I'm using HTML for my email, and there's too much spacing.

    Summary: Remove the newline_to_br filter from your "email" action. Many tasks include an "email" action that looks like this: {% action "email" %} { "to": {{ | json }}, "subject": {{

  • Can I re-send order confirmation emails with Mechanic?

    As of this writing, Shopify doesn't have a simple API for re-sending order confirmation emails. (If this is important to you, send an email to and let the folks there know that

  • Can I replace Shopify's order emails with Mechanic?

    As of December 2018, only Shopify Plus shop-owners are able to disable Shopify's own order notification emails. You can supplement these with Mechanic emails for confirmation and/or fulfillment, but

  • How do I send images with my emails?

    Attaching images The "email" action supports attaching anything that you can express using JSON. (The rest of this article will assume you're familiar with this action.) If you happen to have your

  • Sending email from a custom address

    By default, Mechanic sends your mail from an address built from your Shopify account name. If your store is located at, for example, Mechanic will send mail from

  • Can Mechanic work with transfers and incoming inventory?

    As of 2019-03-11, Shopify does not offer third-party apps any access to their Transfers feature, which includes incoming inventory figures. If this is important to you, reach out to Shopify directly

  • What kind of email can I send with Mechanic?

    Under the hood, Mechanic uses Postmark to provide email services – both incoming and outgoing. We inherit a requirement of theirs, that you only send transactional messages, directly resulting from

  • The "email" action

    Email runs everything. Mechanic sends email. So long as you're sending transactional email only, you're covered. 👌 Read more: What kind of email can I send with Mechanic? Did you know you can

  • Does Mechanic support rich email?

    Yes, Mechanic's email action supports HTML and CSS in the email body. We process CSS for you, so you're free to use <style> tags without worrying about email client compatibility. Learn about

  • Add an email template

    Sending email with Mechanic, using the "email" action? Use templates to make sure your emails match your brand. Don't forget, you can also send email from your store's domain! Instructions 1.

  • Receiving email

    Every Shopify store that uses Mechanic has its own, dedicated email address, named after the store's subdomain and located at A store at

  • Triggering tasks with IFTTT

    IFTTT allows you to plug nearly anything into nearly anything else. And, using this guide, you can use it to trigger Mechanic tasks using that same set of nearly anything. This means that you can run

  • Getting started with webhooks

    Webhooks are the nearly ubiquitous carriers of information to and from services across the internet - services like IFTTT, Zapier, Stripe, PayPal, JotForm, and countlessly more. You can use webhooks

  • Creating events with webhooks

    A Mechanic webhook allows you to submit your own data, resulting in a new event having a particular topic, containing the data you've submitted. Webhooks are called with simple HTTP POST requests,

  • What's possible with timeline comments?

    What's possible Reading timeline comments, and other events, for orders, draft orders, customers, and inventory transfers. Writing order and customer notes. This is not the same as the timeline

  • Triggering Mechanic tasks with FileMaker

    Creating something purpose-built in FileMaker? You can sent data off to Mechanic for processing, allowing you to tightly integrate your database application with Shopify. 1. Create a Mechanic task,

  • How do marketing preferences work with Mechanic?

    Mechanic does not enforce a customer's marketing preferences on your behalf. It is your responsibility to respect their preference, as recorded in Shopify, and to give the customer an opportunity to

  • Parent and child events

    The "event" action can be used to generate new events, to be run now or in the future. Events generated like this are considered children of the event responsible for those actions running in the

  • Can I use web fonts with generated PDFs?

    Absolutely! We've put together a demonstration task that allows you to see this in action, using a typeface from Google Fonts: Demonstration: Web fonts in PDFs

  • Migrating templates from Shopify to Mechanic

    You can bring your templates over from Shopify's email notifications, or from Shopify's Order Printer app, in order to generate order-related material on-demand in Mechanic. This could look like

  • Generating files

    Mechanic has two actions that allow you to pass along a set of files: The "email" action, which accepts an option called "attachments" The "ftp" action, which accepts an option called "uploads"

  • Can I send events to Klaviyo?

    To send an event to Klaviyo, we use the "http" action. Your task script might look something like this: {% assign klaviyo_data = hash %} {% assign klaviyo_data["token"] =

  • Can I send messages to Slack?

    Mechanic's "http" action makes it extremely simple to send data to external webservices. And Slack's incoming webhooks feature makes it easy to turn that data into a Slack message. To get started,

  • Why are my tasks delayed or not running?

    In general, there are two reasons why a task might be delayed, or might not be appearing to run: Shopify† is delayed in sending notifications to Mechanic Your Mechanic account is experiencing a delay

  • I'm an app developer. Can I send my events to Mechanic?

    Short answer: almost certainly. :) Get in touch with us at Details you should know ahead of time: All event ingress works via POST requests to an endpoint that we supply,

  • Can I send values to Customer Fields?

    To update a customer record in the Customer Fields app, use an "http" action that looks something like this: {% action "http" %} { "method": "put", "url":

  • Can I send data to Google Sheets?

    Yes! There are two options: One uses the IMPORTDATA function within Google Sheets to pull data from your store into your spreadsheet. The other lets you dynamically push new data to Google Sheets,

  • Triggering IFTTT applets

    Start by creating a new IFTTT applet. (Here's a quick link!) Click the "+ this" text to choose your trigger. Type "webhook" to quickly find the "Webhooks" trigger, and click on it to continue: After

  • An introduction to tasks

    A Mechanic task is responsible for interpreting the events that occur, setting off any number of actions as a result. Mechanic offers a number of built-in tasks, which you can add to your account

  • The "event" action

    Event actions are powerful. They allow you to invoke other tasks as a response to an incoming event. And, because a single task can subscribe to multiple event topics, it means you can create

  • Scripts

    Mechanic turns Liquid from a templating language, into a programming language. By nature, this document is basically wholly for developers. But – and we mean this – we're all about education. If

  • Connecting PayPal to Mechanic

    Open up the "Settings" area of your Mechanic account: Use the "Webhooks" section to create a webhook, named "PayPal", with an event topic of "user/paypal/ipn". ("IPN" stands for "Instant Payment

  • All event topics

    Every task needs at least one event topic to "listen" for – when an event with a matching topic occurs, the task runs. Mechanic has many events that it can work with, giving you many options as you

  • Querying Shopify

    Mechanic supports three methods for fetching data from Shopify: Liquid objects GraphQL GraphQL with bulk operations This article is about fetching data. Learn about writing data with the "shopify"

  • The anatomy of a store-to-store sync

    Note: Creating a task for this purpose does involve writing Liquid code. Mechanic has two features that make syncing data possible: Webhooks – read more The "http" action – read more Using these two

  • Creating scheduled CSV feeds

    In this tutorial, you'll learn how to create a feed of your shop's data, and make it available on your online store, at a URL like Tip: The data you generate can be

  • The "ftp" action

    Useful for interacting with vendors, or simply for making logs or submitting backups, you can use Mechanic's "ftp" action to upload arbitrary content to any S/FTP host. Options "host" – required,

  • Keyword literals

    Mechanic's Liquid implementation includes three new literals: newline – "\n" hash – {} array – [] Use newline to more easily navigate strings, and hash and array to quickly construct your own data

  • Using cache endpoints to share data

    Cache endpoints allow you to publish the data you store in Mechanic's cache, making it available via a private JSON API. Like webhooks, cache endpoints may be called from your online storefront (and

  • Bulk operations

    Mechanic comes with several ways to query Shopify for data (read more about these), and one of these involves Shopify's "bulk operations" feature. This feature allows apps like Mechanic to send

  • Practicing writing tasks

    In our own internal education, we've found that the following exercises work particularly well. They're all in sequence – the task to create for each subsequent exercise modifies the code you wrote

  • Privacy policy

    Mechanic Privacy Policy Mechanic "the App” provides Shopify automation services "the Service" to merchants who use Shopify to power their stores. This Privacy Policy describes how personal

  • An introduction to events

    Everything happens, in e-commerce. Products are listed, customers arrive, orders are placed, everything occurs, and has data to go with it. In Mechanic, we call that whole wash of things events, and

  • All action types

    New to Mechanic? Learn more about actions here. Cache – Allows you to manipulate a simple key/value cache, giving your tasks a short-term memory. Echo – Useful for debugging and logging. Use it to

  • Why Mechanic?

    "Should I use Mechanic?" Take a look at Mechanic's task library. If your specific need is covered there, install the task, and you'll be good to go. :) If your need isn't covered there, take a look

  • Welcome! An introduction to Mechanic

    I'm glad you're here. :) I'm Isaac, and I built Mechanic. My goal here is to make automation better for everyone. We do this, here, in two parts: (1) by making it as easy and fast as possible for

  • An introduction to actions

    If events are where Mechanic begins, actions are where it concludes, with tasks hanging out in the middle. A task can run one action every time it runs, or it might run many actions – it all depends

  • The options object

    Only available within a task, the options object contains all values provided by merchants while configuring the task. Each option value is itself parsed for Liquid. The options variable is not

  • Accessing your Mechanic account settings

    Your Mechanic account comes with a variety of options, configurable at the account level. This includes email templates, event filters, "Read all orders", email, and webhooks. You can find these

  • Can I schedule tasks for the future?

    In Mechanic, the decision to schedule an event is an action all by itself – the "event" action. This means that the flow for scheduling looks like this: Task A is created, subscribing to a user event