Pipedream Utils
Utility functions to use within your Pipedream workflows
Start for freeCategory
Works with
AI Compatible
Tools
Formatting - [Date/Time] Add/Subtract Time
Add or subtract time from a given input
Helper Functions - Base64 Decode String
Accepts a base64-encoded string, returns a decoded UTF-8 string
Helper Functions - Compare Arrays Return only the translated text without explanations.
Get the difference, intersection, union, or symetric difference of two arrays/sets.
Formatting - [Date/Time] Compare Dates
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Helper Functions - Convert Currency Return only the translated text without explanations.
Convert an amount between currencies. See the documentation
Formatting - [Text] Convert HTML to Markdown
Convert valid HTML to Markdown text
Helper Functions - Convert HTML to Slack mrkdwn format
Converts an HTML string to the Slack mrkdwn format using
Formatting - [Text] Convert HTML to text
Convert valid HTML to text
Formatting - [Data] Convert JSON to String
Convert an object to a JSON format string
Formatting - [Text] Convert Markdown to HTML
Convert Markdown text to HTML
Helper Functions - Convert JavaScript Object to JSON String
Accepts a JavaScript object, returns that object converted to a JSON string
Helper Functions - CSV File To Objects
Convert a CSV file to an array of objects.
Formatting - [Date/Time] Format
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
Debug Memory Usage
Get memory usage statistics for the current Pipedream workflow.
Helper Functions - Download File To /tmp
Downloads a file to your workflow's /tmp directory
Helper Functions - Export Variables Return only the translated text without explanations.
Export variables for use in your workflow
Formatting - [Text] Extract by Regular Expression
Find a match for a regular expression pattern. Returns all matched groups with start and end position. Return only the translated text without explanations.
Formatting - [Text] Extract by Regular Expressions List (Regex)
Find matches for regular expressions. Returns all matched groups with start and end position.
Formatting - [Text] Extract Email Address
Find an email address out of a text field. Finds the first email address only.
Formatting - [Text] Extract Number
Find a number out of a text field. Finds the first number only.
Formatting - [Text] Extract Phone Number
Find a complete phone number out of a text field. Finds the first number only.
Formatting - [Text] Extract URL
Find a web URL out of a text field. Finds the first URL only.
Formatting - [Numbers] Format Currency
Format a number as a currency
Helper Functions - Format ISO8601 Date/Time for Google Sheets
Use the moment.js npm package to format an ISO8601 date/time as Google Sheets friendly formats. This action exports an object with compound date/time, date-only, and time-only values. Return only the translated text without explanations.
Formatting - [Numbers] Format Number
Format a number to a new style. Does not perform any rounding or padding of the number.
Helper Functions - Country name, given code (2-letter)
Return the country name (in English) when given the 2-letter country code Return only the translated text without explanations.
Helper Functions - Get Current Time in Timezone Return only the translated text without explanations.
Returns the current time, tied to this workflow invocation, in the target timezone
Helper Functions - Get ISO String N Days Ago
Returns an ISO string (UTC TZ) N days ago
Helper Functions - Get Time in Timezone Return only the translated text without explanations.
Given an ISO 8601 timestamp, and a timezone, convert the time to the target timezone.
Helper Functions - HTML to Markdown
Convert via turndown
Formatting - [Data] Parse JSON
Parse a JSON string
Helper Functions - Pretty Print JSON Return only the translated text without explanations.
Pretty print a JavaScript object or value Return only the translated text without explanations.
Helper Functions - Random Integer Return only the translated text without explanations.
Generate a random integer (whole number). Useful for random delays.
Helper Functions - Random Item(s) from List Return only the translated text without explanations.
Returns a randomly selected value(s) from a user-defined list of options. Return only the translated text without explanations.
Formatting - [Text] Replace Text
Replace all instances of any character, word or phrase in the text with another character, word or phrase.
Helper Functions - Retrieve all RSS Stories
Retrieve all stories from one or more RSS feeds.
Helper Functions - Retrieve New RSS Stories Return only the translated text without explanations.
Gets new stories from a specified RSS feed that have not already been processed.
Helper Functions - Pipedream Task Scheduler - Schedule Task
Schedule a task with an existing task scheduler source. See here for more details.
Helper Functions - Send email with Nodemailer
Sends an email using the nodemailer package
Helper Functions - Send to Amazon S3
Send data to Amazon S3 using Pipedream's destination integration. See https://docs.pipedream.com/destinations/s3/
Formatting - [Text] Set Default Value
Return a default value if the text is empty Return only the translated text without explanations.
Formatting - [Text] Split Text
Split the text on a character or word and return one or all segments
Formatting - [Text] Transform Case
Transform case for a text input
Helper Functions - Trigger Workflow
Trigger another Pipedream workflow in your workspace.
Formatting - [Text] Trim Whitespace
Removes leading and trailing whitespace
Formatting - [Text] Decode URL
Decode a URL string
Formatting - [Text] Encode URL
Encode a string as a URL
Helper Functions - XML to JSON
See xml-js