Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

Go to site

Integrate the Cloudflare (API key) API with the Mailgun API

Setup the Cloudflare (API key) API trigger to run a workflow which integrates with the Mailgun API. Pipedream's integration platform allows you to integrate Cloudflare (API key) and Mailgun remarkably fast. Free for developers.

Send Mail

Sends an email

 
Try it
Create DNS Record

Creates a DNS Record given its zone id

 
Try it
Purge All Files

Remove ALL files from Cloudflare's cache.

 
Try it
Purge Files By Url

Removes one or more files from Cloudflare's cache either by specifying URLs.

 
Try it
Update DNS record

Updates a DNS Record given its zone id

 
Try it

Connect Cloudflare (API key)

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.cloudflare.com/client/v4/user`,
  headers: {
    "X-Auth-Key": `${auths.cloudflare_api_key.API_Key}`,
    "X-Auth-Email": `${auths.cloudflare_api_key.Email}`,
  },
})

Connect Mailgun

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.mailgun.region && auths.mailgun.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
  auth: {
    username: `api`,
    password: `${auths.mailgun.api_key}`,
  },
})