with Wachete and Octopush SMS?
Emit new event when a Wachet receives a new notification
Creates a new monitor for a specific website or web page. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
Adds a new contact to a list in the Octopush SMS Gateway. See the documentation
Removes an existing monitor for a specific website or web page. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
Retrieves data from a monitored website or web pages. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
The Wachete API lets you track changes in web content and get notified when updates happen. This is handy for monitoring websites for new content, price changes, or availability of products, without manually checking the sites. Using Pipedream, you can integrate Wachete with other apps to automate reactions to these updates. Think about monitoring your competitors’ sites, keeping tabs on industry news, or even watching for job postings. With Wachete on Pipedream, these tasks become set-and-forget operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wachete: {
type: "app",
app: "wachete",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.wachete.com/thirdparty/v1/notification/list`,
headers: {
Authorization: `Bearer ${this.wachete.$auth.oauth_access_token}`,
"Content-type": `application/json`,
"accept": `*/*`,
},
})
},
})
The Octopush SMS API lets you programmatically send text messages, providing a powerful way to reach out to customers directly on their phones. With Pipedream, you can create workflows that trigger SMS sending via Octopush based on various events, streamlining communication processes. You could use this API to send alerts, reminders, verification codes, or marketing messages, and integrate with other apps to respond to emails, form submissions, or updates in a CRM.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octopush_sms: {
type: "app",
app: "octopush_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.octopush.com/v1/public/wallet/check-balance`,
headers: {
"Content-Type": `application/json`,
"api-login": `${this.octopush_sms.$auth.api_login}`,
"api-key": `${this.octopush_sms.$auth.api_key}`,
},
})
},
})