View as Markdown
AdRoll icon

AdRoll ACTION

Replace Emails from CRM Audience

Replace the email list from a CRM audience in AdRoll. See docs here
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's AdRoll account once, then configure and run Replace Emails from CRM Audience 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: "adroll-replace-emails-from-crm-audience",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    adroll: { authProvisionId: "apn_xxxxxxx" },
    advertiserId: "Advertiser Id",
    audienceId: "Audience Id",
  },
})

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.

Replace Emails from CRM Audience inputs
Property Type Description
advertiserId Advertiser Id string
The Id of the Advertiser
Required Dynamic
audienceId Audience Id string
The Id of the CRM audience
Required Dynamic
emailList Email List string[]
The email address list to replace in the CRM audience. List must contain at least 100 unique emails. See docs here
Required

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
adroll-replace-emails-from-crm-audience
Version
0.0.3
App
AdRoll
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes