← ActiveCampaign + SWAPI - Star Wars integrations

Get Film with SWAPI - Star Wars API on New Campaign Unsubscribe (Instant) from ActiveCampaign API

Pipedream makes it easy to connect APIs for SWAPI - Star Wars, ActiveCampaign and 900+ other apps remarkably fast.

Trigger workflow on
New Campaign Unsubscribe (Instant) from the ActiveCampaign API
Next, do this
Get Film with the SWAPI - Star Wars 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

This integration creates a workflow with a ActiveCampaign trigger and SWAPI - Star Wars action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Campaign Unsubscribe (Instant) trigger
    1. Connect your ActiveCampaign account
    2. Optional- Select one or more Sources
    3. Optional- Select one or more Campaigns
  3. Configure the Get Film action
    1. Connect your SWAPI - Star Wars account
    2. Select a film
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Emit new event when a contact unsubscribes as a result of a campaign email sent to them.
Version:0.0.4
Key:activecampaign-new-campaign-unsubscribe

Trigger Code

import common from "../common/campaign.mjs";

export default {
  ...common,
  name: "New Campaign Unsubscribe (Instant)",
  key: "activecampaign-new-campaign-unsubscribe",
  description:
    "Emit new event when a contact unsubscribes as a result of a campaign email sent to them.",
  version: "0.0.4",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getEvents() {
      return [
        "unsubscribe",
      ];
    },
  },
};

Trigger 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.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Sourcessourcesstring[]Select a value from the drop down menu:publicadminapisystem
Campaignscampaignsstring[]Select a value from the drop down menu.

Trigger 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

Action

Description:
Version:0.0.12
Key:swapi-get-film

Action Code

const swapi = require('../../swapi.app.js')
const axios = require('axios')

module.exports = {
  key: "swapi-get-film",
  name: "Get Film",
  version: "0.0.12",
  type: "action",
  props: {
    swapi,
    film: { propDefinition: [swapi, "film"] },
  },
  async run() {
    return (await axios({
      url: `https://swapi.dev/api/films/${this.film}`
    })).data
  },
}

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
SWAPI - Star WarsswapiappThis component uses the SWAPI - Star Wars app.
filmfilmstringSelect a value from the drop down menu.

Action Authentication

The SWAPI - Star Wars API does not require authentication.

About SWAPI - Star Wars

The Star Wars API

More Ways to Connect SWAPI - Star Wars + ActiveCampaign

Get Film with SWAPI - Star Wars API on New or Updated Account from ActiveCampaign API
ActiveCampaign + SWAPI - Star Wars
 
Try it
Get Film with SWAPI - Star Wars API on New or Updated Calendar Feed from ActiveCampaign API
ActiveCampaign + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on Campaign Link Clicked (Instant) from ActiveCampaign API
ActiveCampaign + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on Campaign Opened (Instant) from ActiveCampaign API
ActiveCampaign + SWAPI - Star Wars
 
Try it
Get Film with SWAPI API on Campaign Starts Sending (Instant) from ActiveCampaign API
ActiveCampaign + SWAPI - Star Wars
 
Try it
Campaign Link Clicked (Instant) from the ActiveCampaign API

Emit new event when a link from a campaign is clicked (will only run once for each unique link).

 
Try it
Campaign Opened (Instant) from the ActiveCampaign API

Emit new event when a contact opens a campaign (will trigger once per contact per campaign).

 
Try it
Campaign Starts Sending (Instant) from the ActiveCampaign API

Emit new event each time a campaign starts sending.

 
Try it
New Automation Webhook from the ActiveCampaign API

Emit new event each time an automation sends out webhook data.

 
Try it
New Campaign Bounce (Instant) from the ActiveCampaign API

Emit new event when a contact email address bounces from a sent campaign.

 
Try it
Activecampaign - Get contact by email with the ActiveCampaign API

Retrieves contact data from the ActiveCampaign CRM by email address

 
Try it
ActiveCampaign - Remove Contact Tag with the ActiveCampaign API
 
Try it
Add Contact to Automation with the ActiveCampaign API

Adds an existing contact to an existing automation.

 
Try it
Create Account with the ActiveCampaign API

Create a new account. See the docs here.

 
Try it
Create Contact with the ActiveCampaign API

Create a new contact. See the docs here.

 
Try it