Mechanic Get Mechanic
Task library

Add new customers to GetResponse

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.

Try this task

When it runs

Occurs whenever a customer is created

What you choose

  • Getresponse API key
  • Getresponse list token

Documentation

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.

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

{% 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 Liquid reference