← ActiveCampaign

Create Account with ActiveCampaign API

Pipedream makes it easy to connect APIs for ActiveCampaign and 800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Account with the ActiveCampaign 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 Create Account with the ActiveCampaign API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Account action
    1. Connect your ActiveCampaign account
    2. Configure Account's name
    3. Optional- Configure Account's URL
  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

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.

Create Account on ActiveCampaign
Description:Create a new account. See the docs [here](https://developers.activecampaign.com/reference#create-an-account-new).
Version:0.0.2
Key:activecampaign-create-account

Code

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

export default {
  key: "activecampaign-create-account",
  name: "Create Account",
  description: "Create a new account. See the docs [here](https://developers.activecampaign.com/reference#create-an-account-new).",
  type: "action",
  version: "0.0.2",
  props: {
    activecampaign,
    name: {
      propDefinition: [
        activecampaign,
        "accountName",
      ],
    },
    accountUrl: {
      propDefinition: [
        activecampaign,
        "accountUrl",
      ],
    },
  },
  async run({ $ }) {
    const response =
      await this.activecampaign.createAccount({
        $,
        data: {
          account: {
            name: this.name,
            accountUrl: this.accountUrl,
          },
        },
      });

    if (!response.account) {
      throw new Error(JSON.stringify(response));
    }

    $.export("$summary", `Successfully created account "${response.account.name}"`);

    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
ActiveCampaignactivecampaignappThis component uses the ActiveCampaign app.
Account's namenamestring

The name of the account to create.

Account's URLaccountUrlstring

The URL of the account to create.

Authentication

ActiveCampaign uses API keys for authentication. When you connect your ActiveCampaign account, Pipedream securely stores the keys so you can easily authenticate to ActiveCampaign APIs in both code and no-code steps.

You can find your Base URL and API Key in your Developer Settings in your account. See the ActiveCampaign API docs for more info.

About ActiveCampaign

Email marketing, marketing automation, and CRM tools