with WATI and OANDA?
Emit new event when a contact is created from an incoming WhatsApp message.
Emit new event when there is an incoming message on your number.
Emit new event when a new open position is created or updated in an Oanda account. See the documentation
Emit new event when a new trade is opened in an Oanda account. See the documentation
Emit new event whenever a trade is executed in the user's account. See the documentation
Retrieve historical price data for a specified currency pair or instrument within a given time range. See the documentation
Enables sending of WhatsApp messages using a pre-approved template. See the documentation
The WATI API allows you to power up your customer engagement by leveraging WhatsApp messaging. With Pipedream's capabilities, you can create serverless workflows that integrate WATI to automate personalized notifications, process inbound messages, and manage contacts. This can help scale your customer service, marketing campaigns, and streamline communications with WhatsApp's wide user base.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wati: {
type: "app",
app: "wati",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.wati.$auth.api_endpoint}/api/v1/getContacts`,
headers: {
"Accept": `*/*`,
"Authorization": `${this.wati.$auth.access_token}`,
},
})
},
})
The OANDA API enables you to tap into the world of forex trading, providing real-time currency exchange rates, and the ability to automate trading strategies, manage accounts, access market data, and more. On Pipedream, you can craft workflows that capitalize on OANDA's capabilities, such as reacting to market changes, automating trades based on custom logic, and syncing forex data with other business applications for analysis and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oanda: {
type: "app",
app: "oanda",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-fxpractice.oanda.com/v3/accounts`,
headers: {
Authorization: `Bearer ${this.oanda.$auth.personal_token}`,
},
})
},
})