Go

Anything you can do in Go, you can do in a Pipedream Workflow. You can use any of Go packages available with a simple import.

Integrate the Go API with the Delay API

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

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
Delay Workflow with the Delay API

Delay the execution of your workflow for a specific amount of time (does not count against your compute time).

 
Try it

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)
}

Overview of Delay

The Delay API allows you to build workflows that wait a specified amount of
time before continuing. This can be useful for rate-limiting actions, or
waiting for an external event to occur.

Here are some examples of what you can build using the Delay API:

  • A workflow that sends a Slack message after a specified amount of time
  • A workflow that checks for new data from an external API every hour
  • A workflow that backs up a file to Dropbox every day

Connect Delay

1
2
3
4
5
6
7
export default defineComponent({
  async run({steps, $}) {
    // Specify the amount of time to delay your workflow in milliseconds
    return $.flow.delay(5000)
  },
})