InTouch Hub · Blue Isle Software

Drip

Drip REST API — manage subscribers, tags, and e-commerce email automation workflows.

Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.

documentecommerceemaillogmarketingmarketing-emailschedulestatus

Drip

Manage subscribers, tags, and e-commerce email automation workflows via the Drip REST API.

Drip is an e-commerce marketing automation platform (ECRM). This tool wraps the core contact + tag endpoints so you can read and manage your audience from any InTouch job, schedule, or the AI assistant.

What it does

Calls the real Drip v2 API (https://api.getdrip.com/v2/<account_id>/...) using HTTP Basic authentication — your API token is the username and the password is empty. No external Python packages: standard library only (urllib, json, base64). Response bodies are capped at 5 MB. The raw JSON response and HTTP status are returned so a downstream step (or the assistant) can interpret them; non-2xx responses are surfaced rather than thrown, so you can inspect Drip's error document.

Operations

operation method endpoint required params
list-subscribers GET /v2/{account}/subscribers accountId
get-contact GET /v2/{account}/subscribers/{id-or-email} accountId, contact/email
upsert-contact POST /v2/{account}/subscribers accountId, email
apply-tag POST /v2/{account}/tags accountId, email, tag
list-tags GET /v2/{account}/tags accountId

Inputs

Outputs

API key setup

  1. Log in to Drip.
  2. Go to Settings → User Settings → API Token.
  3. Copy your API Token — this is the apiKey.
  4. Your account id is the numeric id shown in your Drip dashboard URL (e.g. https://www.getdrip.com/<account_id>/...) — this is accountId.

Authentication is HTTP Basic with the token as the username and an empty password (Authorization: Basic base64("<apiKey>:")).

Examples

List the first page of subscribers:

operation = list-subscribers
apiKey    = <your token>
accountId = 9999999
perPage   = 50

Fetch one contact by email:

operation  = get-contact
apiKey     = <your token>
accountId  = 9999999
email      = [email protected]

Create or update a contact with a tag and a custom field:

operation    = upsert-contact
apiKey       = <your token>
accountId    = 9999999
email        = [email protected]
tag          = Customer
customFields = {"shirt_size":"Medium"}

Apply a tag to a contact:

operation = apply-tag
apiKey    = <your token>
accountId = 9999999
email     = [email protected]
tag       = SEO

List all tags in the account:

operation = list-tags
apiKey    = <your token>
accountId = 9999999

Publishes

The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.

Input Properties

Every property this tool accepts, from its own tool.iml.

Property Type Required Default Description
apiKey string yes DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change.
operation string yes One of: list-subscribers, get-contact, upsert-contact, apply-tag, list-tags
accountId string no Your numeric Drip account id (in the URL of your Drip dashboard). Required for every operation.
email string no Contact email address. Required for upsert-contact and apply-tag.
tag string no Tag name. Required for apply-tag; optional for upsert-contact (added to the contact).
customFields string no Optional JSON object of custom fields for upsert-contact, e.g. {"shirt_size":"Medium"}.
page string no 1 Page number for list-subscribers (1-based). Defaults to 1.
perPage string no 100 Records per page for list-subscribers (1-1000). Defaults to 100.
subscriber string no Path parameter for the operations whose URL contains {subscriber}.