Communications platform as a service
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The 8x8 API enables developers to create powerful communication solutions and
seamlessly integrate them with their applications and products. With just a few
lines of code, you can make and receive phone calls, send and receive text
messages, and securely manage you users’ contact directory.
Some of the many things that can be built with the 8x8 API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wavecell: {
type: "app",
app: "wavecell",
}
},
async run({steps, $}) {
const data = {
"destination": ``,
"text": ``,
"source": ``,
}
return await axios($, {
method: "post",
url: `https://api.wavecell.com/sms/v1/${this.wavecell.$auth.subAccountId}/single`,
headers: {
Authorization: `Bearer ${this.wavecell.$auth.api_key}`,
},
data,
})
},
})
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)
}