with Peerdom and Helper Functions?
Emit new event when a new member is added to a group. See the documentation
Emit new event when a new role is created in a circle. See the documentation
Assigns a member to a role within a circle using the Peerdom API. See the documentation
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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peerdom: {
type: "app",
app: "peerdom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.peerdom.app/v1/tenant`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.peerdom.$auth.api_key}`,
},
})
},
})
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.