iMessage API for two-way communication
Emit new event when an alert is received via webhook. See the documentation
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
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Action to send a text in iMessage to an individual recipient. See the documentation
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,
})
},
})
The RSS app allows users to automatically fetch and parse updates from web feeds. This functionality is pivotal for staying abreast of content changes or updates from websites, blogs, and news outlets that offer RSS feeds. With Pipedream, you can harness the RSS API to trigger workflows that enable a broad range of automations, like content aggregation, monitoring for specific keywords, notifications, and data synchronization across platforms.
module.exports = defineComponent({
props: {
rss: {
type: "app",
app: "rss",
}
},
async run({steps, $}) {
// Retrieve items from a sample feed
const Parser = require('rss-parser');
const parser = new Parser();
const stories = []
// Replace with your feed URL
const url = "https://pipedream.com/community/latest.rss"
const feed = await parser.parseURL(url);
const { title, items } = feed
this.title = title
if (!items.length) {
$end("No new stories")
}
this.items = items
},
})