Add new customers to GetResponse with Mechanic.

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

Add new customers to GetResponse

by Isaac Bowen (team@usemechanic.com)

Does what it says on the tin. :) Provide your GetResponse API key (found under the account menu, under "Integrations & API" and "API") and a list token (found in the settings for your list – look for 5-6 letters and numbers), and Mechanic will automatically send each new customer account (full name and email address) over to GetResponse.

Runs when a customer is created. Configuration includes getresponse api key and getresponse list token.

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
getresponse api key (required), getresponse list token (required)
Script
{% capture customer_name %}{{ customer.first_name }} {{ customer.last_name }}{% endcapture %}

{
  "action": {
    "type": "http",
    "options": {
      "method": "post",
      "url": "https://api.getresponse.com/v3/contacts",
      "headers": {
        "X-Auth-Token": "api-key {{ options.getresponse_api_key__required }}"
      },
      "body": {
        "name": {{ customer_name | json }},
        "email": {{ customer.email | json }},
        "campaign": {
          "campaignId": {{ options.getresponse_list_token__required | json }}
        },
        "tags": [],
        "customFieldValues": []
      }
    }
  }
}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.