View as Markdown
Doppler Marketing Automation icon

Doppler Marketing Automation ACTION

Add or Update Subscriber

Adds a new subscriber or updates an existing one. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Doppler Marketing Automation account once, then configure and run Add or Update Subscriber from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "doppler_marketing_automation-add-update-subscriber",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    doppler_marketing_automation: { authProvisionId: "apn_xxxxxxx" },
    listId: "List ID",
    subscriberEmail: "Subscriber Email",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add or Update Subscriber inputs
Property Type Description
listId List ID string
The list ID
Required Dynamic
subscriberEmail Subscriber Email string
The email of the subscriber to add or update.
Required
firstName First Name string
Subscriber first name
Optional
lastName Last Name string
Subscriber last name
Optional
birthDate Birth Date string
The birth date of the subscriber
Optional
country Country string
Optional country of the subscriber
Optional
gender Gender string
The gender of the subscriber
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
doppler_marketing_automation-add-update-subscriber
Version
0.0.3
App
Doppler Marketing Automation
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes