Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

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

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

Change Development Mode with the Cloudflare (API key) API

Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare's accelerated cache and slow down your site. See the docs here

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it
Change Zone's SSL Setting with the Cloudflare (API key) API

Choose the appropriate SSL setting for your zone. See the docs here

 
Try it
Create a Certificate with the Cloudflare (API key) API

Creates an Origin CA certificate. See the docs here

 
Try it
Create DNS Record with the Cloudflare (API key) API

Creates a DNS Record given its zone id

 
Try it

Overview of Cloudflare (API key)

Harness the power of Cloudflare within Pipedream's scalable platform to automate and optimize your web operations. The Cloudflare API enables you to programmatically control countless aspects of your web presence, from security settings and firewall rules to traffic and DNS management. By integrating this with Pipedream, you can create custom workflows that react to specific triggers, manipulate Cloudflare configurations on-the-fly, and connect to countless other services for a seamless automation experience.

Connect Cloudflare (API key)

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: {
    cloudflare_api_key: {
      type: "app",
      app: "cloudflare_api_key",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.cloudflare.com/client/v4/user`,
      headers: {
        "X-Auth-Key": `${this.cloudflare_api_key.$auth.API_Key}`,
        "X-Auth-Email": `${this.cloudflare_api_key.$auth.Email}`,
      },
    })
  },
})

Overview of Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}