Helper Functions

Helper functions and functional utilities to use within your Pipedream workflows

Integrate the Helper Functions API with the Data Stores API

Setup the Helper Functions API trigger to run a workflow which integrates with the Data Stores API. Pipedream's integration platform allows you to integrate Helper Functions and Data Stores remarkably fast. Free for developers.

Base64 Decode String with the Helper Functions API

Accepts a base64-encoded string, returns a decoded UTF-8 string

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Compare Arrays with the Helper Functions API

Get the difference, intersection, union, or symetric difference of two arrays/sets.

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it
Convert Currency with the Helper Functions API

Convert an amount between currencies. See the documentation

 
Try it

Overview of Helper Functions

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.

Overview of Data Stores

Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.

Connect Data Stores

1
2
3
4
5
6
7
8
9
10
11
export default defineComponent({
  props: {
    myDataStore: {
      type: "data_store",
    },
  },
  async run({ steps, $ }) {
    await this.myDataStore.set("key_here","Any serializable JSON as the value")
    return await this.myDataStore.get("key_here")
  },
})