Campayn

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

Integrate the Campayn API with the HubSpot API

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

Add Contact to List with HubSpot API on New Contact Created from Campayn API
Campayn + HubSpot
 
Try it
Add Contact to List with HubSpot API on New Email Created from Campayn API
Campayn + HubSpot
 
Try it
Batch Create or Update Contact with HubSpot API on New Contact Created from Campayn API
Campayn + HubSpot
 
Try it
Batch Create or Update Contact with HubSpot API on New Email Created from Campayn API
Campayn + HubSpot
 
Try it
Create Associations with HubSpot API on New Contact Created from Campayn API
Campayn + HubSpot
 
Try it
New Contact Created from the Campayn API

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

 
Try it
Company Updated from the HubSpot API

Emit new event each time a company is updated.

 
Try it
New Email Created from the Campayn API

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

 
Try it
Contact Updated from the HubSpot API

Emit new event each time a contact is updated.

 
Try it
Deleted Blog Posts from the HubSpot API

Emit new event for each deleted blog post.

 
Try it
Create Contact with the Campayn API

Creates a new contact. See the docs

 
Try it
Add Contact to List with the HubSpot API

Adds a contact to a specific static list. See the documentation

 
Try it
Get Contact with the Campayn API

Retrieves an existing contact. See the docs

 
Try it
Batch Create or Update Contact with the HubSpot API

Create or update a batch of contacts by its ID. See the documentation

 
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 HubSpot

The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.

Connect HubSpot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    hubspot: {
      type: "app",
      app: "hubspot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.hubapi.com/integrations/v1/me`,
      headers: {
        Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
      },
    })
  },
})