The Google Cloud Platform, including BigQuery
Emit new Pub/Sub topic in your GCP account. Messages published to this topic are emitted from the Pipedream source.
Emit new event every time an SMS is sent to the phone number set. Configures a webhook in Twilio, tied to an incoming phone number.
Emit new events with the results of an arbitrary query
Emit new event each time a call to the phone number is completed. Configures a webhook in Twilio, tied to a phone number.
Make a phone call passing text, a URL, or an application that Twilio will use to handle the call. See the documentation
Check if user-provided token is correct. See the documentation
Inserts rows into a BigQuery table. See the docs and for an example here.
Create a verification service for sending SMS verifications. See the documentation
The Google Cloud API opens a world of possibilities for enhancing cloud operations and automating tasks. It empowers you to manage, scale, and fine-tune various services within the Google Cloud Platform (GCP) programmatically. With Pipedream, you can harness this power to create intricate workflows, trigger cloud functions based on events from other apps, manage resources, and analyze data, all in a serverless environment. The ability to interconnect GCP services with numerous other apps enriches automation, making it easier to synchronize data, streamline development workflows, and deploy applications efficiently.
module.exports = defineComponent({
props: {
google_cloud: {
type: "app",
app: "google_cloud",
}
},
async run({steps, $}) {
// Required workaround to get the @google-cloud/storage package
// working correctly on Pipedream
require("@dylburger/umask")()
const { Storage } = require('@google-cloud/storage')
const key = JSON.parse(this.google_cloud.$auth.key_json)
// Creates a client from a Google service account key.
// See https://cloud.google.com/nodejs/docs/reference/storage/1.6.x/global#ClientConfig
const storage = new Storage({
projectId: key.project_id,
credentials: {
client_email: key.client_email,
private_key: key.private_key,
}
})
// Uncomment this section and rename for your bucket before running this code
// const bucketName = 'pipedream-test-bucket';
await storage.createBucket(bucketName)
console.log(`Bucket ${bucketName} created.`)
},
})
Twilio's API on Pipedream opens up a multitude of communication capabilities, allowing you to build robust, scalable, and automated workflows. With Twilio, you can send and receive SMS and MMS messages, make voice calls, and perform other communication functions programmatically. Leveraging Pipedream's seamless integration, you can connect these communications features with hundreds of other services to automate notifications, streamline customer interactions, and enhance operational efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twilio: {
type: "app",
app: "twilio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twilio.com/2010-04-01/Accounts.json`,
auth: {
username: `${this.twilio.$auth.AccountSid}`,
password: `${this.twilio.$auth.AuthToken}`,
},
})
},
})