iMessage API for two-way communication
Emit new event when an alert is received via webhook. See the documentation
Create a HTML or a plain text email template. See the docs
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
Send an email using Amazon SES. Supports simple email messaging. See the docs
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,
})
},
})
Amazon Simple Email Service (SES) is a powerful cloud-based email sending service designed to help digital marketers and application developers send marketing, notification, and transactional emails. With the SES API, you can reliably send emails at scale, manage sender reputations, view email sending statistics, and maintain a high deliverability rate. Leveraging Pipedream's capabilities, you can integrate SES seamlessly into serverless workflows, automate email responses based on triggers from other apps, and analyze the effectiveness of your email campaigns by connecting to data analytics platforms.
module.exports = defineComponent({
props: {
amazon_ses: {
type: "app",
app: "amazon_ses",
}
},
async run({steps, $}) {
const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
const ses = new AWS.SES({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
const sesParams = {
Destination: {
ToAddresses: ["<your email here>"],
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
Data: "<h1>This is a test</h1>",
},
Text: {
Charset: "UTF-8",
Data: "This is a test",
}
},
Subject: {
Charset: "UTF-8",
Data: "Test email",
}
},
Source: "<your from address here",
};
this.resp = await ses.sendEmail(sesParams).promise()
},
})