Formatting

Pre-built actions to make formatting and manipulating data within your workflows easier.

Integrate the Formatting API with the Delay API

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

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
Delay Workflow with the Delay API

Delay the execution of your workflow for a specific amount of time (does not count against your compute time).

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})

Overview of Delay

The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.

Connect Delay

1
2
3
4
5
6
7
export default defineComponent({
  async run({steps, $}) {
    // Specify the amount of time to delay your workflow in milliseconds
    return $.flow.delay(5000)
  },
})