Mailjet

Mailjet is an easy-to-use all-in-one e-mail platform. With our transactional and marketing e-mail solution, it’s never been easier to get your emails into the inbox!

Integrate the Mailjet API with the Data Stores API

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

Add or update a single record with Data Stores API on Contact Created from Mailjet API
Mailjet + Data Stores
 
Try it
Add or update multiple records with Data Stores API on Contact Created from Mailjet API
Mailjet + Data Stores
 
Try it
Append to record with Data Stores API on Contact Created from Mailjet API
Mailjet + Data Stores
 
Try it
Delete a single record with Data Stores API on Contact Created from Mailjet API
Mailjet + Data Stores
 
Try it
Delete All Records with Data Stores API on Contact Created from Mailjet API
Mailjet + Data Stores
 
Try it
Contact Created from the Mailjet API

Emit new event when a contact is created. See the docs here

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Create Contact with the Mailjet API

Add a new unique contact to your global contact list and select its exclusion status. See the docs here

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it
List Contacts with the Mailjet API

Retrieve details for all contact lists - name, subscriber count, creation timestamp, deletion status. See the docs here

 
Try it
Append to record with the Data Stores API

Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.

 
Try it

Overview of Mailjet

Mailjet's API offers the power to craft, send, and track emails with finesse. You can wield it to automate email sequences, synchronize email lists with your databases, and send transactional emails with personalized content. It's a playground for creating tailored email campaigns and dissecting campaign performance with rich analytics.

Connect Mailjet

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: {
    mailjet: {
      type: "app",
      app: "mailjet",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.mailjet.com/v3/REST/contactslist`,
      auth: {
        username: `{{custom_fields.public_key}}`,
        password: `${this.mailjet.$auth.secret_key}`,
      },
    })
  },
})

Overview of Data Stores

Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.

Connect Data Stores

1
2
3
4
5
6
7
8
9
10
11
export default defineComponent({
  props: {
    myDataStore: {
      type: "data_store",
    },
  },
  async run({ steps, $ }) {
    await this.myDataStore.set("key_here","Any serializable JSON as the value")
    return await this.myDataStore.get("key_here")
  },
})