with Mercury and WhatsAble?
Retrieve information about a specific account. See the documentation
Sends a message to a verified WhatsApp number. See the documentation
The Mercury API offers a window into banking tailored for startups. With it, you can automate your financial operations, sync transaction data with your accounting software, and monitor your business financial health programmatically. Creating workflows on Pipedream with Mercury's API allows you to connect your banking data with numerous other apps to streamline payments, reconcile transactions, and keep a pulse on your company's money matters.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mercury: {
type: "app",
app: "mercury",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://backend.mercury.co/api/v1/accounts`,
headers: {
Authorization: `Bearer ${this.mercury.$auth.api_key}`,
},
})
},
})
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,
})
},
})