← AWeber

Get Lists with AWeber API

Pipedream makes it easy to connect APIs for AWeber and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get Lists with the AWeber API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get Lists with the AWeber API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get Lists action
    1. Connect your AWeber account
    2. Select a Account ID
    3. Configure Start
    4. Configure Limit
    5. Configure Max
  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

Get Lists with AWeber API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + AWeber
 
Try it
Get Lists with AWeber API on New Message from Discord API
Discord + AWeber
 
Try it
Get Lists with AWeber API on New Message In Channels from Slack API
Slack + AWeber
 
Try it
Get Lists with AWeber API on New Message in Channel from Discord Bot API
Discord Bot + AWeber
 
Try it
Get Lists with AWeber API on New Submission from Typeform API
Typeform + AWeber
 
Try it

Details

This is a pre-built, open source 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.

Get Lists on AWeber
Description:Get a paginated collection of subscriber lists. [See the docs here](https://api.aweber.com/#tag/Lists/paths/~1accounts~1{accountId}~1lists/get).
Version:0.0.1
Key:aweber-get-lists

Code

import aweberApp from "../../aweber.app.mjs";
import constants from "../../common/constants.mjs";
import utils from "../../common/utils.mjs";

export default {
  key: "aweber-get-lists",
  name: "Get Lists",
  description: "Get a paginated collection of subscriber lists. [See the docs here](https://api.aweber.com/#tag/Lists/paths/~1accounts~1{accountId}~1lists/get).",
  type: "action",
  version: "0.0.1",
  props: {
    aweberApp,
    accountId: {
      propDefinition: [
        aweberApp,
        "accountId",
      ],
    },
    start: {
      propDefinition: [
        aweberApp,
        "wsStart",
      ],
    },
    size: {
      propDefinition: [
        aweberApp,
        "wsSize",
      ],
    },
    max: {
      propDefinition: [
        aweberApp,
        "max",
      ],
    },
  },
  async run({ $ }) {
    const {
      accountId,
      start,
      size,
      max,
    } = this;

    const stream = await this.aweberApp.getResourcesStream({
      resourceFn: this.aweberApp.getLists,
      resourceFnArgs: {
        $,
        accountId,
        params: {
          [constants.PAGINATION.SIZE_PROP]: size,
          [constants.PAGINATION.START_PROP]: start,
        },
      },
      max,
    });
    const lists = await utils.streamIterator(stream);
    const summaryEnd = utils.summaryEnd(lists.length, "list");

    $.export("$summary", `Successfully retrieved ${summaryEnd}.`);

    return lists;
  },
};

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
AWeberaweberAppappThis component uses the AWeber app.
Account IDaccountIdintegerSelect a value from the drop down menu.
Startstartinteger

The pagination starting offset.

Limitsizeinteger

The pagination total entries to retrieve.

Maxmaxinteger

The maximum number of resources to retrieve.

Authentication

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

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

account.readlist.readlist.writesubscriber.readsubscriber.writesubscriber.read-extendedemail.reademail.write

About AWeber

Powerfully-Simple Email Marketing

More Ways to Use AWeber

Triggers

Subscriber Added from the AWeber API

Emit new event when a subscriber in a list is added. See the docs here

 
Try it

Actions

Add Subscriber with the AWeber API

Add subscribers to the specified account and list. See the docs here.

 
Try it
Get Accounts with the AWeber API

Get a paginated collection of accounts. See the docs here.

 
Try it
Get Subscribers with the AWeber API

Get a paginated collection of subscribers under the specified account and list. See the docs here.

 
Try it