View as Markdown
Acumbamail icon

Acumbamail ACTION

Add or Update Subscriber

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

IMPLEMENTATION

Call this tool

Connect a user's Acumbamail 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: "acumbamail-add-or-update-subscriber",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    acumbamail: { authProvisionId: "apn_xxxxxxx" },
    listId: "List ID",
    doubleOptin: true,
  },
})

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 ID of a list
Required Dynamic
doubleOptin Double Opt-in boolean
Activates sending of confirmation email when adding the subscriber
Optional
updateSubscriber Update Subscriber boolean
Modifies the fields in the case of a subscriber who is already on the list
Optional
mergeFields Merge Fields object
Optionally, add merge fields as a single object. This is a Dictionary that contains the merge tags of the subscriber as keys and the value that will be added to 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
acumbamail-add-or-update-subscriber
Version
0.0.1
App
Acumbamail
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes