First-party app
Drip

Drip

Manage Drip subscribers, tags, events and email series campaigns.

stable Marketing

About

Drip ships in the w6w first-party pack. It declares 14 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.drip
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Marketing

Overview

Drip is an email marketing platform built around subscribers, tags and custom events, and this app covers that core loop: creating or updating a subscriber, listing and fetching them, applying and removing tags to drive segmentation, and recording the custom events Drip’s automations key off — ‘Logged in’, ‘Started a trial’, and the like.

Campaigns (Drip calls its automations ‘Email Series Campaigns’) can be listed and fetched so a workflow can look up an active series before subscribing someone to it, and account, custom-field and event-action listings round out the picture for building forms and mappings without opening Drip’s dashboard.

A fit for syncing subscriber and tag data from a signup form or CRM, recording product events that trigger a Drip automation, or looking up campaign and account metadata as part of a larger workflow.

Build with Drip

Three routes to the same 14 actions. The Workflow tab is generated from Drip's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Apply Tag

apply-tag

Apply a tag to a subscriber. Creates the subscriber if they don't yet exist.

Create or Update Subscriber

create-or-update-subscriber

Create a subscriber, or update one that already exists, keyed by email.

Delete Subscriber

delete-subscriber

Permanently delete a subscriber by id, email, or visitor uuid.

Get Email Series Campaign

get-campaign

Fetch a single Email Series Campaign by id.

Get Subscriber

get-subscriber

Fetch a subscriber by id, email, or visitor uuid.

List Accounts

list-accounts

List every Drip account the authenticated API token can access.

List Email Series Campaigns

list-campaigns

List this account's Email Series Campaigns (Drip's automations).

List Custom Field Identifiers

list-custom-field-identifiers

List every active custom field identifier used in this account.

List Custom Event Actions

list-event-actions

List every distinct custom event action name recorded in this account.

List Subscribers

list-subscribers

List subscribers in this account, optionally filtered by status or tag.

List Tags

list-tags

List every tag used at least once in this account.

Record Event

record-event

Record a custom event for a subscriber — the trigger Drip automations key off.

Remove Tag

remove-tag

Remove a tag from a subscriber.

Unsubscribe from All Mailings

unsubscribe-subscriber

Globally unsubscribe a subscriber from every mailing, not just one campaign.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Drip's real ids.

{
  "manifestVersion": "2",
  "name": "drip-example",
  "steps": [
    {
      "id": "apply-tag",
      "uses": {
        "app": "io.w6w.drip",
        "action": "apply-tag",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "email": "<email>",
        "tag": "<tag>"
      }
    }
  ]
}

Here are some of the things you can do

  • Apply Tag

    perform
    apply-tag
  • Create or Update Subscriber

    perform
    create-or-update-subscriber
  • Get Email Series Campaign

    read
    get-campaign
  • Get Subscriber

    read
    get-subscriber
  • List Accounts

    read
    list-accounts

+9 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Drip, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Drip. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "apply-tag",
  payload: {
    email: "<value>",
    tag: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action apply-tag --payload '{"email":"<value>","tag":"<value>"}'

Give an AI agent Drip — without giving it Drip's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.drip#apply-tag",
    "input": {
      "email": "<email>",
      "tag": "<tag>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Drip connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Drip's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Drip itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Drip declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Drip platform status

Component status from status.drip.com, whose 'REST and JavaScript APIs' component covers this app's own surface. Unauthenticated and unsigned.

quota

API request-rate headroom

Reads X-RateLimit-Limit / X-RateLimit-Remaining off a signed GET /v2/user. Ceiling is 3,600 individual requests per hour per token; batch endpoints are metered separately (50/hour).