Relay.app Docs
  • Getting Started
    • Introduction
    • Helpful Resources
    • FAQ
  • Triggers
    • Triggers 101
    • Webhook Trigger
    • Mailhook Trigger
    • Manual Trigger
    • Scheduled Trigger
    • Batch Triggers
    • RSS Trigger
  • Actions in Apps
    • Actions 101
  • DATA
    • Step Outputs
    • Find Steps
    • Lists (Arrays)
    • Inspecting Run Data
  • AI
    • AI Steps
    • Human-in-the-Loop AI reviews
    • AI Credits
    • Agentic Tool Use
    • Knowledge
    • Prompt Templates
    • Prompt Tips
    • Audio Transcription
  • Built-in actions
    • Transform data
    • Search Google
    • Scrape Text from Website
    • Custom HTTP Requests
    • Run Custom Code (JS)
  • Flow Control
    • Paths
    • Iterators
    • Wait steps
    • Sequences
  • Human-in-the-Loop
    • Human-in-the-Loop Steps
    • AI output reviews
    • Roles
  • Workflows
    • Folders and Organization
    • Sharing Workflows
    • Headings
    • Notes
  • TEMPLATES
    • About Workflow Templates
    • Using a Template (Importing)
    • Creating a Template (Exporting)
  • Workspace
    • Step & AI credit usage
    • Billing and Plans
    • Workspace administration
    • (Sharing) App Accounts
  • App-Specific FAQs
    • Airtable
    • Attio
    • Cal.com
    • Coda
    • DeepSeek
    • Discord
    • Fireflies
    • Gmail
    • Google Docs
    • Google Drive
    • Google Sheets
    • Microsoft Permissions
    • Microsoft Outlook Mail
    • Notion
    • OpenAI
    • OpenPhone
    • Slack
    • X (Twitter)
    • QuickBooks Online
Powered by GitBook
On this page
  • Data Transformation examples
  • 1. Format a Date the way you need it
  • 2. Extract the (company) domain from an email address
  • 3. Add/subtract/multiply/divide numbers
  • 4. Format a number as a currency
  • 5. Convert comma-separated-values into a List
  • Full list of Data Transformations

Was this helpful?

  1. Built-in actions

Transform data

Last updated 3 months ago

Was this helpful?

Relay.app has a powerful transform data step that lets you transform your data in any way you want. This is very useful in case you need to do things such as multiplying a number, converting a number to a string, or adding a couple of days to date.

Here is a short video on how to use and configure the transform data step:

Data Transformation examples

1. Format a Date the way you need it

2. Extract the (company) domain from an email address

3. Add/subtract/multiply/divide numbers

4. Format a number as a currency

5. Convert comma-separated-values into a List

Full list of Data Transformations

Updated : 2025-02-21

Input
Transformation
Output

Text

Extract date

Date

Text

Extract time

Time

Text

Parse as Unix seconds

DateTime

Text

Parse as Unix milliseconds

DateTime

Text

Parse as duration in unit

Duration

Text

Split into list

Text

Text

Split and take

Text

Text

Extract domain

Text

Text

Parse as Email

Email

Text

Parse as URL

URL

Text

Parse as number

Number

Text

Parse as date/time

DateTime

Text

Parse as date

Date

Text

Parse as phone number

Phone

Text

Parse as Markdown

Rich Text

Text

Parse as HTML

Rich Text

Text

Prepend text

Text

Text

Append text

Text

Text

Replace text

Text

Text

Replace all

Text

Text

Pad start

Text

Text

Pad end

Text

Text

Uppercase

Text

Text

Lowercase

Text

Text

Adjust case

Text

Text

Trim

Text

Text

URL encode

Text

Text

Base64 encode

Text

Text

Base64 decode

Text

Text

Hash

Text

Text

From A to B

Text

Text

Length

Number

Rich Text

Plain text

Text

Number

Add

Number

Number

Subtract

Number

Number

Multiply by

Number

Number

Divide by

Number

Number

Modulo by

Number

Number

Raise to power

Number

Number

Logarithm

Number

Number

As text

Text

Number

As currency

Text

Number

As words

Text

Number

As ordinal

Text

Number

Absolute

Number

Number

Ceiling

Number

Number

Floor

Number

Number

Round

Number

DateTime

Add

DateTime

DateTime

Subtract

DateTime

DateTime

Add duration

DateTime

DateTime

Subtract duration

DateTime

DateTime

Time until

Duration

DateTime

Time since

Duration

DateTime

Difference to now

Duration

DateTime

Set time

DateTime

DateTime

Start of

DateTime

DateTime

Shift to time zone

DateTime

DateTime

Next working day

DateTime

DateTime

As ISO 8601 string

Text

DateTime

As text

Text

DateTime

As Unix seconds

Text

Duration

Add

Duration

Duration

Subtract

Duration

Duration

Add to date

DateTime

Duration

Subtract from date

DateTime

Duration

As ISO 8601 string

Text

Duration

As text

Text

Duration

As number

Text

List

Join list items

Text

JSON

Get value at pointer

Text

Use this powerful data transformation to split comma-separated values of text (e.g. Jane, John, Mike, Alex ) into a List that can be used with an .

Iterator
You can find the 'Transform data' step in the 'Utilities' menu
Format a date
Extract the @domain from an email address
Perform arithmetic operations on numbers
Format a number as any currency
Split comma-separated values into a List