← AdRoll

Replace Emails from CRM Audience with AdRoll API

Pipedream makes it easy to connect APIs for AdRoll and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Replace Emails from CRM Audience with the AdRoll API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Replace Emails from CRM Audience with the AdRoll API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Replace Emails from CRM Audience action
    1. Connect your AdRoll account
    2. Select a Advertiser Id
    3. Select a Audience Id
    4. Configure Email List
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Replace Emails from CRM Audience with AdRoll API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + AdRoll
 
Try it
Replace Emails from CRM Audience with AdRoll API on New Submission from Typeform API
Typeform + AdRoll
 
Try it
Replace Emails from CRM Audience with AdRoll API on Custom Events from Zoom API
Zoom + AdRoll
 
Try it
Replace Emails from CRM Audience with AdRoll API on New Submission (Instant) from Jotform API
Jotform + AdRoll
 
Try it
Replace Emails from CRM Audience with AdRoll API on New Custom Webhook Events from Stripe API
Stripe + AdRoll
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Replace Emails from CRM Audience on AdRoll
Description:Replace the email list from a CRM audience in AdRoll. [See docs here](https://developers.adroll.com/docs/adroll-audience-api/1/routes/segments/%7Bsegment_eid%7D/post)
Version:0.0.1
Key:adroll-replace-emails-from-crm-audience

Code

import app from "../../adroll.app.mjs";

export default {
  key: "adroll-replace-emails-from-crm-audience",
  name: "Replace Emails from CRM Audience",
  description: "Replace the email list from a CRM audience in AdRoll. [See docs here](https://developers.adroll.com/docs/adroll-audience-api/1/routes/segments/%7Bsegment_eid%7D/post)",
  version: "0.0.1",
  type: "action",
  props: {
    app,
    advertiserId: {
      propDefinition: [
        app,
        "advertiserId",
      ],
    },
    audienceId: {
      propDefinition: [
        app,
        "audienceId",
        (c) => ({
          advertiserId: c.advertiserId,
        }),
      ],
    },
    emailList: {
      label: "Email List",
      description: "The email address list to replace in the CRM audience. List must contain at least 100 unique emails. [See docs here](https://help.adroll.com/hc/en-us/articles/211845528-CRM-Audience)",
      type: "string[]",
    },
  },
  async run({ $ }) {
    const {
      emailList,
      audienceId,
    } = this;

    const response = await this.app.replaceEmailsFromCRMAudience({
      $,
      emails: Array.isArray(emailList) && emailList || JSON.parse(emailList),
      audienceId,
    });

    $.export("$summary", `Successfully updated email address list from CRM audience with ID: "${audienceId}"`);

    return response;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
AdRollappappThis component uses the AdRoll app.
Advertiser IdadvertiserIdstringSelect a value from the drop down menu.
Audience IdaudienceIdstringSelect a value from the drop down menu.
Email ListemailListstring[]

The email address list to replace in the CRM audience. List must contain at least 100 unique emails. See docs here

Authentication

AdRoll uses OAuth authentication. When you connect your AdRoll account, Pipedream will open a popup window where you can sign into AdRoll and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any AdRoll API.

Pipedream requests the following authorization scopes when you connect your account:

all

About AdRoll

Online advertising