← AWeber

Add Subscriber 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
Add Subscriber 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 Add Subscriber with the AWeber API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Add Subscriber action
    1. Connect your AWeber account
    2. Select a Account ID
    3. Select a List ID
    4. Configure Email
    5. Optional- Configure Name
    6. Optional- Configure Tags
  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

Add Subscriber with AWeber API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + AWeber
 
Try it
Add Subscriber with AWeber API on New Message from Discord API
Discord + AWeber
 
Try it
Add Subscriber with AWeber API on New Message In Channels from Slack API
Slack + AWeber
 
Try it
Add Subscriber with AWeber API on New Message in Channel from Discord Bot API
Discord Bot + AWeber
 
Try it
Add Subscriber 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.

Add Subscriber on AWeber
Description:Add subscribers to the specified account and list. [See the docs here](https://api.aweber.com/#tag/Subscribers/paths/~1accounts~1{accountId}~1lists~1{listId}~1subscribers/post).
Version:0.0.1
Key:aweber-add-subscriber

Code

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

export default {
  key: "aweber-add-subscriber",
  name: "Add Subscriber",
  description: "Add subscribers to the specified account and list. [See the docs here](https://api.aweber.com/#tag/Subscribers/paths/~1accounts~1{accountId}~1lists~1{listId}~1subscribers/post).",
  type: "action",
  version: "0.0.1",
  props: {
    aweberApp,
    accountId: {
      propDefinition: [
        aweberApp,
        "accountId",
      ],
    },
    listId: {
      propDefinition: [
        aweberApp,
        "listId",
        ({ accountId }) => ({
          accountId,
        }),
      ],
    },
    email: {
      type: "string",
      label: "Email",
      description: "The subscriber's email address",
    },
    name: {
      type: "string",
      label: "Name",
      description: "The subscriber's name",
      optional: true,
    },
    tags: {
      type: "string[]",
      label: "Tags",
      description: "This field is used to apply a list of tags to a Subscriber. With Campaigns, you can trigger a series of messages based on what Tags have been applied to your subscribers.",
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      accountId,
      listId,
      email,
      name,
    } = this;

    const tags = utils.parse(this.tags);

    await this.aweberApp.addSubscriber({
      $,
      accountId,
      listId,
      data: {
        email,
        name,
        tags,
      },
    });

    $.export("$summary", `Successfully added subscriber with email ${email}.`);
  },
};

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.
List IDlistIdstringSelect a value from the drop down menu.
Emailemailstring

The subscriber's email address

Namenamestring

The subscriber's name

Tagstagsstring[]

This field is used to apply a list of tags to a Subscriber. With Campaigns, you can trigger a series of messages based on what Tags have been applied to your subscribers.

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

Get Accounts with the AWeber API

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

 
Try it
Get Lists with the AWeber API

Get a paginated collection of subscriber lists. 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