← ActiveCampaign

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

  1. Configure the ActiveCampaign - Remove Contact Tag action
    1. Connect your ActiveCampaign account
    2. Configure email
    3. 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

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.

ActiveCampaign - Remove Contact Tag on ActiveCampaign
Description:
Version:0.4.2
Key:activecampaign-remove-tag-from-contact

Code

// legacy_hash_id: a_1Wi7JX
import querystring from "querystring";
import axiosModule from "axios";

export default {
  key: "activecampaign-remove-tag-from-contact",
  name: "ActiveCampaign - Remove Contact Tag",
  version: "0.4.2",
  type: "action",
  props: {
    activecampaign: {
      type: "app",
      app: "activecampaign",
    },
    email: {
      type: "string",
    },
    tags: {
      type: "string",
    },
  },
  async run() {
    const axios = axiosModule.default;

    const config = {
      method: "post",
      url: `${this.activecampaign.$auth.base_url}/admin/api.php?api_action=contact_tag_remove&api_key=${this.activecampaign.$auth.api_key}`, // todo: api path
      // todo: data
      data: querystring.stringify({
        email: this.email,
        tags: this.tags,
      }),
    };

    return await axios(config);
  },
};

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.
emailstring
tagsstring

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