What do you want to automate

with Mailgun and Grain?

Prompt, edit and deploy AI agents that connect to Mailgun, Grain and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Mailing List Member with Mailgun API on New Highlight (Instant) from Grain API
Grain + Mailgun
 
Try it
Create Mailing List Member with Mailgun API on New Highlight Removed (Instant) from Grain API
Grain + Mailgun
 
Try it
Create Mailing List Member with Mailgun API on New Highlight Updated (Instant) from Grain API
Grain + Mailgun
 
Try it
Create Mailing List Member with Mailgun API on New Recording (Instant) from Grain API
Grain + Mailgun
 
Try it
Create Mailing List Member with Mailgun API on New Recording Removed (Instant) from Grain API
Grain + Mailgun
 
Try it
New Highlight (Instant) from the Grain API

Emit new event when a highlight that matches the filter is added.

 
Try it
New Highlight Removed (Instant) from the Grain API

Emit new event when a highlight is removed.

 
Try it
New Highlight Updated (Instant) from the Grain API

Emit new event when a highlight is updated.

 
Try it
New Recording (Instant) from the Grain API

Emit new event when a recording that matches the filter is added.

 
Try it
New Recording Removed (Instant) from the Grain API

Emit new event when a recording is removed.

 
Try it
Create Mailing List Member with the Mailgun API

Add to an existing mailing list. See the docs here

 
Try it
Get Recording with the Grain API

Fetches a specific recording by its ID from Grain, optionally including the transcript and intelligence notes. See the documentation

 
Try it
Create Route with the Mailgun API

Create a new route. See the docs here

 
Try it
Delete Mailing List Member with the Mailgun API

Delete a mailing list member by address. See the docs here

 
Try it
Get Mailing List Member with the Mailgun API

Retrieve a mailing list member by address. See the docs here

 
Try it
Integrate the Mailgun API with the Grain API
Setup the Mailgun API trigger to run a workflow which integrates with the Grain API. Pipedream's integration platform allows you to integrate Mailgun and Grain remarkably fast. Free for developers.

Overview of Mailgun

The Mailgun API on Pipedream is a potent tool for automating email operations without the overhead of managing a full-fledged email server. It offers capabilities to send, receive, track, and store emails with ease. With Pipedream's serverless platform, you can trigger workflows using Mailgun events, such as inbound emails or delivery status changes, and connect them to hundreds of other services to streamline communication, marketing, and notification systems within your ecosystem.

Connect Mailgun

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: {
    mailgun: {
      type: "app",
      app: "mailgun",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.mailgun.$auth.region && this.mailgun.$auth.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
      auth: {
        username: `api`,
        password: `${this.mailgun.$auth.api_key}`,
      },
    })
  },
})

Connect Grain

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: {
    grain: {
      type: "app",
      app: "grain",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.grain.com/_/public-api/me`,
      headers: {
        Authorization: `Bearer ${this.grain.$auth.oauth_access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo