with Helper Functions and Respond.io?
Accepts a base64-encoded string, returns a decoded UTF-8 string
Get the difference, intersection, union, or symetric difference of two arrays/sets.
Convert an amount between currencies. See the documentation
Converts an HTML string to the Slack mrkdwn format using
Accepts a JavaScript object, returns that object converted to a JSON string
The Helper Functions app on Pipedream is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.
The Respond.io API provides a gateway to interact with a platform designed for business messaging, allowing for automation of conversations, contact management, and message dispatch across various channels like SMS, WhatsApp, and Facebook Messenger. In Pipedream, you can construct workflows that leverage these capabilities to sync with other services, trigger actions based on received messages, or even conduct analytics over message data. This harnesses the power of serverless execution to simplify and enhance customer communication strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
respond_io: {
type: "app",
app: "respond_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.respond.io/v2/space/user`,
headers: {
Authorization: `Bearer ${this.respond_io.$auth.access_token}`,
"Content-Type": `application/json`,
},
})
},
})