Campayn

Campayn.com is the easiest way to create, send and track email marketing campaigns.

Integrate the Campayn API with the Stripe API

Setup the Campayn API trigger to run a workflow which integrates with the Stripe API. Pipedream's integration platform allows you to integrate Campayn and Stripe remarkably fast. Free for developers.

Create Contact with Campayn API on New Custom Webhook Events from Stripe API
Stripe + Campayn
 
Try it
Get Contact with Campayn API on New Custom Webhook Events from Stripe API
Stripe + Campayn
 
Try it
Unsubscribe Contact with Campayn API on New Custom Webhook Events from Stripe API
Stripe + Campayn
 
Try it
Cancel a Payment Intent with Stripe API on New Contact Created from Campayn API
Campayn + Stripe
 
Try it
Cancel a Payment Intent with Stripe API on New Email Created from Campayn API
Campayn + Stripe
 
Try it
New Custom Webhook Events from the Stripe API

Emit new event on each webhook event

 
Try it
New Contact Created from the Campayn API

Emit new events when a new contact is created. See the docs

 
Try it
New Email Created from the Campayn API

Emit new events when a new email is created. See the docs

 
Try it
Canceled Subscription from the Stripe API

Emit new event for each new canceled subscription

 
Try it
New Abandoned Cart from the Stripe API

Emit new event when a customer abandons their cart.

 
Try it
Create Contact with the Campayn API

Creates a new contact. See the docs

 
Try it
Get Contact with the Campayn API

Retrieves an existing contact. See the docs

 
Try it
Cancel a Payment Intent with the Stripe API

Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture, the remaining amount_capturable will automatically be refunded. See the docs for more information

 
Try it
Cancel Or Reverse a Payout with the Stripe API

Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information

 
Try it
Unsubscribe Contact with the Campayn API

Unsubscribes a contact from a list. See the docs

 
Try it

Overview of Campayn

The Campayn API lets you automate email marketing tasks directly within Pipedream. It provides programmatic access to manage contacts, lists, and email campaigns. With Pipedream, you can build serverless workflows to integrate Campayn with other apps and services, triggering actions based on events, scheduling regular email campaigns, or syncing data across platforms.

Connect Campayn

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    campayn: {
      type: "app",
      app: "campayn",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://campayn.com/api/v1/lists.json`,
      headers: {
        "Authorization": `TRUEREST apikey=${this.campayn.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

Overview of Stripe

The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.

Connect Stripe

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import stripe from 'stripe'

export default defineComponent({
  props: {
    stripe: {
      type: "app",
      app: "stripe",
    }
  },
  async run({steps, $}) {
    const client = stripe(this.stripe.$auth.api_key)

    return await client.accounts.list({ limit: 1 })
  },
})