Voice Monkey is a free Skill that allows you to trigger Alexa Routines from external sources such as IFTTT. It also allows you to make dynamic and custom Text to Speech announcements over your Amazon Echo or other Alexa smart speaker.
This action will display an image on your device with a screen e.g. Echo Show. See docs here
Create a new document in a collection of your choice. See the docs here
This action will display a video on your device with a screen e.g. Echo Show. See docs here
This action will make an annoucement on your device using the text you supply. See docs here
The Voice Monkey API provides a bridge between Alexa and Pipedream, enabling you to send custom announcements, notifications, or commands to your Alexa devices. With this API, you can trigger Alexa to speak a custom message or execute routines, leveraging the power of voice interaction in your automated workflows. It's particularly useful for smart home enthusiasts, productivity hackers, and businesses looking to integrate voice notifications into their services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
voice_monkey: {
type: "app",
app: "voice_monkey",
}
},
async run({steps, $}) {
const data = {
"access_token": `${this.voice_monkey.$auth.access_token}`,
"secret_token": `${this.voice_monkey.$auth.secret_token}`,
"monkey": `pipedream-monkey-1`,
}
return await axios($, {
method: "post",
url: `https://api.voicemonkey.io/trigger`,
data,
})
},
})
The MongoDB API provides powerful capabilities to interact with a MongoDB database, allowing you to perform CRUD (Create, Read, Update, Delete) operations, manage databases, and execute sophisticated queries. With Pipedream, you can harness these abilities to automate tasks, sync data across various apps, and react to events in real-time. It’s a combo that’s particularly potent for managing data workflows, syncing application states, or triggering actions based on changes to your data.
import mongodb from 'mongodb'
export default defineComponent({
props: {
mongodb: {
type: "app",
app: "mongodb",
},
collection: {
type: "string"
},
filter: {
type: "object"
}
},
async run({steps, $}) {
const MongoClient = mongodb.MongoClient
const {
database,
hostname,
username,
password,
} = this.mongodb.$auth
const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, {
useNewUrlParser: true,
useUnifiedTopology: true
})
const db = client.db(database)
const results = await db.collection(this.collection).find(this.filter).toArray();
$.export('results', results);
await client.close()
},
})