with WhatsAble and Evernote?
Sends a message to a verified WhatsApp number. See the documentation
The WhatsAble API enables automated interactions with WhatsApp, allowing you to send messages, create groups, and manage contacts programmatically. Integrating WhatsAble with Pipedream, you can craft serverless workflows that react to various triggers and perform actions on WhatsApp, like sending notifications or processing incoming messages. Pipedream's capability to connect with hundreds of apps opens up a multitude of automation possibilities, streamlining communication tasks and linking WhatsApp with your digital ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatsable: {
type: "app",
app: "whatsable",
}
},
async run({steps, $}) {
const data = {
"to": `{{your_verified_phone_number}}`, // Replace with Verified WhatsApp numbers
"text": `Hello`,
}
return await axios($, {
method: "post",
url: `https://dashboard.whatsable.app/api/whatsapp/messages/send`,
headers: {
"Authorization": `${this.whatsable.$auth.api_key}`,
},
data,
})
},
})
import { Client } from 'evernote';
export default defineComponent({
props: {
evernote: {
type: "app",
app: "evernote",
}
},
async run({ steps, $ }) {
var developerToken = this.evernote.$auth.developer_token;
var client = new Client({ token: developerToken, sandbox: false });
var noteStore = await client.getNoteStore();
return await noteStore.listNotebooks();
},
})