with DigitalOcean Spaces and LoopMessage?
Emit new event when an alert is received via webhook. See the documentation
Emit new event when a file is deleted from a DigitalOcean Spaces bucket
Emit new event when a file is uploaded to a DigitalOcean Spaces bucket
Action to submit your request to the sending queue. When a request in the queue will be ready to send a reaction in iMessage, an attempt will be made to deliver it to the recipient. See the documentation
Action to send a text in iMessage to an individual recipient. See the documentation
Upload a file to DigitalOcean Spaces. Accepts either a file URL or a path to a file in the /tmp
directory. See the docs
DigitalOcean Spaces API permits you to manage object storage, allowing for the storage and serving of massive amounts of data. This API is great for backing up, archiving, and providing public access to data or assets. On Pipedream, you can use this API to automate file operations like uploads, downloads, and deletions, as well as manage permissions and metadata. You can integrate it with other services for end-to-end workflow automation.
import { S3 } from "@aws-sdk/client-s3"; import { ListBucketsCommand } from "@aws-sdk/client-s3"; export default defineComponent({ props: { digitalocean_spaces: { type: "app", app: "digitalocean_spaces" } }, async run({ steps, $ }) { console.log(this.digitalocean_spaces.$auth) const s3Client = new S3({ forcePathStyle: false, // Configures to use subdomain/virtual calling format. endpoint: `https://${this.digitalocean_spaces.$auth.region}.digitaloceanspaces.com`, region: "us-east-1", credentials: { accessKeyId: this.digitalocean_spaces.$auth.key, secretAccessKey: this.digitalocean_spaces.$auth.secret } }); const data = await s3Client.send(new ListBucketsCommand({})); return data.Buckets; }, })
The LoopMessage API offers you the ability to send, receive, and manage messages within your applications. Through Pipedream's integration, you can harness this API to automate communication processes, organize message flows, and even connect to various data sources or other APIs to create complex messaging workflows. With Pipedream, you can trigger actions based on events, schedule messages, and interact with users in real-time without managing servers or infrastructure.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { loopmessage: { type: "app", app: "loopmessage", } }, async run({steps, $}) { const data = { "contact": `test@google.com`, } return await axios($, { method: "post", url: `https://lookup.loopmessage.com/api/v1/contact/lookup/`, headers: { "Content-Type": `application/json`, "Authorization": `${this.loopmessage.$auth.authorization_key}`, "Loop-Secret-Key": `${this.loopmessage.$auth.secret_api_key}`, }, data, }) }, })